activation link not connecting
<p>please my registration and activation link was working fine until now, it says "problem connecting" when the link to activate account is clicked.</p>

<p>this is the related code of registration file</p>

<pre><code>{
       //generate random code
       $code = rand(11111111,99999999);

       //send activation email
       $to = $email;
       $subject = "Activate your account";
       $headers = "From: donotreply@reacheasy.co.uk";
       $body = " Hello $fullname,\n\nUsername $username,\n\n Password $password ,\n\nYou registered and need to activate your account, n\nPlease keep this email safe as it contains your password . Click the link below or paste it into the URL bar of your browser\n\nhttp://reacheasy.co.uk/activate.php?code=$code\n\nThanks!"; 
</code></pre>

<p>and this is the activation file</p>

<pre><code>&lt;?php
 include 'include/global.php';

    $code = $_GET['code'];

    if (!$code)
        echo "No code supplied";
    else
    {
        $check = mysql_query("SELECT * FROM reusers WHERE code='$code' AND active='1'");
        //echo "SELECT * FROM users WHERE code='$code' AND active='1'";
        if (mysql_num_rows($check)==1)
            echo "You have already activated your account";
        else
        {
            $activate = mysql_query("UPDATE reusers SET active='1' WHERE code='$code'");
            echo "Your account has been activated!&lt;a href='index.php'&gt;Return to login page&lt;/a&gt;";
        }

    }
    ?&gt; 
</code></pre>

<p>please help have a look thanks</p>
