Require script help

jerry4695

Newbie
Joined
Jan 25, 2008
Messages
40
Reaction score
1
Hi,

Is there a script I can use to send those who
use Firefox to one page and those who use
IE to another page with different content but
both from the same url.

Thanks.
 
Yes that's possible

If you use PHP this is the easiest way to do it.


PHP:
if (strstr($_SERVER['HTTP_USER_AGENT'],'Firefox')) {

//FIREFOX CONTENT GOES HERE

}
else {

// ALL OTHER BROWSER GO HERE

}
 
just change the content here with a redirect command

Code:
<?php header("location: [some-url]");?>
 
Hmmm...
Thanks guys, looks like Ill be using this in my future cookie stuffing ventures!
 
Thanks for the help but I have some
knowledge on HTML only.

How can it be done with HTML.

Thanks.
 
Sorry guys but I forgot to mention that I wanted to know how it could be done with html.
 
Back
Top