Hello,

most of you know that php is using
Code: 
$link = mysql_connect('localhost', $mysql_user, $mysql_pass);
to connect to mysql databases.

I want to do something like replacing those data after they are executed (I mean after variables getting replaced with real values) I want to change the real values.

to be more specific I want to change the $mysql_user after it gets replaced by variable value.

or forcing a php script to use 1 user and only 1 user with script(s) and drop the above mentioned variables

may be its not possible but was just wondering if anyone has an idea about that.

and please understand I don't know a lot in php and I didn't used google yet so don't judge me for a noob question

Highest Regards
Mohammed H
XSLTel Reviewed by XSLTel on . replacing mysql $link supplied data, a question? Hello, most of you know that php is using $link = mysql_connect('localhost', $mysql_user, $mysql_pass); to connect to mysql databases. I want to do something like replacing those data after they are executed (I mean after variables getting replaced with real values) I want to change the real values. to be more specific I want to change the $mysql_user after it gets replaced by variable value. Rating: 5