For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > July 2007 > Re: [PHP-DB] cPanel db Creator script









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] cPanel db Creator script
Chris

2007-07-22, 9:58 pm

Paul Smith wrote:
> I hope I am doing this write as this is the first time I've sent a message to a mailing list!
>
> I have a php script that uses cPanel to create a database. It requires the cURL to be installed and my webhost has confirmed to me that it is installed.
>
> I have not been able to get the script to work and so emailed my webhost for help. Their reply was "You may need to configure your script to use PHP's built-in cURL function in order to get this to work instead of the CLI cURL."


See the examples on this page:

http://php.net/curl

You might need to set the 'CURLOPT_PROXYAUTH' options to handle the
cpanel login window:

http://www.php.net/manual/en/function.curl-setopt.php

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com