php to dynamically create new php file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dsdsdsdsd
Forum Commoner
Posts: 60
Joined: Fri Dec 05, 2003 3:10 pm

php to dynamically create new php file

Post by dsdsdsdsd »

hello;
I have a Macromedia .swf file that will send var1 = "new_text" to variable_processor.php;

my goal is:
1) to have variable_processor.php (which contains $var1 = "old_text") append "old_text" . "new_text" and
2) create variable_processED.php which will contain $var1 = "concat_text";

my question is in regards to goal2: having a .php dynamically create another .php;

thanks
dsdsdsdsd
Asheville NC
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

[php_man]fopen[/php_man]
[php_man]fwrite[/php_man]
Post Reply