Thank you for your replys.

In php.ini  upload_tmp_dir is not set, so that the system should use its 
default tmp folder.

It used to work properly. But, after a system update from centos5.3 to 
centos5.4 this malfunction is now observed.

Any idea?

Kind regards

Ali

 
  ----- Original Message ----- 
  From: Eric Lee 
  To: Ali Reza Sajedi 
  Cc: phpList list 
  Sent: Saturday, January 30, 2010 1:21 PM
  Subject: Re: [PHP] File Upload





  On Sat, Jan 30, 2010 at 7:27 PM, Ali Reza Sajedi <arsaj...@khanehjou.com> 
wrote:

    Hello,

    When uploading a file the variable $_FILES['userfile']['tmp_name'] is not 
set and when debugging I get the following error although /tmp folder exists 
and the permissions are set to 777:

    $_FILES['userfile']['error'] = 6

    which says

    UPLOAD_ERR_NO_TMP_DIR
    Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 
5.0.3.

    Has anyone encountered such a problem or has a clue as to what the cause 
could be?



  It might be the upload_tmp_dir no pointing to the right dir !
  What is the current of it ?



  Regards,
  Eric,




    Thank you.

    Kind regards

    Ali 

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



Reply via email to