Re: How to get PHP to do a POST??
| From: | CC Zona | Date: | Wed, 27 Jun 2001 09:06:06 +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-55360@lists.php.net to get a copy of this message | ||
In article <046101c0fee3$a5d4ec80$6401a8c0@Lynchux100>,
ceo@l-i-e.com ("Richard Lynch") wrote:
> > 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".
Or they're using an image input named "name"; for instance, as a graphic
button. When the user clicks on it, HTTP automatically passes the click's
x and y coordinates as {input's name).x and {input's name}.y.
Before spending too much time hassling over this, it might be worthwhile to
check with UPS about whether they're even using these two values. If
they're being passed from an image map or something, they may care ("click
on the shipping center nearest you", etc.); OTOH, if it's just a standard
submit button, they may be ignoring that variable anyway.
--
CC