Feb 26, 2001, 11:44 AM
Post #2 of 9
I'm assuming you're running a Unix/Linux system with Apache, not uploading to an ISP.
I suspect it's a matter of the permissions of the user running the process. Add a sleep(20) to the script, then look at the processes (ps -aux). The sleep just keeps the process running long enough for you to see who owns it. Running the script via Browser should run under user "nobody", who may not have permission to set world writable permissions.
This is just a guess, and it's been a while since I've booted into Linux so I could be way off.
PS what is die $! printing?
>> If you can't control it, improve it, correlate it or disseminate it with PERL, it doesn't exist!