HELP - Urgently seeking answer!

Oct 6, 2004
7
0
151
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
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
sumith said:
What error you receive while you calling the above php script in the browser?
Sumith is right on the money here - call the script from the browser and see what output you get, it will probably show you what is failing!