View Full Version : restrict web access for a wap site
dotcommakers
Feb 4th 2008, 1:12 pm
hello friends
i am developing a wap site with .net domain and with php.
To stop linking/abuse of direct file access via web, I want to restrict web access. so when some one visit my wap site via web browser, it should not work
any help?
troyan_comu
Feb 4th 2008, 1:19 pm
you can create a filter system for browser access (redirect to error page if user come via web browser). You can allow access only for mobile browsers.
yovishnurulez
Feb 4th 2008, 2:48 pm
You can create a WAP page,but remember WAP pages can also be opened by the FireFox users with the help of a plugin.
if you need any further help,then let me know..
dotcommakers
Feb 4th 2008, 9:28 pm
i have created a xhtml page with this
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" -->
i have to use .php extension.. this site was created in php by site.mobi .. i have to use .php anyway
can any one help
dotcommakers
Feb 4th 2008, 10:36 pm
ok finally i found the solution
http://www.andymoore.info/php-to-detect-mobile-phones/
cheers
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.