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 | |
by roboticus (Chancellor) on Mar 21, 2012 at 19:20 UTC | |
|