[PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Ben Edwards

[Sorry if this is a re-post but I have been having some email problems and 
cant find original in the archive]

I have a PHP application that is working fine on my Windows 98 system but 
when I try it on my Windows 2000 setup (which has recently had PHP/MySQL 
installed) there is a problem.  When I post from a form with a Browse/File 
field when I check to see if the temp file exists it douse not.  This check 
is being done in the page being posted to. The strange thing is that the 
file the varable is set to is something like E:\WINNT\TEMP\phpD4.tmp and I 
thought PHP used tmp (E:\tmp is where the session data is held).

Any idea what is wrong.

Regards,
Ben

**
* Ben Edwards+44 (0)7970 269 522 *
* Homepagehttp://www.gifford.co.uk/~bedwards *
* i-Contact Progressive Videohttp://www.videonetwork.org *
* Smashing the Corporate image http://www.subvertise.org *
* Bristol's radical newshttp://www.bristle.co.uk *
* PGP : F0CA 42B8 D56F 28AD 169B  49F3 3056 C6DB 8538 EEF8   *
**


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Zeev Suraski

Check the value of the upload_tmp_dir php.ini entry.  That's the dir that 
PHP would use for storing uploaded files.  It can be the same as 
session.save_path, but it doesn't have to be...

If it's not set, PHP would use the system-defined TEMP directory, which is 
E:\WINNT\TEMP on your system (apparently).

Zeev

At 13:33 29/12/2001, Ben Edwards wrote:
[Sorry if this is a re-post but I have been having some email problems and 
cant find original in the archive]

I have a PHP application that is working fine on my Windows 98 system but 
when I try it on my Windows 2000 setup (which has recently had PHP/MySQL 
installed) there is a problem.  When I post from a form with a Browse/File 
field when I check to see if the temp file exists it douse not.  This 
check is being done in the page being posted to. The strange thing is that 
the file the varable is set to is something like E:\WINNT\TEMP\phpD4.tmp 
and I thought PHP used tmp (E:\tmp is where the session data is held).

Any idea what is wrong.

Regards,
Ben

**
* Ben Edwards+44 (0)7970 269 522 *
* Homepagehttp://www.gifford.co.uk/~bedwards *
* i-Contact Progressive Videohttp://www.videonetwork.org *
* Smashing the Corporate image http://www.subvertise.org *
* Bristol's radical newshttp://www.bristle.co.uk *
* PGP : F0CA 42B8 D56F 28AD 169B  49F3 3056 C6DB 8538 EEF8   *
**


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]