Jump to content

Search the Community

Showing results for tags 'header; 302'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. (It works on WAMP, but not on a public server) I have 3 php files: test.php, in which 1/3 tests(forms) are generated, then it is sent to process.php, then in rezult.php process.php: I have 3 header ( ) : $score = 0; $form_id = $_GET['id']; if($form_id='test1'){ $answer1=$_POST['ans1']; $answer2=$_POST['ans2']; ................. header("Location:rezult.php?score=$score&fid=$form_id&r1=$answer1&r2=$answer2..... die(); // I also tried with exit(); } if($form_id='test2'){ $answer1=$_POST['ans1']; $answer2=$_POST['ans2']; ................. header("Location:rezult.php?score=$score&fid=$form_id&r1=$answer1&r2=$answer2..... die(); } if($form_id='test3'){ $answer1=$_POST['ans1']; $answer2=$_POST['ans2']; ................. header("Location:rezult.php?score=$score&fid=$form_id&r1=$answer1&r2=$answer2..... die(); } I don't arrive on result.php, but get this message: Moved Temporarily The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@XXXXXXX.XXX and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 Server at dianag.5gbfree.com Port 80 It's my first php online and I have no idea what else do correct since I followed a tutorial and it worked on WAMP... Thank you in advance!
×
×
  • 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.