[Updated!] Cpanel library (Supports email & Cron) |
[eluser]PromaneX[/eluser]
[quote author="Phil Sturgeon" date="1259605175"]As useful as this is, I am concerned about my server sending out the cPanel in plain text. You should make a note on there that the host should only ever be set to localhost, as if you use this to admin other servers you are prone to attack by packet sniffers. Btw, the function http_build_query() will help make your code a little cleaner. And $this->CI->cpanel->get_cron() can just be $this->get_cron(); :-) For people interested in what could be added to this library, take a look here.[/quote] Thank you for the pointers. I could update it to use curl and ssl - that should solve the security issues for those that have curl available to them. I will clean up the code too, i know its a bit of a mess right now EDIT: I'm going to totally re-write the whole thing to use the xml interface - thank you for pointing that out to me! |
Welcome Guest, Not a member yet? Register Sign In |