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
Creating php file
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Creating php file
Just use the php function file_put_contents