gamerunlimited
02-28-2007, 03:56 AM
Hi. Is there a PHP script to call the domain name you are visiting?
Example; if you park your domain name at Sedo.com, then it will show like this: www.atboobs.com (not porn :P)
Notice how at the top it says ATBOOBS.COM - How do they do that?
The next issue is that I would be doing this within a frame, so it would need to look at the domain in the parent frame, not the current one (e.g. a user could own www.blahblahblah.com and put an iframe to my page and it would say BLAHBLAHBLAH.COM not mypage.com [the source of the frame])
Example; if you park your domain name at Sedo.com, then it will show like this: www.atboobs.com (not porn :P)
Notice how at the top it says ATBOOBS.COM - How do they do that?
The next issue is that I would be doing this within a frame, so it would need to look at the domain in the parent frame, not the current one (e.g. a user could own www.blahblahblah.com and put an iframe to my page and it would say BLAHBLAHBLAH.COM not mypage.com [the source of the frame])