Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    403 Forbidden Error

    I'm using Foxserv 3.0 running on Windows ME. I'm trying to test this contact form I have on my website that I am creating. I'm told that you can do this but I keep getting this error which I have no clue to what it means. The error is as follows:

    Forbidden

    You don't have permission to access /m-designs/< on this server

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.0.39 Server at localhost Port 80

    My php code for form is:

    PHP Code:
    <?php
    /* Declare Variables*/

    if($_POST['submit'])
    {

    $name $_POST['name'];
    $email $_POST['email'];
    $message $_POST['message'];

    //Save visitor name and entered message into one variabl*/

    $formcontent="VISITOR NAME: $\n\FEEDBACK: $message";
    $recipient "myname@mydomain.net";
    $subject "Request for more information";
    $mailheader "From: $email\r\n";
    $mailheader "Reply-To: $email\r\n";
    $mailheader "MIME-Version: 1.0\r\n";
    mail($recipient$subject$formcontent$mailheader,) or
    die (
    "Failure!");
    echo 
    "Thank You!";

    }
    ?>
    my html code is:
    Code:
    <div id="contact">
    	<h4>E-Mail Us</h4>
    	<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="Post">
    	<b>Your name:</b> <input type="text" name="name" size="20"><br>
    	<b>Your e-mail:</b> <input type="text" name="email" size="20"><br>
    	<b>Message</b><br><textarea name="message" rows="1" cols="20"></textarea>
    	<input type="submit" value="Send"><input type="reset" value="Clear">
    	</form>
    </div>

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I Google'd this up:
    http://www.checkupdown.com/status/E403.html

    Dunno how to help you out though..

    Good luck,
    Sadiq.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •