Alternative for frameset

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vashini11
Forum Newbie
Posts: 1
Joined: Wed Mar 03, 2010 12:07 am

Alternative for frameset

Post by vashini11 »

Dear Friends,

I'm really hoping for your helping hands at the moment..

Here's my situation.

1. Domain http://www.domain1.com located at server1.com server provided by provider1.
2. Domain http://www.domain2.com located at server2.com server provided by provider1.
3. Domain http://www.domain3.com located at server3.net server provided by provider2.

Currently I'm using frameset coding to direct my 2 & 3 domains pages to http://www.domain1.com

for example:

www.domain2.com (index.php)

<frameset rows="*,0" frameborder="NO" border="0" framespacing="0">

<frame name="mainFrame" src="http://www.domain1.com?id=1">

<noframes></noframes>

</frameset>


www.domain3.com (index.php)

<frameset rows="*,0" frameborder="NO" border="0" framespacing="0">

<frame name="mainFrame" src="http://www.domain1.com/pages?id=2">

<noframes></noframes>

</frameset>


You can see here that
http://www.domain2.com actually directs to http://www.domain1.com?id=1 while
http://www.domain3.com actually directs to http://www.domain1.com?id=2

All this is done without changing the URL at the address bar which is exactly what I want...

My problem is now, there are some limitations and problems created due to the frameset usage, Is there any other alternative solution for this?

Really hoping for a help....
Thanks in advanced...
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Alternative for frameset

Post by Christopher »

User cURL to fetch the pages on the server side. Combine them into a single page that is sent to the browser.
(#10850)
Post Reply