in reply to Re^2: CGI Help
in thread CGI Help

I just tried it out (on the console, as I don't have a web server set up):

$ cat .index 17:floogle.bas:frabnicratz 18:zognarf.cpp:blofulous 1:Kweznerrific:Shabtabulae $ perl 960849.pl >t.html $ cat t.html Content-Type: text/html; charset=ISO-8859-1 <html> <head> <title>Index</title> <body> <ul> <li><a href="ipage.cgi?page=17" target="mframe">frabnicratz </a></li> <li><a href="ipage.cgi?page=18" target="mframe">blofulous </a></li> <li><a href="ipage.cgi?page=1" target="mframe">Shabtabulae </a></li> <li><a href="ipage.cgi?page= " target="mframe"></a></li> </ul> </body> </html>

It looks reasonable, and when I open t.html in a browser, it looks like I would expect to see. Perhaps you've got incorrect permission settings on .index, and the file open is failing? You should always check the results of your file opens and verify that they work.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^4: CGI Help
by linuxkid (Sexton) on Mar 21, 2012 at 19:18 UTC
    o'm stuck using iis to do this right now, so permissions aren't a problem

    --linuxkid


    imrunningoutofideas.co.cc

      File permissions can be a problem in IIS, as well. ;^)

      ...roboticus

      Evil cacls are heard in the distance...

      A reply falls below the community's threshold of quality. You may see it by logging in.