Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 8th, 2004, 9:09 AM   #1
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I'm having a bit of trouble getting the get_browser() to work. A warning, "get_browser() [function.get-browser]: browscap ini directive not set", is returned, even though there is a browscap.ini file in the PHP directory from www.garykeith.com, and php.ini says "browscap = browscap.ini". I've tried various arrangements, with the full path (E:\PHP\browscap.ini), both with forward- and back-slashes, on its own, with a single forward-slash at the front ("/browscap.ini"), all with and without surrounding quotes. I'm officially stuck - can anyone help?

I'm running PHP v5.0.2.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Nov 8th, 2004, 10:21 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
my guess is that the problem is in the php.ini file.

what directory is your browscap.ini located in? Where does phpinfo() report it being? Do these two match?
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Nov 8th, 2004, 11:21 AM   #3
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Mym guess would have to be the same thing, could you run php_info() in a borwser on a page (with nothing else being called) and maybe provide a link to this page so we can view a bit more information abou your PHP Installation on php.ini file?
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Nov 8th, 2004, 4:38 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Both php.ini and browscap.ini are located in E:\PHP. My PHP Info page is at http://80.1.252.217/phpinfo.php - take a look. Currently, in php.ini, browscap = browscap.ini.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Nov 8th, 2004, 4:57 PM   #5
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
i see the value "no value in browsecap right now, can sombody else verify?
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Nov 9th, 2004, 5:42 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I see "no value" as well, I'm afraid. This officially sucks.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC