tcrow777
New Member
- Messages
- 36
- Reaction score
- 0
- Points
- 0
I cannot get this PHP browser detection script I wrote script to work. I have PHP basic.Fatal error: Call to undefined function browser_detection() in /home/tcrow777/public_html/blog/wp-content/themes/disconnected-102/header.php on line 2
Here is the code:
PHP:
<?php
if ( ( browser_detection( 'browser' ) == 'ie' )
&&
( browser_detection( 'number' ) <= 6 ) )
{
header( 'Location: http://tcrow777.x10hosting.com/bad_explorer.html' ) ;
}
?>
-Timothy