[advanced search]
NamePros Domain Auction
Live Event This Thursday at 6PM EDT - Prebidding open now
25 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 08-09-2006, 07:07 AM   · #1
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,554
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
cPanel Login Script

This is my first script that i have made so please correct me if its wrong.

Script:
* cPanel Login
* File Manager Login
* Awstats Login
* Database Login
* Fantastico Login

Use: if you own a lot of sites and dont remember all of them this is a great script for you.

Preview: Ill put one up in a bit.

Now then:

Step one

Open notepad and enter the following:

PHP Code:
<?php

//Domain name
$domain='domain.com';  // Only put domain.[extention]

?>
Change domain.com to your domain name, do not put http, www., or /

Step 2

HTML Code:
<html> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } //--> </script> <table border="0" width="90%"> <tr> <td width="18%" align="center"> <p align="center"><font face="Trebuchet MS">cPanel Domain</font></td> <td width="18%" align="center"> <p align="center"><font face="Trebuchet MS">cPanel Login</font></td> <td width="18%" align="center"><font face="Trebuchet MS">File Manager</font></td> <td width="18%" align="center"><font face="Trebuchet MS">Awstats</font></td> <td width="18%" align="center"><font face="Trebuchet MS">Database</font></td> <td width="18%" align="center">Fantastico</td> </tr> <tr> <td width="18%" align="center"><font size="2" face="Courier New, Courier, mono">http://www.<?php echo "$domain"; ?></font></td> <td width="18%" align="center"><input name="Login" type="button" onClick="MM_goToURL('parent','http://www.<?php echo "$domain"; ?>:2082');return document.MM_returnValue" value="Login"></td> <td width="18%" align="center"><a href="http://www.<?php echo "$domain"; ?>:2082/frontend/x/files/index.html"><img src="http://img207.imageshack.us/img207/2361/filemanur6.gif" width="32" height="32" border="0"></a></td> <td width="18%" align="center"><a href="http://www.<?php echo "$domain"; ?>::2082/frontend/x/stats/index.html"><img src="http://img207.imageshack.us/img207/6189/webftpstatsyj5.gif" width="32" height="32" border="0"></a></td> <td width="18%" align="center"><a href="http://www.<?php echo "$domain"; ?>::2082/frontend/x/sql/index.html"><img src="http://img207.imageshack.us/img207/1097/mysqlvf2.gif" border="0"></a></td> <td width="18%" align="center"><a href="http://www.<?php echo "$domain"; ?>::2082/frontend/x/fantastico/index.html"><img src="http://img207.imageshack.us/img207/3862/fantastico2ft8.gif" width="37" height="37" border="0"></a></td> </tr> </table> </html>


Thats it finsih save it as cpanel.php or any thing and your done my first script, please give me some feedback on the script.


Please register or log-in into NamePros to hide ads
NetworkTown.Net is offline   Reply With Quote
Old 08-09-2006, 07:34 AM   · #2
CreedFeed
NamePros Member
 
CreedFeed's Avatar
 
Trader Rating: (1)
Join Date: Apr 2006
Posts: 175
NP$: 160.00 (Donate)
CreedFeed is on a distinguished road
Wouldn't it simply be easier to remember domain.com:2082 or even domain.com/cpanel (most hosts use that alias) than domain.com/cpanel.php ?
CreedFeed is offline   Reply With Quote
Old 08-09-2006, 09:46 AM   · #3
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,554
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
As i said you can use any thing but this script is just so you can access cpanel features quickly.
NetworkTown.Net is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


Site Sponsors
Traffic Down Under Find out how! YUPPADS
Advertise your business at NamePros
All times are GMT -7. The time now is 04:58 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0