RE: [PHP] $_POST not working with str_replace

From: Date: Wed, 24 Mar 2004 03:04:48 +0000
Subject: RE: [PHP] $_POST not working with str_replace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181347@lists.php.net to get a copy of this message
> -----Original Message----- > From: John W. Holmes [mailto:holmes072000@charter.net] > Sent: Tuesday, March 23, 2004 7:59 PM > > Like someone else said, you need to whittle your code down to a minimum > and do a lot of variable checking along the way. Slowly add code back > until you find what's causing the problem. There's no reason using $_GET > over $_POST should matter, since you're assigning it to a holding > variable, anyhow. What version of PHP are you using? Alright I'll try it from start, but again, it doesn't make any sense when all I'm doing is changing the action="GET" to action="POST" and on the script side, changing all my $_GET['items'] to $_POST['items']. I'm just wondering if the RTF format is being screwed up cuz it can't "read" the variables from the URL like you do with GET. I don't know just guessing, but from my experience GET/POST are interchangeable as long as everything in my GET form is received with $_GET['something']. I let everyone know what I come up with. I'm hoping it's something stupid and little like missing punctuation or some easy parse error that maybe isn't showing up under the rtf conversion. Thanks Wolf PS, "this reply better Chris?" :)

« previous php.general (#181347) next »