Hi,
I am trying to use a php script to add database and username etc via php as follows;
$url1 =
"http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/adddb.html?db=shop";
fopen($url1, "r");
$url2 = "http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/adduser.html?user=admin&pass=".$dbpass;
fopen($url2, "r");
$url3 = "http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/addusertodb.html?user=$dbuser&db=$dbname&ALL=ALL";
fopen($url3, "r");
It did work until my techie decided to change something and now it will not work.
Can someone point me in the right direction to set this back so it will work.
I have full root access to the server.
Thanks
Daren
I am trying to use a php script to add database and username etc via php as follows;
$url1 =
"http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/adddb.html?db=shop";
fopen($url1, "r");
$url2 = "http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/adduser.html?user=admin&pass=".$dbpass;
fopen($url2, "r");
$url3 = "http://".$user.":".$pass."@".$site.":2082/frontend/x/sql/addusertodb.html?user=$dbuser&db=$dbname&ALL=ALL";
fopen($url3, "r");
It did work until my techie decided to change something and now it will not work.
Can someone point me in the right direction to set this back so it will work.
I have full root access to the server.
Thanks
Daren