- 1 Ağu 2007
- 5,470
- 41
Cpanel Giriş Scripti
<?php
#cPanel
$protocol = 'http';
$port = 2082;
#Secure cPanel
#$protocol = 'https';
#$port = 2083;
?>
<style type="text/css">
<!--
.style1 {
color: #FF9900;
font-size: 16px;
}
.style3 {color: #FF9900; font-weight: bold; }
-->
</style>
<h2 class="style1">Kontrol Paneli Giriş </h2>
<?php
if ($_GET['failed'] == "1") {
?>
<div style="color: red; font-size: x-small;">giriş başarısız</div>
<pre><?php
}
print "<form action=\"" . $protocol . "://" . $_SERVER['HTTP_HOST'] . ":" . $port . "/login/\"
method=POST>";
?> <span class="style3">Kullanıcı adı:</span> <input type=text name=user>
<span class="style3"> Şifre :</span><strong> <input type=password name=pass /> </strong>
<?php
print "<input type=hidden name=failurl value=\"http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?failed=1\">";
?> <input type=submit value=giriş>
</pre>
</form>