i need to block any desktop traffic

Joined
Nov 30, 2018
Messages
749
Reaction score
123
hello guys

i don't know much about this,but i need to block all traffic sources except for mobile phones and tablets. so,i need to block windows systems i guess. im using cpanel paid host. how to do it? :)
 
hello guys

i don't know much about this,but i need to block all traffic sources except for mobile phones and tablets. so,i need to block windows systems i guess. im using cpanel paid host. how to do it? :)
mobile detect php.
If (mobile) {
do nothing;
} else {
redirect to google;
or die();
}

you cand use this to detect: mobiledetect.net
 
mobile detect php.
If (mobile) {
do nothing;
} else {
redirect to google;
or die();
}

you cand use this to detect: mobiledetect.net

Sory but I got another question, since I found a website only allow mobile phone to view and block all PC traffics, so any ways to check the website via PC? I think there are maybe some spoof tools but I can't find it...
 
well i used to optimize it only for phone browsers. the site worked for pc's also,but it was all messed up,not readable. but now i broke that somehow. cpanel sucks in every aspect,they made some changes/updates one month ago...
 
i fixed it another way. i de-optimized it for desktop and wide screen devices. it's broken now for any other devices,works well only on mobile. :) :) heheh fuking hakur
 
Back
Top