Here is a new script/idea i have for redirection. I have been using it for some of my sites. I used and updated a short line of code i found in the index.php of one of the old cult scripts 
---
Multi Direct - by devianceX
---
This is a multi redirection script that will detect if a browser can accept html, wml, or both.
The theory behind this is simple: if the browser accepts only html it is more than likely to be a web browser, if the browser accepts only wml it must be a wap 1.0 device, if it accepts html and wml it is more than likely a wap 2.0 device/pda/symbian/smartphone, and if its none of the above.. Mmm maybe its a bot script or a hacking attempt?
---
Install
---
This script is super simple to install, simply change the variables in index.php and upload to your portal site.
If you are already using index.php you could rename the file and just use the PHP INCLUDE command to include it in your index.php or simply copy the code to your existing index.php above the header
---
To Do
---
Still need to work out how to determine a symbian device from a wap 2.0 device that don't support symbian apps, if you know how to do this please mail admin@hack.s-60.org or visit me at http://wapforum.uk.to and send a private message to devianceX
---
© 2001-2006 devianceX
---
DOWNLOAD MULTI DIRECT BY DEViANCE HERE:
http://wapforum.uk.to/files/multi_di...b_devX_258.zip
---
Multi Direct - by devianceX
---
This is a multi redirection script that will detect if a browser can accept html, wml, or both.
The theory behind this is simple: if the browser accepts only html it is more than likely to be a web browser, if the browser accepts only wml it must be a wap 1.0 device, if it accepts html and wml it is more than likely a wap 2.0 device/pda/symbian/smartphone, and if its none of the above.. Mmm maybe its a bot script or a hacking attempt?
---
Install
---
This script is super simple to install, simply change the variables in index.php and upload to your portal site.
If you are already using index.php you could rename the file and just use the PHP INCLUDE command to include it in your index.php or simply copy the code to your existing index.php above the header
---
To Do
---
Still need to work out how to determine a symbian device from a wap 2.0 device that don't support symbian apps, if you know how to do this please mail admin@hack.s-60.org or visit me at http://wapforum.uk.to and send a private message to devianceX
---
© 2001-2006 devianceX
---
DOWNLOAD MULTI DIRECT BY DEViANCE HERE:
http://wapforum.uk.to/files/multi_di...b_devX_258.zip


Comment