Re: Create .php file with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux