Page: Previous  1, 2

Dave
Status: Curious
Joined: 09 Aug 2004
Posts: 6
Reply Quote
Thanks again for help.

Now itīs working the way I like.
I have done a browser_test.php and this is the only way it works.
With the browser_test.html it is not working.

I will recommend your sript and your help.

Thx again.
Back to top
melvnatic
Status: Curious
Joined: 16 Apr 2006
Posts: 6
Reply Quote
"Your folder should be here, at the root:

-includes
---browser_detection.php
-other-site-folders
index.html
browser_test_page.php "


Should all of my folders be inside a folder named "includes"?
Back to top
melvnatic
Status: Curious
Joined: 16 Apr 2006
Posts: 6
Reply Quote
I'm getting this error:


Fatal error: Cannot redeclare browser_detection() (previously declared in /home/www/melvnatic.freehostia.com/test.php:49) in /home/www/melvnatic.freehostia.com/test.php on line 695
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4126
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
You're including the script twice somehow. That's why you get that error.
Back to top
melvnatic
Status: Curious
Joined: 16 Apr 2006
Posts: 6
Reply Quote
hmm...ok. If I pasted the script right into my php file, whould it work?

Thank you very much!
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4126
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
yes, it would work, though it's messy to do it that way.
Back to top
melvnatic
Status: Curious
Joined: 16 Apr 2006
Posts: 6
Reply Quote
what commands am I able to use to pull out the info from the script?

Thanks!
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4126
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
the list of options are in the beginning comments of the script. Search the web programming forums for some examples.
Back to top
Display posts from previous:   
Page: Previous  1, 2
All times are GMT - 8 Hours