PDA

View Full Version : Using PHP to frame a DNS name


MrTickles
09-29-2002, 12:54 AM
Hello,

I am trying to use php to put my DNS name into a frame, so that all the pages will say www.rajamusic.com


This will be the second DNS I am running off the same server.

the problem I have is when i goto www.rajamusic.com,

it changes to the full path instead of keeping just www.rajamusic.com/index.html


An example:

I type in www.rajamusic.com
I get redirected to
www.highknightz.com/raja/machine2/index.php




I can try to explain this better if someone doesnt understand what i mean. But if you do know what im talking about help would be great please :)


Thank you in advance

c q
09-29-2002, 04:27 PM
if redirecting is all you want then...try using something like this....

<html>
<head>
<title>Your Title</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="shortcut icon" href="favicon.ico">
</head>

<frameset border="0" rows="100%,*">
<frame name="frame" src="realpagelocation.php">
</frameset>
<noframes>
<meta http-equiv="refresh" content="0; url=realpagelocation.php">
<body>
<p><a href="realpagelocation.php">Click here to continue.</a></p>
<p>Page Title</p>
<p>page description page desciption....page description page desciption....
</body>
</noframes>
</html>

this will appropriately cloak the url I feel...

c q
09-29-2002, 04:31 PM
btw one small suggestion....some of your gif images can be converted to jpeg format to reure their size....take the bg-screen.gif as an example. When u got continuous color gradations...jpeg gets u smaller and better files usually...