Here’s a little script that would be ideal for those who want to get into the world of website hosting. The script below is great for hosting administrators who only have one server to deal with when it comes to hosting clients.
This script will allow all cPanel account holders to access cPanel. There’s one catch thought, this script will only work if it’s on the same client server.
<?php if ($_GET['cfailed'] == "1") { ?> <p align="left"><font color=#ff0000><strong>Your login attempt failed!</strong></font></p> <?php } print "<form action=\"https://" . $_SERVER['HTTP_HOST'] . ":2083/login/\" method=\"post\"/>"; ?> <img src="http://www.website.com/images/lock.jpg" align="right" title="Lock" border="0" alt="" /><strong>Username: </strong> <br /> <input type="text" name="user" size="18" /> <br /> <strong>Password: </strong> <br /> <input type="password" name="pass" size="18" /> <br /> <?php print "<input type=\"hidden\" name=\"failurl\" value=\"http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?cfailed=1\"/>"; ?> <input type="submit" value="Login" /> <br /> <ul><li><a href="http://www.website.com/support-link/" >Forgotten your account password?</a></li></ul>
The script is also xhtml valid once installed.
Enjoy!



Interesting topic. I plan to build my first blog, based on similar topics to those from here. Thanks for the work that you do for this blog!
nice.. will try to implement this..