Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: iFrames help
12-06-2005, 11:51 PM #1
- Join Date
- Dec 2005
- Thanked 0 Times in 0 Posts
I would like to sent an e-mail with a hyperlink to my website, but would like the iframe to display a different source page, not the initial page.
Is this possible, if so could you please tell me how this can be done!
for ref my website is www.wiso.net.
12-07-2005, 02:39 AM #2
- Join Date
- Jun 2003
- Cottage Grove, Minnesota
- Thanked 1,084 Times in 1,075 Posts
I'm thinking that you may have to use a server-side script to set the
proper page that needs to be loaded into the <iframe>.
Since the person is entering your site from an email link, the email link
is going to be a call to a PHP (or Perl) script that sets a cookie and then
redirects to your main page. Your main page reads the cookie using
Example ... if you sent me an email, I would see a link like this:
When I click the link, it would run a php script called "login.php".
That script would set a cookie with a value of "site1.html" and
then redirect to your main page.
would know which page to load.
You would need to know two things.
1) How to make a PHP script set a cookie and redirect to another page.
Both of these things can be learned by tutorials (search Google).
Last edited by mlseim; 12-07-2005 at 02:55 AM.