15, October 2008

After a long time try and reeding this forum, foto_Upload don't work! - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: After a long time try and reeding this forum, foto_Upload don't work!
« previous next »
Pages: [1] Print

Author Topic: After a long time try and reeding this forum, foto_Upload don't work!  (Read 925 times)
What a dork
*
Posts: 15
112 credits
Members referred : 0


« on: Oct 02, 2006, 02:26:46 AM »

Oh please don't laugh on me, but i have not any success using foto_upload php!

i can just upload the pics, smaller than $x_max_size & $y_max_size
but it dosen't work for a picture, equal or biger than $x_max_size & $y_max_size values.
oh, after i press on upload button, i receive a message: File: Blue hills.jpg successfully uploaded!
Processed foto: Blue_hills.jpg!

But there is no file uploaded...!!!

i have checked for both GD and image majick and i have had no success.
(while both are installed on the Linux server).

one more thing:
when i open the foto_upload.php, i always have the following warning on top of the page:
Warning: set_time_limit(): Cannot set time limit in safe mode in /public_html/foto_upload.php on line 5


Also, when i put "var $use_image_magick = false;"
i get the following 4 warnings on top of the page for uploading a picture bigger than x_max_size & y_max_size:
Warning: imagejpeg(): Unable to access /public_html/test_files/photo/Blue_hills.jpg in /public_html/foto_upload.php on line 105

Warning: imagejpeg(): Invalid filename /public_html/test_files/photo/Blue_hills.jpg' in /public_html/foto_upload.php on line 105

Warning: imagejpeg(): Unable to access /public_html/test_files/thumb/Blue_hills.jpg in /public_html/foto_upload.php on line 105

Warning: imagejpeg(): Invalid filename /public_html/test_files/thumb/Blue_hills.jpg' in /public_html/foto_upload.php on line 105


in the link below, you can see a PHP.Info, completely as the same as the thing i have on my own Linux server.
http://www.tartanspace.com/phpinfo.php Visit through proxy

i should say, i have read the forum and i have tested other ulternates.
for example i have tested the different values for CHMOD, as like as 0666, 0644, 0777 but there was not any success.

Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6357
38966 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 02, 2006, 09:49:36 AM »

Its all about you host, I think the script is working on your loacal host right?

check here what functions are disabled in safe mode:
http://nl2.php.net/manual/en/features.safe-mode.functions.php Visit through proxy

you see that chmod is disabled too, I think the upload file don't need a chmod change but then the hosting must be perfect configured.

of course you can use another hours for testing but maybe is a better hosting the answer...


Last blog : Upload images for usage in TinyMCE
What a dork
*
Posts: 15
112 credits
Members referred : 0


« Reply #2 on: Oct 02, 2006, 12:31:20 PM »

thanks for your reply.
i'll contact to the host!
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=4313
Tags : php forums php safemode hosting linux Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: After a long time try and reeding this forum, foto_Upload don't work!
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Oct 15, 2008, 10:08:46 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!





Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.