Re: Re: move_uploaded_file() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




if($_FILES['file']['name'] && $_FILES['file']['size']<550000){
						
						$file_name = "news_".$_FILES['file']['name'];
						$image="../_img/news/".$file_name;	
						//Upload file
						move_uploaded_file($_FILES['file']['tmp_name'], $image);

error_reporting(E_ALL);
ini_set('display_errors', true);

what does it show?

does it get this far in the code? Add an error_log or echo "line is " . __LINE__ or something so you know for certain this is the problem.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux