You are here: Re: forwarding a form to another server « PHP Programming Language « IT news, forums, messages
Re: forwarding a form to another server

Posted by Chung Leong on 12/21/05 16:25

AndrewF wrote:
> Hi CL.
>
> Thanks for the post [entertaining read as well ;) ] however this won't
> work in my case because firstly the cURL extensions aren't available
> [limited hosting company - not my fault!] and secondly I don't want to
> read the data back to my site. I need to transter the entire session to
> the new host for post-processing....

First, you don't need cUrl to use the stream API functions. They're a
standard part of PHP 4.3+.

Second, if you want the post to occur transparently, then you have to
proxy the whole transaction. The HTTP status code 307 will redirect a
post, but some browsers would prompt the user to confirm the action
first.

 

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

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