![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I got php to work on my linux box. the following code works on another linux machine, but not mine: <?php echo $HTTP_USER_AGENT; ?> do I need to configure something? do I need to add some modules? do you need more infomation? | |||
|
| Advertisements |
| | #2 | ||
| "stinkbomb" <user@someserver123abc.com> ha scritto nel messaggio news:3EF76976.530CBF82@someserver123abc.com... > I got php to work on my linux box. > > the following code works on another linux machine, but not mine: > > <?php > echo $HTTP_USER_AGENT; > ?> > > do I need to configure something? > do I need to add some modules? > > do you need more infomation? try $_SERVER['HTTP_USER_AGENT']; | |||
|
| | #3 | ||
| Sup, have you tried to look at the Global Variables that are set? If you dont know how to access them try out the code below. <?php phpinfo(); ?> Hope that helps you out. AP "Juz" <juji_juzzzz@hotmail.com> wrote in message news:NVJJa.131306$pR3.2973332@news1.tin.it... > > "stinkbomb" <user@someserver123abc.com> ha scritto nel messaggio > news:3EF76976.530CBF82@someserver123abc.com... > > I got php to work on my linux box. > > > > the following code works on another linux machine, but not mine: > > > > <?php > > echo $HTTP_USER_AGENT; > > ?> > > > > do I need to configure something? > > do I need to add some modules? > > > > do you need more infomation? > > try > $_SERVER['HTTP_USER_AGENT']; > > | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: linux, php, slackware |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run Linux from a CD. | modric | Linux | 2 | 09-02-2007 6:45 AM |
| GPS and Linux | Ron | GPS | 2 | 06-25-2007 10:41 PM |
| SDL+OpenGL on PS2 Linux | Morten Perriard | Software Programming | 1 | 06-12-2007 10:32 PM |
| FA: Several versions of Linux, Mandrake, Slackware, etc. | Paul | Ebay Technical Questions | 0 | 05-30-2007 11:38 PM |
| Ever used linux? | mayank | Linux | 2 | 04-12-2006 10:01 PM |
| Featured Websites | ||||
|