Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] Glob & "child exited with status 1"

Expand Messages
  • merlyn@stonehenge.com
    ... Gordon $pa= /www/g/gorstew/cgi-bin/groups/$group/messages/*.txt ; Gordon @ary = glob($pa); Gordon which works perfectly well... Gordon - But the rest
    Message 1 of 2 , Oct 29, 2003
      >>>>> "Gordon" == Gordon Stewart <gordon52@...> writes:

      Gordon> $pa="/www/g/gorstew/cgi-bin/groups/$group/messages/*.txt";
      Gordon> @ary = glob($pa);

      Gordon> which works perfectly well...

      Gordon> - But the rest of the script continues as it should (however there is no
      Gordon> info being gathered by the glob - so the resulting output is wrong)
      Gordon> but the script doesnt halt / stop in any way...

      Perhaps you didn't consider that the CGI script doesn't run as you,
      but as the web user. Does the web user have access to all the same
      directories that you do?


      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.