tecmeister Posted December 22, 2008 Share Posted December 22, 2008 Hi Everyone, I am trying to create a short cut on my website so that yours can log in to the thier cpanel. I am having a bt of trouble tho. This is the message that i am getting: Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked. This is the script that i have used: <html> <?php #your domain or ip $domain = "cp.nurevolution.co.uk"; if(!$_POST['login']) { exit; } $user = $_POST['user']; $pass = $_POST['pass']; $pre = "https://" : $pre = "http://"; ?> <body onLoad="setTimeout('document.forms[0].submit();',10)"> <form action="<?php echo $pre.$domain."/index.cgi/"; ?>" method="post"> <input type="hidden" name="user" value="<?php echo $user; ?>"> <input type="hidden" name="pass" value="<?php echo $pass; ?>"> </form> </body> </html> Is there some port that i need to enter? To log into my server the address is: http://cp.nrevolution.co.uk/login.cgi Thanks for your help, tecmeister Link to comment https://forums.phpfreaks.com/topic/137969-redirection-limit-for-this-url-exceeded/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.