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

Image upload stoped working

Reply to Message Icon

Original Message
Name: Richard (by RichE)
Date: October 8, 2006 at 11:35:34 Pacific
Subject: Image upload stoped working
OS: Macosx
CPU/Ram: 1/1gig
Model/Manufacturer: 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.


Report Offensive Message For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Image upload stoped working

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software