Re: [PHP] Newbie: how to upload files in safe mode?

2001-07-11 Thread Arto Hiltunen
I asked the ISP if I could do that, but they said: nope... Life is hard (and then you die). AH "Adrian Murphy" <[EMAIL PROTECTED]> wrote in message 003101c109f5$4b6f2fe0$02646464@ade">news:003101c109f5$4b6f2fe0$02646464@ade... > I'm afraid you'll have to run your upload script as a cgi. > try a

Re: [PHP] Newbie: how to upload files in safe mode?

2001-07-11 Thread Adrian Murphy
I'm afraid you'll have to run your upload script as a cgi. try adding this to the top of your page: #!/usr/bin/php you'll probably have to change the file extention to .cgi and put the script in your cgi-bin (not sure about that). you should change ISP ,unless it's a free one you're using. --

[PHP] Newbie: how to upload files in safe mode?

2001-07-11 Thread Arto Hiltunen
Hello! My ISP is running PHP 4.0.1pl2 and it is set in safe mode. I want to have a form to upload images from any browser, but the safe mode restrictions seems to deny this. I have tried many different scripts, but no luck so far. PS. I checked the configuration with phpinfo() and here is the li