|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Dynamic Communication
I am wondering if there is any way to use maybe XML to mimic another sites form on my site. For example, to use maybe Expedia's flight search form on my site and then post the request to expedia and have the results format back into my site. It is sort of the same concept as xml-rpc accept I am wondering if it can be done without setting up an xml-rpc server for the response. Essentially the script would allow you to take the user through the entire search process all the while making it formatted to the layout of your site, but using Expedia's engine. I can't quite figure this one out, but it would be a great script if I can. Any help is welcome and needed.
I am using php on linux. |
|
#2
|
|||
|
|||
|
My suggestion would be to use php to mimic a second browser. The user makes the request the php script, php takes the request and makes a request of its own to Expedia, then php takes the response from Expedia and reformats it for display to the user.
Technically this is pretty straight forward, but ethically it's a bit rocky.
__________________
-james |
|
#3
|
|||
|
|||
|
Thanks
Very much appreciate the reply,
Do you have any idea what I might look into in regards to acheiving this goal. I have the visual idea behind it, but the technichal side is complicated for me. I considered something like a grabber but then I am not actually communicating with the other site. I looked into something like rss with xml but I need to have s server set up on the other end to accept the call. Is php already set up to handle this sort of post and reply system, and the other thing I have to consider is how to take the user through more than one step of the process ie: post, receive, and then post and receive again. In the end this is all with a service that I have permission to work with, only, they haven't set their side up to be integrated, so I have to come up with side stepping measures. Thanks again for the reply, and I am open to any info you can provide. Sean |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Dynamic Communication |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|