Welcome Guest, Not a member yet? Register   Sign In
[Updated!] Cpanel library (Supports email & Cron)
#10

[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 Sad

EDIT: I'm going to totally re-write the whole thing to use the xml interface - thank you for pointing that out to me!


Messages In This Thread
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 10-02-2009, 08:22 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 10-21-2009, 05:18 PM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 10-22-2009, 06:00 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 10-22-2009, 08:16 PM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-29-2009, 01:58 PM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-29-2009, 01:58 PM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-29-2009, 10:07 PM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 05:17 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 06:19 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 06:24 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 06:30 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 06:42 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 11-30-2009, 06:49 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 12-01-2009, 05:51 AM
[Updated!] Cpanel library (Supports email & Cron) - by El Forum - 08-04-2011, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB