User Agent Error!

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

7 replies · 750 views · started 18 years ago · 1 min read

3 participants
Guest #1

Thr z a Problem with my server . Didnt shw user agent inside my community n other places. Itz shwd in past but after yestrday n it stoped. Luk @ http://space.sihalawap.com/info.php . Plz help me to fix diz. Thanx

ori Lead · 512 posts #3

ur host may now be using cgi php to fix this use a php.ini file in all folders in place of the old .htaccess thats all i can think of that be wrong unless its a script error if that is the case u will need the php.ini in all folders where the scripts require register globals to be on

Guest #4

i think u should post the page. i dnt suppose any of us r psychic

CODE<? header("Content-type:text/vnd.wap.wml;charset=UTF-8"); print "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n

<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n

<wml>\n

<head>\n <meta name=\"vnd.up.markable\" content=\"true\" forua=\"true\"/> \n <meta http-equiv=\"Cache-Control\" content=\"max-age=30\" forua=\"true\" /> \n </head>\n <card title=\"Enviroment\">\n";

print "

<img src="phone_type.php" alt=""/>

User Agent:

$HTTP_USER_AGENT

IP-Adress:

$REMOTE_ADDR

Port:

$REMOTE_PORT

Accept Mime Types:

$HTTP_ACCEPT

Language:

$HTTP_ACCEPT_LANGUAGE

Accept Charset:

$HTTP_ACCEPT_CHARSET


\n";

</card></wml>\n"; ?

Here Wizard, U can go 2 diz page frm http://space.sihalawap.com

Guest #5

ur host may now be using cgi php to fix this use a php.ini file in all folders in place of the old .htaccess thats all i can think of that be wrong unless its a script error if that is the case u will need the php.ini in all folders where the scripts require register globals to be on

Thanx Ori, i will try it

ori Lead · 512 posts #7

alot of hosts prefer not to use cgi php as it gives there users too much control over php i had cgi when i was on shared hosting wif bluehost.com it was a pain in the arse

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