Is there any Css for mobile Only where pc user cannot view sit

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there any Css for mobile Only where pc user cannot view sit

    Plz upload at zip i want it

    #2
    Download this script then and upload it at ur site

    and add this code at all ur pages
    PHP Code:
    require_once('mobile_device_detect.php'); 
    mobile_device_detect
    (true,true,true,true,true,true,true,false,'http://Error page link'); 
    change error page link to where should pc users redirect, pc theme, error page whatever u want

    Comment


      #3
      Originally posted by kolkatawap View Post
      Plz upload at zip i want it
      i've told you once,
      you cannot block PC user/browser !
      how many times you need to be told ??
      beside... like you said your self
      Originally posted by kolkatawap
      Search google best place ever
      !
      It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
      ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
      ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
      キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

      Comment


        #4
        It is coding talk anyone can ask for help ok metuji dont mind i am just enhancing my knowledge

        Comment


          #5
          Originally posted by kolkatawap View Post
          It is coding talk anyone can ask for help ok metuji dont mind i am just enhancing my knowledge
          then why you are suggesting to others to search google ??
          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

          Comment


            #6
            Gaining knowledge is good metuji plz i hope you are right human being to help me i want my site to view only 4m mobile and if pc user cums msg raise to cum 4m mobile can u do dis 4 me plz i shall gv u my hosting cpenal pas just do it 4 me my email=rishigupta651@gmail.com

            Comment


              #7
              Originally posted by kolkatawap View Post
              Gaining knowledge is good metuji plz i hope you are right human being to help me i want my site to view only 4m mobile and if pc user cums msg raise to cum 4m mobile can u do dis 4 me plz i shall gv u my hosting cpenal pas just do it 4 me my email=rishigupta651@gmail.com
              i dont need your cpanel,
              and once again,
              you cant block pc users to view your aka mobile site !
              it is that simple
              It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
              ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
              ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
              キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

              Comment


                #8
                I will say what metulj is trying to say in straight english: its stupid, dumb, damned near impossible...not to mention, a waste of time (that could be better spent staring at the sky waiting for a comet to pass by) trying to stop PC users from viewing ur mobile site. The best thing you can do is create a PC version for ur site. Personally you should let the sleeping dog lie. If u really crave knwledge, expand ur knwledge on PHP this underated site can help :-) if after all i typed u still want to do this "wild goose chase" thing ur beyond help.

                Comment


                  #9
                  Yeah, you can not block pc browses. There are some plugins that can switch user agents for pc browsers. By using that anyone can browse your mobile site with out any problems.

                  Comment


                    #10
                    Haha it means all you are master stupid Try to open www.wapday.com 4m your pc and say what was it?is that site owner stupid or in reality u are his foot step in php coding

                    Thanks bro subzero you are realy a master brain but some are now a day doing small paste and saying themselves master example here infront of u

                    Added after 2 minutes:

                    www.wapday.com is a site that cannot be viewed 4m pc it accese Only Mobile Metuji and creative u gven long lecture saying me stupid now do justify
                    Last edited by metulj; 10.08.11, 09:49.

                    Comment


                      #11
                      You can block pc browsers

                      i coded this long but ago

                      CHAT SERVICE!

                      You can only view it thou mobile phone and im using opera
                      Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                      Visit: WapMasterz Coming Back Soon!
                      _______
                      SCRIPTS FOR SALE BY SUBZERO
                      Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                      FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                      _______
                      Info & Tips
                      php.net
                      w3schools.com

                      Comment


                        #12
                        Here the code you can play around with

                        if($mobile_only == "1")
                        {
                        $u_agent = $_SERVER['HTTP_USER_AGENT'];
                        function get_user_browser($u_agent) {
                        $ub = '';if(preg_match('/MSIE/i',$u_agent)){$ub = "ie";}elseif(preg_match('/Firefox/i',$u_agent))
                        {$ub = "firefox";}elseif(preg_match('/Safari/i',$u_agent)){$ub = "safari";}
                        elseif(preg_match('/Chrome/i',$u_agent)) {$ub = "chrome";} elseif(preg_match('/Flock/i',$u_agent))
                        {$ub = "flock";}{$ub = "opera";}return $ub; }
                        $notallowd = array("ie","opera","firefox", "chrome","flock","safari");
                        $browser = get_user_browser("$u_agent");
                        foreach($notallowd as $blocked) {
                        $blacked=str_replace('*', '', $blocked);
                        $len=strlen($blacked);
                        if ($browser==$blacked || substr($browser, 0, $len)==$blacked) {
                        $_banned_i=true; }}
                        if($_banned_i==true){
                        echo "<div class=\"header\"><img src=\"img/site/logo.png\" alt=\"Logo\"/><br/></div>";
                        echo "<div class=\"rekl\"><a href=\"$ads_link\">$ads_code</a><br/></div>";
                        echo "<div class=\"menu\">";
                        echo "<div>You can access this page only with your mobile phone!</div>";
                        echo "</div>";
                        echo "<div class=\"rekl\"><a href=\"$ads_link\">$ads_code</a><br/></div>";
                        echo "<div class=\"footer\">Design by <a href=\"http://wapdiz.ru\">inferno</a></div>";
                        exit(0);
                        }
                        }else{
                        }
                        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                        Visit: WapMasterz Coming Back Soon!
                        _______
                        SCRIPTS FOR SALE BY SUBZERO
                        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                        _______
                        Info & Tips
                        php.net
                        w3schools.com

                        Comment


                          #13
                          Originally posted by subzero View Post
                          You can block pc browsers

                          i coded this long but ago

                          CHAT SERVICE!
                          You can only view it thou mobile phone and im using opera
                          Sorry
                          HTTP request was interrupted by the host!
                          i get this from mobile even :P

                          Added after 6 minutes:

                          Originally posted by kolkatawap View Post
                          Haha it means all you are master stupid Try to open www.wapday.com 4m your pc and say what was it?is that site owner stupid or in reality u are his foot step in php coding

                          Thanks bro subzero you are realy a master brain but some are now a day doing small paste and saying themselves master example here infront of u

                          Added after 2 minutes:

                          www.wapday.com is a site that cannot be viewed 4m pc it accese Only Mobile Metuji and creative u gven long lecture saying me stupid now do justify
                          dont ever again call anyone here stupid, else i will ban you for sure !
                          now... look at the attached screen,
                          and explain to me which mobile phone has such screen resolution ???
                          better STFU
                          Attached Files
                          Last edited by metulj; 10.08.11, 09:52.
                          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                          Comment


                            #14
                            Metulj u might be using some kind of scripting to get into that link or something out of our brains or this world but the guy who posted this thread just asked for normal innocent help. we all know normal visitors are not so smart that they can view that site from pc as u can. he just asked for some coding for that. now see subzero as a real moderator provided him some sort of coding and tried to help him as he can instead of just insulting users. i suggest u if u cant help someone than please bro better dont reply to that post. u r super mod of this site so this does not mean that u can be rude to anyone. i saw u many times just doing bully on users instead of try to help them. totally unfair behaviour by a moderator. DONT BAN ME FOR THIS POST.

                            Comment


                              #15
                              Originally posted by joban111 View Post
                              Metulj u might be using some kind of scripting to get into that link or something out of our brains or this world but the guy who posted this thread just asked for normal innocent help. we all know normal visitors are not so smart that they can view that site from pc as u can. he just asked for some coding for that. now see subzero as a real moderator provided him some sort of coding and tried to help him as he can instead of just insulting users. i suggest u if u cant help someone than please bro better dont reply to that post. u r super mod of this site so this does not mean that u can be rude to anyone. i saw u many times just doing bully on users instead of try to help them. totally unfair behaviour by a moderator. DONT BAN ME FOR THIS POST.
                              poster has been told many times that blocking PC is nearly impossible,
                              yet, he is persistant to get code... and btw he must be superlazy as
                              redirection code been posted here many many times !
                              but i haven't insult him, not even once !
                              on the other hand, he insulted here in general(FIRST LINE)!
                              so feel free to NOT post bollox !!!
                              Last edited by metulj; 10.08.11, 11:21.
                              It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                              ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                              ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                              キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                              Comment

                              Working...
                              X