From a php script, I need to log into cPanel and run Fantastico De Luxe to install WordPress. Anyone know how to do this? Doesn't look like Fantastico comes with an API.
+1
A:
You could use php curl and emulate a browser calling it, call the cPanel url, parse the responses and then POST/GET the corresponding login data to it, then retrieve the Wordpress install page using the session info that must have been returned in the login call etc. (?) Though, as Matthew pointed out, it would be easier to just use Fantastico directly.
Or you could even have the Wordpress install code and run the install yourself instead of relying on Fantastico and adding layers in between.
Thiyagaraj
2009-09-03 05:16:01