codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  move_uploaded_file not moving an uploaded file  gmedia at 23:22 on Tuesday, June 24, 2008
 

I have a simple upload script that does not seem to work on one site, but not another. THis is a MS200X server. It fails at the move_uploaded_file function. I am wondering if anyone had this issue, and what they did to resolve it.

THe permission on the server have been checked and are ok. I can FTP into the site and upload files. It is just the move_upload_file does not work.

  Re: move_uploaded_file not moving an uploaded file  blee003 at 03:54 on Saturday, January 10, 2009
 

If filename is not a valid upload file, then no action will occur, and move_uploaded_file() will return FALSE.

If filename is a valid upload file, but cannot be moved for some reason, no action will occur, and move_uploaded_file() will return FALSE. Additionally, a warning will be issued.


What's your php code look like? What's your logs say? And how about your .ini files on the servers...are they different?








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009