Computing.Net > Forums > Web Development > Image upload stoped working

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Image upload stoped working

Reply to Message Icon

Name: Richard (by RichE)
Date: October 8, 2006 at 11:35:34 Pacific
OS: Macosx
CPU/Ram: 1/1gig
Product: apple
Comment:

Hello, I have a php script that uploads a few text boxes to
a mysql database, and uploads an image to a given
directory. It worked great for a couple months, but
seemed to stop working. It will work occationally, but not
concistantly.

Here is my script I use
if ($_POST["action"] == "Load")
{
$folder = "../images/reviews/";
move_uploaded_file($_FILES["filep"]["tmp_name"] ,
"$folder".$_FILES["filep"]["name"]);
chmod("$folder".$_FILES["filep"]["name"],0644);
echo "<p align=center>File ".$_FILES["filep"]["name"]."
uploaded.<br />";

It's been working fine, but no just does not upload
anything. Can anyone think of something that would
cause it to stop working? I've searched google, but it
seems ok to me.

Any help will be apreciated.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Image upload stoped working

Image upload in PHP www.computing.net/answers/webdevel/image-upload-in-php/2912.html

Image Uploads www.computing.net/answers/webdevel/image-uploads/3740.html

how to save website user's images www.computing.net/answers/webdevel/how-to-save-website-users-images/1645.html