Jump to content

Yohan

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Yohan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks man ! I tried this but still the file size thats been uploaded is 0. So basically there is nothing that get uploaded. How strange, isnt this supposed to be a very simple process ? Please advice as I am stuck and have no clue as to what may be wrong. Cheers Yohan
  2. I have setup PHP on my Windows 2000 Box and tried a simple Form upload using the following html code <form action="Backend.php" method="post" enctype="multipart/form-data">   <input name="Upload_File" type="file">   <input type="submit" name="Submit" value="Submit"> </form> The HTML files calls Backend.php file and here is what it does, $uploaddir = 'c:\php\uploadtemp\IR'; $uploadfile = $uploaddir . basename($_FILES['Upload_File']['name']); move_uploaded_file($_FILES['Upload_File']['tmp_name'], $uploaddir); // Move the Uploaded file to the Incomming Folder Basically, take the incomming file from the form upload and move it to a particular location. For some reason this does not work. I dont know if Im missing anything from the php.ini file. Can someone pls help me out ? Cheers Yohan
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.