| | |
What browser are you?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hey,
Ad like to know the capabilites of users browser in code so that i give her the codes for her browser I would like to do this without using the deprecated globals like $http_user_agent
and $http_accept
Actually I would like to have two php scripts for my site one for WAP browsers and other for normal browsers. I you have solved this before, please send me the code you used to branch to the two different scripts
PLEASE ADVISE!
THANKS
Ad like to know the capabilites of users browser in code so that i give her the codes for her browser I would like to do this without using the deprecated globals like $http_user_agent
and $http_accept
Actually I would like to have two php scripts for my site one for WAP browsers and other for normal browsers. I you have solved this before, please send me the code you used to branch to the two different scripts
PLEASE ADVISE!
THANKS
i suggest using javascript. get the name of the browser using javascript and refresh with the browser name in the url. have php detect it using the $_GET method and show the right code based on that input. the only problem i see is i think most wap browsers will have javascript disabled by default.(not sure) if you need sample code just let me know.
![]() |
Similar Threads
- Button to open a new browser window (ASP.NET)
- Lost browser links,internet options etc...toolbar (Web Browsers)
- Can't run JSP in Browser (JSP)
- how to enable my browser for java (Web Browsers)
- Samba browser (OS X)
- browser shutting down..... (Web Browsers)
- Opera web browser question (IT Professionals' Lounge)
Other Threads in the PHP Forum
- Previous Thread: hyperlink in php
- Next Thread: online projects
| Thread Tools | Search this Thread |
# 5.2.10 alexa apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date directory display dissertation dynamic echo echo$_get[x]changingitintovariable... email encode error fairness file files folder form forms function functions google href htaccess html image images include indentedsubcategory insert ip javascript joomla legislation limit link local login mail memberships menu mlm multiple multipletables mysql mysqlquery newsletters oop open paypal pdf persist php problem provider query radio random recursion remote rss script search server sessions simple sms sockets source space spam sql syntax system table tutorial update upload url validator variable video web youtube






