|
Posted by Jerry Stuckle on 04/19/07 14:14
rajasekhar wrote:
> Hallo,
>
> I am developing a site, and here whats the problem is: how to
> partition the code, i.e. if I developed 1000 lines of code, in that I
> want to show first 200 lines only if the user opens my website using
> IE, and next 200 lines in Firefox, and remaining lines in another
> browsers.
>
> Here am asking that how to compatible the total code depending upon
> the browsers used by users.
>
> if you know any thing please mail me to rajajan09@gmail.com
>
> thanking you,
>
> Best Regards,
> Rajasekhar.
>
Why would you ever want to duplicate effort like that? Serving
different html to different browsers is a great way to get your site
banned from the search engines. Oh well, it's your site which gets banned.
$_SERVER['HTTP_USER_AGENT'] will tell you what the browser claims it is.
But there's no way to tell for sure what the browser really is.
And this is usenet. Ask a question on usenet, get a response in usenet.
That's how it works.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|