I have a cpanel account. I wa开发者_JS百科nts to add a subdomain having ip (it points to another server) with the help of php script.
does any one have any idea?
Well first you should grab the XML-Api wrapper for php - it makes things a lot easier.
Then check the api reference for the methods you'll need.
http://docs.cpanel.net is the official documentation for the cpanel api. Unfortunately, it really is hard to get around, at least for me it was.
You will need to read up on the api yourself though since I know of no implementation of your issue.
精彩评论