note
tye
<p>
Better method:
<code>$|= 1;
print join( ":", (stat("/"))[0,1] ), $/;
</code>
and compare these values between when run from the command line vs. when run as a web script. If they are different, then "/" is different in the two environment because one (probably the web server) is [chroot]ed as a security measure.
</p><p>
If this is the problem, then you'll have to copy the file to someplace under the web server's virtual root.
</p><p>
BTW, <code>`ls -ali /`</code> is probably more what the original suggestion should have been.
</p>
-
<a href="/index.pl?node=tye&lastnode_id=1072">tye</a>
(but my friends call me "Tye")
88571
88585