You are here: Re: Passing variables from a PHP page to an ASP page? « PHP Programming Language « IT news, forums, messages
Re: Passing variables from a PHP page to an ASP page?

Posted by FayeC on 12/08/05 02:50

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.

FayeC

On 7 Dec 2005 00:15:02 -0800, "NC" <nc@iname.com> wrote:

>FayeC wrote:
>>
>> I have a site using a PHP CMS and I need it to use an ASP module
>> from another site but I would like to use a frame so it looks like it is
>> still in the same site.
>> I need to pass a username variable from a form in in the PHP webspace
>> (where the domain is pointing) to a page in an ASP webspace (using a
>> subdomain not related to the main domain).
>
>There's one missing piece in your description of the problem. Will the
>ASP page accept a GET variable or does it have to be POST?
>
>In the first case, everything can be done rather simply; you put out a
>frameset that looks something like this:
>
><FRAMESET rows="1, *">
>
> <FRAME name="top" src="myscript.php">
> <!-- This is a PHP script on your site -->
>
> <FRAME name="bottom"
>src="http://othersite.com/otherscript.asp?user=FayeC">
> <!-- This is a link to an ASP script on the other site -->
>
></FRAMESET>
>
>The second case is mucn more complicated...
>
>Cheers,
>NC

 

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

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