Forum Moderators: coopster

Message Too Old, No Replies

PHP 5 Windows File Upload

php file upload, upload_tmp_dir

         

vertronics

8:36 pm on Aug 3, 2007 (gmt 0)

10+ Year Member



Greetings,
I need to define a loaction for file for uploads. I am using Win server 2003 PHP 5.

I have edited my php.ini to define a location for uploads.
upload_tmp_dir=/somedir/somesubdir/

I restarted my server and I still get no value for upload_tmp_dir.

Any ideas what's wrong?

Thanks in advance,
vertronics

RonPK

7:51 pm on Aug 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Windows prefers backslashes. Maybe you'll need to include the drive letter.

vertronics

9:16 pm on Aug 7, 2007 (gmt 0)

10+ Year Member



RonPK
Thanks for the reply. It was a user error. The line by default is commented out. Once I removed the comment and restarted the web it worked. Thanks for your help.

vertronics