restrict web access for a wap site

Discussion in 'Programming' started by dotcommakers, Feb 4, 2008.

  1. #1
    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?
     
    dotcommakers, Feb 4, 2008 IP
  2. troyan_comu

    troyan_comu Well-Known Member

    Messages:
    172
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #2
    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.
     
    troyan_comu, Feb 4, 2008 IP
  3. yovishnurulez

    yovishnurulez Banned

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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..
     
    yovishnurulez, Feb 4, 2008 IP
  4. dotcommakers

    dotcommakers Active Member

    Messages:
    286
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    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 4, 2008 IP
  5. dotcommakers

    dotcommakers Active Member

    Messages:
    286
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #5
    dotcommakers, Feb 4, 2008 IP