Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Xampp Problem

Options
  • 19-01-2007 6:30pm
    #1
    Registered Users Posts: 786 ✭✭✭


    I have Xampp control center installed with php and apache running with it when I try and run this
    <html>
    <head>
    <title>Your browser</title>
    </head>
    <body>
    <h1>Your Browser</h1>
    <p>
    You are using
    <?php echo $HTTP_USER_AGENT; ?>
    to view this page.
    </p>
    </body>
    </html>

    The HTTP_USER_AGENT does not run and this page is shown

    Your Browser

    You are using to view this page.
    IF create my own variable such as $user1 and give it a value this prints ok. Any one got any ideas spent about 2 hours trying to sort this!


Comments

Advertisement