Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
Hi! system(), exec(), popen() and similar has been disabled in the system I'm working on, if that's what you're talking about. :( I can't read the temp file because it's created in PHP's UID which is not the same as the script's. I also tried the FTP approach, but apparently the files written

Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
SOLVED! Setting TMPDIR="site-specific-upload-directory" at execution time of the PHP parser, made it work. The directory must have a+rwx though! -- -- Intent A/S Tais M. Hansen Web Developer ""[Intent A/S] Tais M. Hansen"" [EMAIL PROTECTED] wrote in message 9abu1j$99q$[EMAIL

[PHP] File upload via HTML forms

2001-04-02 Thread \[Intent A/S\] Tais M. Hansen
Hi! I'm currently working with a site on a safe mode enabled server. First off, there's no way safe mode can be disabled. Now, I need to be able to upload a file via a HTML form post, read and copy this file to a different location. But when the file is uploaded, it is placed in a tmp dir with

RE: [PHP] File upload via HTML forms

2001-04-02 Thread John Almberg
Howdy, You should be able to read this file using the file system functions. The PHP process (if it is set up properly) should have read access to this directory. The problem you will have is *writing* it to your own directory, as the PHP process probably *doesn't* have write access to your