Reply to Re: Passing variables from a PHP page to an ASP page?

Your name:

Reply:


Posted by NC on 12/07/05 10:15

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

[Back to original 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

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