On Mon, June 25, 2007 7:13 pm, Marius Toma wrote: > 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? There is nothing whatsoever in PHP nor Apache to stop you from writing files whose names happen to end in .php Whatever else you did differently for the .php files is what messed you up, not the filenames. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php