Home > Not Working > $_post Not Working In Php

$_post Not Working In Php

Contents

The test run you shared does not return the same results as you indicated. I read the question too quickly. Changing 'theorem' to 'Theorem' while using \cleveref{} GO OUT AND VOTE Is there an actual army in 1984? Print out an print PHP_VERSION; to retrieve that. have a peek at this web-site

share|improve this answer answered Feb 10 '14 at 11:34 Lekhesh 2018 add a comment| up vote -1 down vote Get post data by $HTTP_RAW_POST_DATA instead of $_POST. I am running Apache, and have a simple html forum and need it to $_post to the php script (duh). Originally Posted by deathshadow So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd. Solve using Cauchy Schwarz Inequality Are there stats for Mihstu in 3.5e?

$_post Not Working In Php

Join them; it only takes a minute: Sign up PHP forms - 'get' working but 'post' not up vote 0 down vote favorite I have a simple registration form. Should I report it? Display Formatted Code Simple Content Formatting with Regular Expressions Limiting login attempts 151 More PHP Tutorials... I'm glad I motivated you though, be sure to post it in the 'site review' forum once you've made it Was This Post Helpful? 0 Back to top MultiQuote Quote +

Thank you! you will end up with something like:
var_dump($_POST['person']);
//will get you something like:
array (
0 => array('first_name'=>to register before you can post: click the register link above to proceed.

Undefined variable username ... ", etc. Everything works fine on MAMP on my laptop but when I upload the script to the server (Windows) it doesn't work; it seems that the $_POST array is empty. Gordon Luk Co-founder of Cover, Dad, and Programmer of Unusual Things Menu Skip to content Home Projects Beast Boxing Turbo (PC/Mac) Beast Boxing 3D for iOS Yum Num's Galaxy for iPad HOPE YOUR PAGE GETS MORE OUTER LINKS!

don't know if it's that that is causing the problem though. Php Post Not Getting Values Try this: PHP Code: if(!isset($_GET['go'])){
?>echoPhp Get Works Post Doesn't

You mentioned earlier that you were using a hosting provider, so ask them specifically what rules they have set up on POST requests (you'll probably have to wait a bit on Posted 24 September 2009 - 06:29 AM Thanks rpgonzo but i'm a newbie...so let's keep to english...frameworks? $_post Not Working In Php Also, your PHP looks a bit off (lots of extra quotes), but I'm assuming you just copy/pasted from the php file and some reason deleted the surrounding HTML? Php Post Method Not Working asked 4 years ago viewed 2887 times active 1 month ago Upcoming Events 2016 Community Moderator Election ends in 9 days Get the weekly newsletter!

It solved my problem! http://pfntech.com/not-working/working-not-working-nomination.html It's very handy: function debugArray($array){ echo("

"); print_r($array); echo("
"); } Then, call it in your code like this: debugArray($_POST); By looking at the entire contents of the $_POST array, you can see EDIT: Here is the form:
html http forms post get share|improve this question edited Jul 29 '09 at 19:57 asked Jul 29 So I went and in IIS7.5 I right clicked on the Application Pool and picked "Recycle" and then the new pages worked without the full path. Radcompression

I saw Windows and assumed IIS. –Bart Mar 13 '13 at 17:27 1 @AarolamaBluenk - the PHPinfo says with almost certainty that it's IIS. –slugonamission Mar 13 '13 at 17:29 asked 3 years ago viewed 2712 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends in 9 days Visit Chat Linked 10 PHP $_POST not working but $_GET Last edited by tangoforce; 07-11-2011 at 10:13 PM. Source Solve using Cauchy Schwarz Inequality What power do I have as a driver if my interstate route is blocked by a protest?

Examples Example #1 $_POST example echo'Hello'.htmlspecialchars($_POST["name"]).NO!!!

i believe it will work ... if you don't know what a framework is than you , more than likely, are not using one ... system 2014-10-08 05:06:24 UTC #4 Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled Podcast Articles Premium Register Help Remember Me? $post Not Working Arrange numbers and operators to the magic triangle What are some ways that fast, long-distance communications can exist without needing to have electronic radios?

index.php:

Email Address Password
_scripts/check_login.php: (I've removed everything except some var_dumps for debugging) It always echos searchterm even when NO data sent! Eenvincible says: January 19, 2013 at 1:33 pm I have the same problem. have a peek here I would have spent forever on this.

How? Should I have doubts if the organizers of a workshop ask me to sign a behavior agreement upfront? I too was running into this issue, where POST would return absolutely no data but GET flowed without error. My solution was to enforce the URL to always add "www" and the issue was gone.

Code ladder, Robbers Build me a brick wall! I took it out once and it didn't work 2.