Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SQL_TYPE=mysql
- HOST=localhost
- USER=incognito
- PASS=topsecret
- DATABASE=mycooldb
- $defines = parse_ini_file('defines.ini');
- foreach($defines as $field=>$data)
- define($field, $data);
- die('host = '.HOST) // gives HOST
- die('host = '.HOST) // gives localhost - as it should
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement