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