hey all,
im getting this error, and i don't know why.
Fatal error: Maximum execution time of 30 seconds exceeded in E:\web\autoopti\thanks.php on line 65
The code I have for the PHP script is:
<?php
$key = 129;
$email = $_REQUEST["payer_email"];
$first = $_REQUEST["first_name"];
$last = $_REQUEST["last_name"];
$acode = $_REQUEST["hash"];
$txt = $email . "|" . $email . "|" . $first . "|" . $last . "|" . $acode;
$outtxt = '';
for($i=0;$i<strlen($txt);)
{
for($j=o;$j<strlen($key);$j++,$i++)
{
$outtxt .= $txt{$i} ^ $key{$j};
}
}
echo "thanks";
?>
And the line the error message refers to is:
$outtxt .= $txt{$i} ^ $key{$j};
So, I'm guessing it's just taking too long for this line of code to do its work. Can somebody please help me fix this?
Thank you