in reply to Image Gallery

This may sound silly but another thing to look at is Apache is case sensitive, but PWS is not. Migrating from PWS to a normal web server means if you have things like photo.JPG (the way photoshop likes to name things) or Photo.jpg, a hit on photo.jpg will suffice on the former, but not the latter.

What is readdir coming back with? Does the NIX / Win32 output match? By "doesn't display the images" do you mean that they show up as broken?

    --jb

Replies are listed 'Best First'.
Re: Re: Image Gallery
by Milner99 (Initiate) on May 12, 2002 at 17:39 UTC
      Your readdir is failing. The first line needs to do something if it's going to be effective. You have it has:
      opendir BUFFER, "images/" or "Serious Headache! $!";
      But you probably want to do:
      opendir BUFFER, "images/" or print "Serious Headache! $!";
      You can also make it a fatal error by using die "Serious Headache! $!" and use CGI::Carp(fatalsToBrowser).. Hope that helps. Also, you know what they say, while in Rome, make sure you have read and executable permissions on the Romans.

          --jb