Re: unexpected return from $_POST['foo']

From: Date: Fri, 27 Jun 2003 09:36:05 +0000
Subject: Re: unexpected return from $_POST['foo']
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-153081@lists.php.net to get a copy of this message
When I var_export, I get the following information... array ( 'wakka' => 'blueberry_muffinswakka=blueberry_muffins', ). There is no further useful information in the HTML code at all. It's pretty empty in there. I've been studying my configuration, but to no avail at this point. I'm not sure where to even look for this crazy thing. Thinking about clobbering and stepping back a version or something of that sort. But I'm in pain. :) [tnx for the thoughts!!] "Sven" <svenie@gmx.li> wrote in message news:20030627092142.5390.qmail@pb1.pair.com... > strange. > > look into the sourcecode of your output-page, whether there is more > information (html-tags, i.e.). > and try var_export($_POST); instead of you echo to see what information come > with post. > > maybe it's your server/php config. your code works for me. > > ciao SVEN > > "Kyle W. Cartmell" <banyanvines@hotmail.com> schrieb im Newsbeitrag > news:000c01c33c89$2ee806d0$6401a8c0@shippo... > Given a page containing a form which posts data to another page... > > <HTML> > > <BODY> > > Please enter a string.<BR> > > <FORM method="post" action="nextpage.php"> > <INPUT type="text" name="wakka"> > <INPUT type="submit" name="submit"> > </FORM> > > </BODY> > > </HTML> > > And a page which accepts this data... > > <HTML> > > <BODY> > > <?PHP > > echo $_POST['wakka']; > > ?> > > </BODY> > > </HTML> > > If I type "blueberry_muffins" into the text field and click submit, the > resulting output is as follows... > > blueberry_muffinswakka=blueberry_muffins > > However the output I expected was, of course... > > blueberry_muffins > > Have you ever seen anything like this? > Am I doing something wrong? > Do you need more information? > > Thanks! :) > > Kyle W. Cartmell > - a mildly confused PHP newb > >

« previous php.general (#153081) next »