Jump to content

Alternative for frameset...


vashini11

Recommended Posts

Dear Friends,

 

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

 

Here's my situation.

 

1.      Domain www.domain1.com located at server1.com server provided by provider1.

 

2.      Domain www.domain2.com located at server2.com server provided by provider1.

 

3.      Domain 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 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

 

www.domain2.com actually directs to http://www.domain1.com?id=1 while

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...

 

 

Link to comment
https://forums.phpfreaks.com/topic/193965-alternative-for-frameset/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.