Re: How to get PHP to do a POST??

From: Date: Thu, 28 Jun 2001 00:00:20 +0000
Subject: Re: How to get PHP to do a POST??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-55434@lists.php.net to get a copy of this message
AH! Thank you for this info! This was exactly the problem! When I changed the name_x to name.x, it worked, and UPS' site gave me back what I was looking for. Thanks again, you're a lifesaver! -- Patrick ""Richard Lynch"" <ceo@l-i-e.com> wrote in message news:046101c0fee3$a5d4ec80$6401a8c0@Lynchux100... > > tried it on my own server and found that php assigns the values 'name_x' > and > > Those are really name.x and name.y in HTTP, but since "." is not allowed in > a PHP variable name, you get "_" instead. > > So UPS is using, almost for sure, name.x and name.y in their "variables". > > (Well, they probably have something else as well, but if you give them > name.x and name.y, they'll convert it like they always do.) > > > button on my form, then all works fine, except for the fact that I can't > > intercept the data comming back from UPS so that I can adjust the prices. > > Search the archives for Rasmus' "posttohost" function from way, way, way > back when. > > -- > WARNING richard@zend.com address is an endangered species -- Use > ceo@l-i-e.com > Wanna help me out? Like Music? Buy a CD: > http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#55434) next »