Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-13-2008, 04:19 AM   PM User | #1
owt200x
Regular Coder

 
Join Date: Sep 2008
Location: Oklahoma
Posts: 249
Thanks: 11
Thanked 13 Times in 13 Posts
owt200x is an unknown quantity at this point
masking domain

I dont even know if I can do this, but here it is.
Im trying to make it so when you go to one of my websites, it loads with that content, but shows another domain in the address bar (i.e. going to onesite.com shows that html but shows twosite.com in the address bar)
any way of doing this in php or htaccess?

Thanks
OwT

Last edited by owt200x; 11-14-2008 at 05:46 PM..
owt200x is offline   Reply With Quote
Old 11-13-2008, 08:30 PM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
Tried using a frame?
tomws is offline   Reply With Quote
Old 11-13-2008, 08:38 PM   PM User | #3
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
Why would you want to do this? Can't you just redirect?
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 11-13-2008, 08:47 PM   PM User | #4
drhowarddrfine
Senior Coder

 
Join Date: Oct 2005
Posts: 1,340
Thanks: 0
Thanked 61 Times in 60 Posts
drhowarddrfine can only hope to improve
You cannot and some may question whether you are trying to pull something.
drhowarddrfine is offline   Reply With Quote
Old 11-14-2008, 05:44 PM   PM User | #5
owt200x
Regular Coder

 
Join Date: Sep 2008
Location: Oklahoma
Posts: 249
Thanks: 11
Thanked 13 Times in 13 Posts
owt200x is an unknown quantity at this point
i think i got it using iframe, it seems to work. heres what i was doing:
i added my form code to someones template, but there server doesnt use smtp right and it configured way wacked. So Open Captcha wouldnt work, neither would sending the form through smtp. What I was trying to accomplish was to use her contact form using her template, hosted on my website. And she could go to her website and open the contact.html page, which would load everything from my website, and still show her domain in the address bar. It works using Iframe. Nothing "nefarious" and im not trying to pull something, just trying to help someone out whos server is ____ until she can get a new one.
owt200x is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:36 PM.


Advertisement
Log in to turn off these ads.