includes folder
Posted: Tue Mar 13, 2007 6:15 pm
Hello all
in my php web, I have
And then in the index.php file, I have
All of this is correct? Can someone see the username and password that I declare in database.inc file ????
Many thanks
sho
in my php web, I have
Code: Select all
htdocs
index.php
...
includes
database.inc (in this file, I have variable for database name, username, password)
...Code: Select all
<?php
include ('../includes/database.inc');
$from_url = $_SERVER["HTTP_HOST"].$_SERVER['REQUEST_URI'];
....
....
?>Many thanks
sho