PHP, Adding a PHP script to a PHP file ONLINE!!?

dajerseykid

New member
Hi,

Anyone answer me this...

I have a CMS system i've built and i'm making the SQL installer, but when the SQL connects I add the PHP script used to connect to the database to the DB.php file.

BUT when it creates the file, the contents has been processed by the server.

SO it looks like this...

mysql_connect(mysql1.example.com,username,password);

INSTEAD of

mysql_connect($host,$user,$pass);

SO how can I make it add the content to DB.php WITHOUT it executing the PHP?/

Thanks everyone.
 
Back
Top