Jump to content

Redirection limit for this URL exceeded


tecmeister

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.