Page 1 of 1

Alternative for frameset

Posted: Wed Mar 03, 2010 12:17 am
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...

Re: Alternative for frameset

Posted: Wed Mar 03, 2010 2:31 am
by Christopher
User cURL to fetch the pages on the server side. Combine them into a single page that is sent to the browser.