block wap for pc
Started on the old forum in June 2010 · view the original in the archive · old links redirect here
waptrickir wrote: How I entering those computer site I'd visit ends Example: wapking.com/
i dont really understand what you want?
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ノ刀ノイリ!
use the function from: Detect Mobile Browsers - Mobile User Agent Detection
then:
require_once('mobile_device_detect.php');
if(!mobile_device_detect())
{
echo 'You can access this page only with your mobile phone!';
exit(0);
}
Advertise your mobile site for FREE with AdTwirl
GumSlone wrote: use the function from: Detect Mobile Browsers - Mobile User Agent Detection
then:
require_once('mobile_device_detect.php'); if(!mobile_device_detect()) { echo 'You can access this page only with your mobile phone!'; exit(0); }
i wonder if it works properly with mozila useragent addon
Anshul wrote: i wonder if it works properly with mozila useragent addon
no, it will detect firefox as a mobile when user agent overwrite enabled.
Advertise your mobile site for FREE with AdTwirl
Download and parse logofon ip base! Useragent can change, but operator's ip not change. http://www.logofon.ru/xml/ips.xml
Mars wrote: Download and parse logofon ip base! Useragent can change, but operator's ip not change. http://www.logofon.ru/xml/ips.xml
true... but theres no croatia IP of mobile providers... also theres no slovenian mobile providers IPs... and so on and so on... so.. basicly many real phone userswould be banned just cos your IP database is outdated ??
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ノ刀ノイリ!
I use wapdesire and i use block.php for it. .but when i block opera it also blocks operamini . . .n0w i want the codes that block all pc user agents and allow all m0bile opera, m0zilla ,and m0bile default browser thanx. .any1?
Pls any0ne p0st here the c0des with dtails, . . .block.php
shakil420 wrote: I use wapdesire and i use block.php for it. .but when i block opera it also blocks operamini . . .n0w i want the codes that block all pc user agents and allow all m0bile opera, m0zilla ,and m0bile default browser thanx. .any1?
Pls any0ne p0st here the c0des with dtails, . . .block.php
just upload and unzip this and edit index.php to redirect mobile browsers to original site page and redirect pc browsers to block.php or whatever.