Cpanel/WHM FAQs

Home | Webstats | Frontpage | Disk Quota | FTP Problems | MySql | Exim Notes | Basic Commands | TCP Wrappers | Kernel Compilation| Nagios| Harddisk Restoration| Cpanel Scripts| IPTables
Search Query

RSS site feed|Webmaster Stuff|International Calling Cards|Linux Recovery|Server Recovery|Hard Drive Recovery|Raid Recovery

PHP

Sample php script to send email.
$to = "ssrulz1@yahoo.com";
$from_header = "From: test";
$contents = "hello";
$subject = "testing";
if($contents != "")
{
//send mail - $subject & $contents come from surfer input
mail($to, $subject, $contents, $from_header);
// redirect back to url visitor came from
header("Location: $HTTP_REFERER");
}
else
{
print("Error, no comments were submitted!");
print("");
}
?>

When you want to redirect the browser using the header function in php, use the following syntax:

header("Location: http://www.php-scripts.com/thankyou.html");


Can I see a demo of Cpanel and WHM?

Yes, click here if you like to see a Cpanel Demo and click here if you like to see a demo of WHM. A pop up window will appear asking for username and password. Enter the username and password as cpdemo and cpdemo respectively.


How to install Cpanel

1)Verify whether license is valid by giving main shared ip to the url http://verify.cpanel.net/index.cgi
2)If it is valid please go through the url http://www.cpanel.net/install.html

STEPS TO INSTALL CPANEL

mkdir /home/cpanel
cd /home/cpanel
wget http://layer1.cpanel.net/latest
sh latest

Please send comments on these web pages to sumith at sumith.net

copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Sumith Sreedhar
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.


Valid HTML 4.01!