Imaulle Posted December 30, 2010 Share Posted December 30, 2010 Hello, I created a PHP script that creates a database, user, and then adds the user to the database. it had been working perfectly for the past year, and then out of no where last night, it stopped working simultaneously on 20 different servers.. cPanel has not changed or anything, unless it was auto-updated without my knowledge... the first 2 lines work, however the last line does not $b = file_get_contents("https://".$username.":".$password."@localhost:2083/frontend/x3/sql/addb.html?db=database"); $b = file_get_contents("https://".$username.":".$password."@localhost:2083/frontend/x3/sql/adduser.html?user=username&pass=password"); $b = file_get_contents("https://".$username.":".$password."@localhost:2083/frontend/x3/sql/addusertodb.html?user=username&db=database&ALL=ALL"); any thoughts? Quote Link to comment https://forums.phpfreaks.com/topic/222988-phpcpanel-script/ Share on other sites More sharing options...
trq Posted December 30, 2010 Share Posted December 30, 2010 Doesn't look like any php issue to me. Quote Link to comment https://forums.phpfreaks.com/topic/222988-phpcpanel-script/#findComment-1152933 Share on other sites More sharing options...
Imaulle Posted December 30, 2010 Author Share Posted December 30, 2010 okay figured it out, for some reason cPanel now requires the full user and db i.e. username_dbname instead of just dbname Quote Link to comment https://forums.phpfreaks.com/topic/222988-phpcpanel-script/#findComment-1152939 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.