You are here: Re: [PHP] Sending data via POST « PHP « IT news, forums, messages
Re: [PHP] Sending data via POST

Posted by John Nichel on 09/29/38 11:10

Todd Cary wrote:
> Currently I send data to another page by using
>
> header("Location: http://" . |$_SERVER['HTTP_HOST'] .|
> | dirname($_SERVER['PHP_SELF']) . |
> | "/" . $relative_url . |
> | "?" . $my_data);|
> ||
> ||My client would like the data passed via a POST rather than in the URL.
>
> Can this be done and if so, how?
>
> ||Many thanks....
>
> Todd
> ||

Yes, it can be done as a 'GET' as you have above. It's been awhile, but
we sent data via post by using sockets. However, this was before cURL
was a viable option, so you may want to look into that....

http://us4.php.net/curl

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация