Reply to Re: partitioning the program depending upon browser

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация