Page 1 of 1

Creating php file

Posted: Wed Apr 08, 2009 5:38 am
by Arsench2000
Hello,

Anyone have an example of how to create a php file (with php code) and write there a configuration data for example.

Create a db.php

After creating write there

$host="localhost";

Thanks in advance

Re: Creating php file

Posted: Thu Apr 09, 2009 7:53 am
by jaoudestudios
Just use the php function file_put_contents