Results 1 to 8 of 8

Thread: User Agent Error!

  1. #1
    Member
    Join Date
    Jun 2007
    Location
    SihalawaP City
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs up

    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 @ [Only registered and activated users can see links. Click Here To Register...] . Plz help me to fix diz. Thanx

  2. #2
    Senior Member
    Join Date
    Apr 2006
    Location
    kingston
    Posts
    493
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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 @ [Only registered and activated users can see links. Click Here To Register...] . Plz help me to fix diz. Thanx[/b]

    i think u should post the page. i dnt suppose any of us r psychic
    [Only registered and activated users can see links. Click Here To Register...]

  3. #3
    ori
    ori is offline
    Senior Member
    Join Date
    Oct 2007
    Location
    australia
    Posts
    509
    Thanks
    2
    Thanked 73 Times in 12 Posts
    Rep Power
    0

    Default

    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

  4. #4
    Member
    Join Date
    Jun 2007
    Location
    SihalawaP City
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    i think u should post the page. i dnt suppose any of us r psychic[/b]
    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?
    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 "<p align=\"center\">

    <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";

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


    Here Wizard, U can go 2 diz page frm [Only registered and activated users can see links. Click Here To Register...]

  5. #5
    Member
    Join Date
    Jun 2007
    Location
    SihalawaP City
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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[/b]
    Thanx Ori, i will try it

  6. #6
    Senior Member kiss's Avatar
    Join Date
    Jan 2006
    Posts
    292
    Thanks
    3
    Thanked 125 Times in 29 Posts
    Rep Power
    0

    Default

    Thanx Ori, i will try it[/b]
    ------------------------------
    create a file and name it php.ini then add this code:
    [PHP]
    register_globals = On
    ------------------------------
    or in .htaccess add this code:
    php_flag register_globals = On
    ------------------------------
    good luck
    [Only registered and activated users can see links. Click Here To Register...]Your mobile portal pocket

  7. #7
    ori
    ori is offline
    Senior Member
    Join Date
    Oct 2007
    Location
    australia
    Posts
    509
    Thanks
    2
    Thanked 73 Times in 12 Posts
    Rep Power
    0

    Default

    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

  8. #8
    Member
    Join Date
    Jun 2007
    Location
    SihalawaP City
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    THNX yall , Wiz,Ori, n KISS

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Corect User Agent
    By alesh in forum Coding Forum
    Replies: 3
    Last Post: 24-02-08, 12:30
  2. User Agent Strings
    By v1rax in forum Coding Forum
    Replies: 3
    Last Post: 25-01-08, 13:37
  3. New Lavalair Script !
    By smart_k in forum Coding Forum
    Replies: 11
    Last Post: 09-07-07, 00:08
  4. User Gallery Script
    By wizard in forum Coding Forum
    Replies: 19
    Last Post: 09-02-07, 13:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19