Chris schrieb:

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.

Hallo,
please show in the php.net site the Method is

bool move_uploaded_file  ( string $filename  , string $destination  )

String filename and destination are not right...

Carlos Medina

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

Reply via email to