note 48198 added to features.file-upload

From: Date: Wed, 15 Dec 2004 07:15:11 +0000
Subject: note 48198 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-81818@lists.php.net to get a copy of this message
Hello everyone. I want to share to you that uploading will never work out of the box if you didn't set the upload_tmp_dir directive in your php.ini file in the first place. If you just compiled the source files as is and tried to upload, you're in for a big mess. I don't know the flags to pass to the configure script to tell php about the default temporary directory to place the uploaded files. In case your php upload code won't do as expected, open up the php.ini file and set the upload_tmp_dir. Then restart the Apache server and you're set. By the way, I'm using Linux Mandrake 10.1 Official and PHP 4.3.9 on Apache 2.0.49. ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48198 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48198&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48198&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81818) next »