Re: How to get PHP to do a POST??
| From: | Richard Lynch | Date: | Wed, 27 Jun 2001 08:14:13 +0000 |
| Subject: | Re: How to get PHP to do a POST?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55339@lists.php.net to get a copy of this message | ||
> 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