i got this script to divert vistors to wml/wap browser if they browsing from their mobile phone but don't know where should i put this PHP code. its not working with wordpress index.php this is the code for divert visitors to wap and this is the wordpress index.php ( i tried it but not working ) why?