- file_get_contents: documentation ( source)
<?php
//exampledot.com for domain
$cpuser = 'misteduph';////////////e.g. exampled, your cPanel main domain usually
$cppass = 'M.I.S.T.2009';/////Your cPanel password.
$cpdomain = 'mist.edu.ph';////The cPanel domain
$cpskin = 'XPressia';////////////listed on cPanel as 'theme'
$emailname = 'jericreyjose';/////////////The username, e.g. john1@exampledot.com
$emaildomain = 'msit.edu.ph';////The domain name in email, @exampledot.com
$emailpass = 'jericreyjose';////The password for the email account
$quota = '0';///////////////////Megabytes of space, 0 for unlimited
$homepage = file_get_contents("https://$cpuser:$cppass@$cpdomain:8443/frontend/$cpskin/mail/doaddpop.html?email=$emailname&domain=$emaildomain&password=$emailpass"a=$quota");
echo $homepage;
?>