note 32850 deleted from function.fopen by nlopess

From: Date: Sun, 15 Jun 2008 13:00:44 +0000
Subject: note 32850 deleted from function.fopen by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140468@lists.php.net to get a copy of this message
Note Submitter: ---- If you have problems with safe mode creating errors "Warning: SAFE MODE Restriction in effect. The script whose uid is.." because one of your PHP scripts created the PHP file you are now trying to run, then you can use fopen() to create these files which will then be owned by you (not the server admin). It must be done using the ftp method... >> fopen('ftp://user:pass@domain.com', >> 'w+b'); But please remember that this only creates files, I haven't found a way around setting the correct UID on folders (yet) Krang - http://www.krang.org.uk

« previous php.notes (#140468) next »