Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:25:20+00:00 2026-06-15T21:25:20+00:00

I am getting the following error when trying to use my register.php script. Forbidden

  • 0

I am getting the following error when trying to use my register.php script.

Forbidden

You don't have permission to access /register.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Here is the script :

<?php //error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors', true);
include('header.php');
if(isset($_POST['register'])){
foreach($_POST as $key => $value) {
    $sec[$key] = filter($value);
}

$verificare1 = mysql_query("SELECT * FROM `users` WHERE `login`='{$sec['user']}' OR `email`='{$sec['email']}'");
$verificare = mysql_num_rows($verificare1);

if ($verificare > 0) {
$mesaj = "<div class=\"error\">ERROR: Username or email already registered!</div>";
}else if (!isUserID($sec['user'])) {
$mesaj = "<div class=\"error\">ERROR: Username is incorrect!</div>";
}else if(!isEmail($sec['email'])) {
$mesaj = "<div class=\"error\">ERROR: Enter a valid email address!</div>";
}else if (!checkPwd($sec['password'],$sec['password2'])) {
$mesaj = "<div class=\"error\">ERROR: Passwords do not match!</div>";
}else{
if(isset($_COOKIE['PlusREF'])){
$ref = $_COOKIE['PlusREF'];
$user1 = mysql_query("SELECT * FROM `users` WHERE `id`='{$ref}'");
$user = mysql_fetch_object($user1);
mysql_query("INSERT INTO `referals`(user,referal,date) values('{$user->login}','{$sec['user']}',NOW())");
}
$activare = rand(000000000, 999999909);
mail($sec['email'],"Welcome to ExchangeBoost.com","
Hello,

Thank you for signing up at ExchangeBoost.com. 

Click on the link below in order to activate your account: 
{$site->site_url}/activate.php?cod={$activare}

If you would like after you activate your account you can buy coins in the UserCP at a very low rate.

Thank you!","From: ExchangeBoost.com <{$site->site_email}>");
$final = VisitorIP();
$passa = $sec['password'];
$passc = MD5($passa);
mysql_query("INSERT INTO `users`(email,login,coins,IP,pass,passdecoded,ref,signup,activate) values('{$sec['email']}','{$sec['user']}','100','$final','$passc','$passa','{$ref}',NOW(),'{$activare}')")or die(mysql_error());
$mesaj = "<div class=\"success\">Registered! You need to confirm your email address now!</div>";
}}
?>  
<div class="main">


            <div class="content-ex">


<div class="msg"><?echo $mesaj;?></div>
<form action="" method="post">

                         <p>
                             <label>Username</label><br/>
                             <input class="text big" type="text" value="" name="user"/>
                         </p>
                         <p>
                             <label>Email</label><br/>
                             <input class="text big" type="email" value="" name="email"/>
                         </p>
                         <p>
                             <label>Password</label> <br/>
                             <input class="text big" type="password" value="" name="password"/>
                         </p>
                         <p>
                             <label>Repeat Password</label> <br/>
                             <input class="text big" type="password" value="" name="password2"/>
                         </p>
                          <p>

                            <input type="submit" class="bbut" value="Register" name="register" />
                          </p>

                    </form>

            </div>
<div class="signin"> 
               <h2>Sign In</h2>
                           <form method="post">

<input class="text big" type="text" value="Username:" name="login">
<input class="text big" type="password" value="Password:" name="pass">           

<div class="buttons">

                            <input type="submit" class="gbut" name="logare" value="Login" /><a class="bbut" href="register.php" name="logare" value="Register">Register</a>
<br><br>
<a href="recover.php">Dude, I forgot my password!</a>
</div>                                        
</form>

            </div>



        </div>


<?include('footer.php');?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:25:21+00:00Added an answer on June 15, 2026 at 9:25 pm

    Check that File is really exists or not.It exists then check your .htaccess settings. 404 Error means the page you are looking for is not found.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the WURFL API for PHP. I'm getting the following error
I'm getting the following error when trying to setup SQL Server 2005 DB Mirroring
I am getting the following error when trying to use the WCF Test Client
I am getting following error when I am trying to use Convert.FromBase64String The input
I'm trying to use the oh-my-zsh git-flow plugin and getting the following error. ➜
I'm getting the following error when trying to use a modular layout in my
I'm trying to use Python's xml.dom.minidom, and I'm getting the following error: >>> from
In trying to use offlineimap under Linux, I am now getting the following error:
I am trying to use moles with NUnit and am getting the following error
I am trying to use df.apply() function in pandas but getting the following error.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.