Re: [PHP] How to get PHP to do a POST??
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 [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to get PHP to do a POST??
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 [EMAIL PROTECTED] wrote in message 046101c0fee3$a5d4ec80$6401a8c0@Lynchux100">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 [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to get PHP to do a POST??
In article 046101c0fee3$a5d4ec80$6401a8c0@Lynchux100, [EMAIL PROTECTED] (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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]