|
Posted by Colin Fine on 12/08/05 11:54
FayeC wrote:
> Nope....it has to be POST. The variable is coming from a form on an
> html page hosted on a UNIX/PHP server and is linking to a page on the
> ASP hosting space.
> I just wanted to make it look seamless by cloaking the second
> subdomain.
> I am not that experienced in PHP to smack a cURL script....I was
> reading on it and I found out that the PHP hosting does support it.
>
What is being hosted on what system is really beside the point.
A frame is no different from any other page - you can only communicate
to it via HTTP/HTML. If the frame content is to be specified by a link
it will be retrieved by GET so you can use CGI arguments, but there's no
way of giving it POST data. But there's nothing to stop you using a form
to specify the frame, if this fits your user interaction model. Just
give a TARGET parameter to the FORM statement as well as the ACTION and
METHOD parameters.
Of course what I said above isn't quite true any more, since the
invention of cookies. Cookies are client side, so it's perfectly
possible for your calling script to weasel away any information in
cookies in the browser, and the called script in the frame to read them.
But I get the impression that your ASP script is a given, in which case
the FORM method above is the only way I can think of.
Colin
[Back to original message]
|