Re: file uploads with safe_mode [could be FAQ]

From: Date: Thu, 05 Apr 2001 01:34:29 +0000
Subject: Re: file uploads with safe_mode [could be FAQ]
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2689@lists.php.net to get a copy of this message
You can download a current snapshot of 4.0.5 from http://snaps.php.net And no, the /tmp comment is bogus. In safe mode PHP checks the ownership of the file, not the permissions on it. -Rasmus On Wed, 4 Apr 2001, Ron Brogden wrote: > At 06:13 PM 4/4/2001 -0700, you wrote: > >As of 4.0.5 you can use move_uploaded_file() in safe mode to get the > >uploaded file. > > Any idea when 4.0.5 will be available? Also, this still leaves the > question of "does ./tmp work for upload_tmp_dir" unanswered. The fore > mentioned comment in the annotated manual will be leading lotsa folks > astray if it is in fact incorrect. > > http://www.php.net/manual/en/features.file-upload.php > > >>>>> > flec@flec.co.uk > 24-Oct-2000 09:48 > [snip] > Solution: Set upload_tmp_dir in your php.ini file/Apache config, to be > "./tmp/". > <<<<< > > Thanks for the quick response! > > Ron > > ----------------------------------------------------------------------------- > Island Net AMT Solutions Group Inc. Telephone: 250 383-0096 > 1412 Quadra Toll Free: 1 800 331-3055 > Victoria, B.C. Fax: 250 383-6698 > V8W 2L1 E-Mail: support@islandnet.com > Canada WWW: > http://www.islandnet.com/ > ----------------------------------------------------------------------------- > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#2689) next »