Re: [PHP] Create .php file with php

2007-06-26 Thread Marius Toma

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.php



[PHP] Create .php file with php

2007-06-25 Thread Marius Toma
I can not create .php files from PHP. I can save them as *.php5, *.php3, 
asp, *.txt , etc... but not as .php. I tried both touch and fopen but

none of them worked.

I'm running PHP 5.1.6 on Apache 2, safe_mode is off

Is this a security measure somewhere? How can I bypass it?

Thank you,
Marius

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php