in reply to Image Gallery

First off, have a look at CGI.pm. Then I can think of several possible reasons for this, although I have never run PWS.

My best bet is that you are relying too much on special features in PWS. Hope this helps. :)

Update: Since it is most likely that both Mac OS X and the Red Hat is using Apache, I suggest you take a look here.


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

Replies are listed 'Best First'.
Re: Re: Image Gallery
by Milner99 (Initiate) on May 12, 2002 at 17:31 UTC
    This is only a small snippet of the code the shebang line is in there. The Directoy is being opened by the CGI code so the file names that I am using are the exact same as the filenames. I will look into apache help on these issue, and thanks fory your help so far people.
Re: Re: Image Gallery
by Milner99 (Initiate) on May 12, 2002 at 17:34 UTC
    This is going to be a real stupid question, but If I don't ask I will never know. What are .pm files exspecially CGI.pm? thanks in advance.
      .pm files are perl modules - essentially resuable code that you can include and use. Have a look at perlmod and perlmodlib, then head over to http://search.cpan.org and see what an insane wealth of already invented wheels you have at your disposal. Tried and true solutions to common (and uncommon) problems people often bump into.

      CGI.pm is one of those. It is what basically *everyone* uses to do dynamic HTML in perl, and it is very thouroughly tested, plus it has tons of convenience methods for you to use. You will not regret it if you start to use that instead of rolling your own.

      You should already have CGI.pm and lots of other really useful modules included with your perl - try to type perl -V on the command line, and look at the directories that are listed under the entry @INC. Look in those paths, and there they should be. For documentation on them, use perldoc which should be included too, or go to http://perldoc.com.

      Hope that helps. :)


      You have moved into a dark place.
      It is pitch black. You are likely to be eaten by a grue.