I'd do it with CURL. The only issue is to take care of timeout in order to avoid troubles when the remote server is down.
--Mohammad On Mon, Jul 14, 2008 at 10:32 AM, Brian Hoke <[EMAIL PROTECTED]> wrote: > We've a project where we need to do a remote, behind-the-scenes lookup of > data based on user-submitted postal code: > > - user submits form on our site with postal code > - our server sends http request (w/ postal code) to remote host > - our server gets http response from host - a decimal number > - next page the user sees includes form with hidden field whose value > comes from remote-host lookup > > Is this just a cURL thing, or is there some better strategy for doing this > w/ symfony? TIA for any thoughts. > > ~Brian > > -- > Brian P. Hoke > Bentley & Hoke LLC > 315-446-2300 > www.bentleyhoke.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
