1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP uploaded file size = 0

Discussion in 'Plesk for Linux - 8.x and Older' started by josefhr, Jul 7, 2006.

  1. josefhr

    josefhr Guest

    I am having trouble with my plesk 7.5.3. I've just created php script for upload file using HTTP POST upload. And it was work, the uploaded file copied by apache into /tmp directory then my php script moved it to the destination directory. Everything fine, no messages in error_log, and file size is below the max_file_size in php.ini. But then I realize that file size is zero. I've tried uploaded various file with various size and type, but again it was become a zero size file in my server. I've checked my /etc/php.ini file everything like it should be (php not in safe mode) and my php script works fine in another server (not running plesk). I've never faced this kind of problem before. Please, can someone help me and give some advice about this.