Browser Detection

Started on the old forum in February 2007 · view the original in the archive · old links redirect here

9 replies · 1,088 views · started 19 years ago · 1 min read

stringfellowhawk #1

many server dont accepts the browser functiob from the rw script use a .htaccess file and add this: AddType text/vnd.wap.wml .wml AddType application/x-httpd-php .php4 .php .wml only when u use php5.1 rename php4 to php5.1

Guest #2

simple just add this lines to .htaccess

php_value register_globals 1
php_value display_errors 1

that sould fix the problem

stringfellowhawk #3

simple just add this lines to .htaccess

php_value register_globals 1
php_value display_errors 1

that sould fix the problem

tommy that dont work its a server problem

lamar-wap #4

tommy that dont work its a server problem

what that should work thats the same thing gumlsone gave me and mine is working................

stringfellowhawk #5

php_value register_globals 1 php_value display_errors 1 this are a basic one that what i add are a server one sample:

when u use this Software De webserver draait op: Apache/2.0.54 (FreeBSD) De MySQL heeft versie* 4.1.14-log De server using PHP versie: 4.4.0 met de volgende modules: standard, openssl, pdf, imagick, ctype, iconv, imap, overload, gd, mhash, xslt, mbstring, tokenizer, pcre, curl, calendar, session, xml, exif, gettext, posix, ftp, mysql, zlib, ming, domxml, Zend Optimizer

Guest #6

Then I think it only works on php 4.4.4

Guest #7

Then I think it only works on php 4.4.4

lol works i all servers but some servers are disabled global so you have write

$_SERVER["HTTP_USER_AGENT"] $_SERVER["REMOTE_PORT"] $_SERVER["HTTP_ACCEPT"] $_SERVER["HTTP_ACCEPT_LANGUAGE"] $_SERVER["HTTP_ACCEPT_CHARSET"]

then works browser detection

Guest #8

whatever...

Guest #9

i dont still see the use

Guest #10

catchphrase why thhe hell must you always tue other ppl man????

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close