Raised This Month: $ Target: $400
 0% 

Adding a db in cpanel using php


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jasonbourne
Senior Member
Join Date: Nov 2011
Location: Sydney , AUS
Old 08-17-2012 , 10:54   Adding a db in cpanel using php
Reply With Quote #1

Hello,

Adding a db the traditional php way leads to the db not being mapped to the correct user

The cpanel docs say to use this url in your php script

http://$cpanel_user:$cpanel_password@$cpanel_host:20 82/frontend/$cpanel_skin/sql/adddb.html?db=$db_name

only problem is that when i manually test that url with my details it takes me to teh login screen for cpanel

if i am already logged in -> it will create the db

any ideas as to why this isnt working ?
Jasonbourne is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode