in reply to CGI Help

linuxkid:

What's it doing wrong? What does the input data look like?

...roboticus

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

Replies are listed 'Best First'.
Re^2: CGI Help
by linuxkid (Sexton) on Mar 21, 2012 at 19:11 UTC
    it will not output the list elements that i need it to, the input is id:file:title

    --linuxkid


    imrunningoutofideas.co.cc

      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.

        o'm stuck using iis to do this right now, so permissions aren't a problem

        --linuxkid


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