Re: Create .php file with php
| From: | Daniel Brown | Date: | Tue, 26 Jun 2007 16:49:32 +0000 |
| Subject: | Re: Create .php file with php | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257796@lists.php.net to get a copy of this message | ||
On 6/26/07, Daniel Brown <parasane@gmail.com> wrote:
On 6/26/07, Marius Toma <marius@pro-websolutions.com> wrote: I can not believe how stupid I can be sometime. I was trying to create a file, but a file with the same name already existed on the server - and I did not have the write permission to it, so from here I got the error message saying that I can not create the file :( Thank for your time, Marius -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpIf you absolutely *must* create PHP files on-the-fly, and only need them for a one-off thing, put them in a specific directory that only the web server has access to read, write, and execute, and then delete the files immediately after you've used them as needed. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107If you absolutely *must* create PHP files on-the-fly, and onlyneed them for a one-off thing, put them in a specific directory that only the web server has access to read, write, and execute, and then delete the files immediately after you've used them as needed. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107