To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Upgrading PHP

Upgrading PHP Issues concerning PHP version upgrades and future releases

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-02-2004, 09:21 PM   #1
yelvington
Senior Member
 
Join Date: Dec 2000
Location: USA
Posts: 1,012
File uploads not uploading

I first noticed this problem with Gallery and confirmed it with test code. My recent PHP5 upgrade isn't handling file uploads. With a standard HTML file upload widget, nothing shows up in /tmp, and the $_FILES[] array is not populated.

According to php.ini and phpinfo(), file uploads are enabled.

Anybody seen this happen?

When I use Gallery Remote, the /tmp directory gets the file, but Gallery reports no filename.

System is Apache 2.0.50, PHP5, Linux.
yelvington is offline   Reply With Quote
Old 08-02-2004, 09:52 PM   #2
yelvington
Senior Member
 
Join Date: Dec 2000
Location: USA
Posts: 1,012
Fix: PHP5 is not defaulting to the system temporary directory, as did previous versions of PHP. Forcing the setting in php.ini fixed the problem.


upload_tmp_dir = /tmp
yelvington is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:27 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.