Since the database login is in the root folder u should use
<?php
include("databaselogin.php") // since in root folder no path is req
?>
try this this must solve ur problem
u can use any folder inside public_html or there itself
U can use include function in any php file to link it
For eg
<?php
include("includes/connection.php") // includes is the folder where connection.php is located
?>
Go to your cpanel there u can see addon domain
Addon Domain means if u own a domain name you can make this ur hosting location.Addon domains makes a diff folder in ur public html directory,but if u use Parked domain it will point to default directory
Edit:
hello bracciolo22 ...
My suggestion ,WE prevent SQL injections as opposed to binary, is to use URL Encoding or Hex Encoding.
I haven't seen a complete example of stopping SQL Injections, most refer to use the mysql_real_escape_string function or param statements.
thks slacker,
But should i log into all my client pc to do so.. or can i manage it from my server
Also please mention about giving out a folder to client that semms as a storage location in client PC
( mapping)