Re: Hiding the remote server
| From: | Jason Wong | Date: | Fri, 16 Aug 2002 03:57:54 +0000 |
| Subject: | Re: Hiding the remote server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112909@lists.php.net to get a copy of this message | ||
On Friday 16 August 2002 11:51, Michael wrote:
> Is it possible to write a script that:
> 1) gathers information
yes
> 2) upon clicking a "submit" button, "posts" this information to a remote
> server for processing.
yes
> 3) the remote server, by default, will generate
> results and display on it's own web page generated dynamically. 4) can we
> "intercept" this response back to the browser, parse through the
> information and generate our own presentation of the page on our site?
yes
[snip]
> The challenge is that we don't want the url of Site A appearing at any one
> moment. So we need to get responses from the remote server, parse through
> for results, and display this information:
>
> http://www.mysite.com/my_change_password_script.php?result=success
>
> Is this possible at all with just PHP scripting?
yes
> I am just guessing.... can the header() function be used to send
> information like a form-POST? and receive responses that is parsable prior
> to printing to the browser?
no
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A long-forgotten loved one will appear soon.
Buy the negatives at any price.
*/