I need to make a php script that can write to a file on the server.
this file would need to be formulated like so:
Does anyone have a hint on how to do so? (the "endlines" are important)
Basically I need the PHP script to write another PHP file that will be included elsewhere.
this file would need to be formulated like so:
Code:
<?php $mso="010000000000|1|Home|pic|articles/news_page.php?menustr=010000000000| 020000000000|1|About|pic|articles/article_page.php?article=g1&menustr=020000000000| 030000000000|1|FAQ|pic|articles/article_page.php?article=g7&menustr=030000000000| 035000000000|1|Search|pic|search/search.php?menustr=035000000000| . . . 150000000000|1|Submit|pic|articles/article_page.php?article=g94&menustr=100000000000| 160000000000|1|Links|pic|articles/article_page.php?article=g93&menustr=160000000000|"; ?>
Basically I need the PHP script to write another PHP file that will be included elsewhere.
Comment