No User At Pc In My Community

Started on the old forum in May 2007 · view the original in the archive · old links redirect here

15 replies · 776 views · started 19 years ago · 1 min read

5 participants
sweetangel Lead · 885 posts #1

I will block the user if this use ba pc 4 acces in my funmobile community... but not if the user use a telephone or opera...any1 help me??

if like my post click:

External image (may be gone)

blackhowk Senior · 411 posts #3

i have a old script from internet. edit as you wish.

<?php //Configuration global $userBrowser; // Your wapsite //enter the link you want user to be redirected in case of WML browser $wmllink = "http://www.ngeo.biz/wml/index.php"; // Your website //enter the link you want user to be redirected in case of PC browser $htmllink = "http://www.ngeo.biz/xhtml/index.php"; //There is no need to edit any information from this point on //however in case if you want to contribute please do so //please be sure to let me know about the changes //Detect the browser $userBrowser = $_SERVER['HTTP_USER_AGENT']; //Remove the below // qutoes. //It helps to check if there is any error when editing //If everything is all right it will display the browser information //please remember to put // back after testing or no redirection will occur //echo $userBrowser; //Check for Mozilla if(stristr($userBrowser, 'Mozilla')) { $ub="PC"; } //Check for Mozilla elseif(stristr($userBrowser, 'gecko')) { $ub="PC"; } //Check for opera elseif(stristr($userBrowser, 'opera')) { $ub="PC"; } //Check for omniweb elseif(stristr($userBrowser, 'omniweb')) { $ub="PC"; } //Check for msie elseif(stristr($userBrowser, 'msie')) { $ub="PC"; } //Check for konqueror elseif(stristr($userBrowser, 'konqueror')) { $ub="PC"; } //Check for safari elseif(stristr($userBrowser, 'safari')) { $ub="PC"; } //Check for netpositive elseif(stristr($userBrowser, 'netpositive')) { $ub="PC"; } //Check for lynx elseif(stristr($userBrowser, 'lynx')) { $ub="PC"; } //Check for elinks elseif(stristr($userBrowser, 'elinks')) { $ub="PC"; } //Check for Mozilla elseif(stristr($userBrowser, 'Mozilla')) { $ub="PC"; } //Check for links elseif(stristr($userBrowser, 'links')) { $ub="PC"; } //Check for w3m elseif(stristr($userBrowser, 'w3m')) { $ub="PC"; } //Check for webtv elseif(stristr($userBrowser, 'webtv')) { $ub="PC"; } //Check for amaya elseif(stristr($userBrowser, 'amaya')) { $ub="PC"; } //Check for dillo elseif(stristr($userBrowser, 'dillo')) { $ub="PC"; } //Check for ibrowse elseif(stristr($userBrowser, 'ibrowse')) { $ub="PC"; } //Check for icab elseif(stristr($userBrowser, 'icab')) { $ub="PC"; } //Check for crazy browser elseif(stristr($userBrowser, 'crazy browser')) { $ub="PC"; } //Check for IE elseif(stristr($userBrowser, 'internet explorer')) { $ub="PC"; } //If it's not any of the above browsers //Then it gotta be a WML or very unpopular browser else { $ub="WML"; } //Code for redirecting based upon the results if($ub == "PC") { header("Location: ".$htmllink); exit; } else { header("Location: ".$wmllink); exit; } ?>
amylee Principal · 1,092 posts #4

rofl d script only allows mobile devices and opera an firefox

dont forget winwap

alesh Lead · 604 posts #5

i have a block file and it redirect users with opera mozila etc.... i knw theres alot of other browsers and users still cn acces 2 my site with pc...it doesnt boder me cuz ill add those browsers 2 the block file...

BUT WHTS BODERS ME IS THT OTHER DAY SUM1 CAME 2 MY SITE WITH "WHY DO U CARE.. HAHAHA..." BROWSER!!!!

CN SUM1 HELP ME WITH THT???? HOW IT IS POSIBLE THT SUM1 WRITES THE NAME OF HIS BROWSER????

AND HOW CN I PROTECT MY SITE FROM THT????

PLS SUM1 REPLY

eeeeerrr....

amylee Principal · 1,092 posts #6

you cant fully block ppl with pcs from accessing your site for one opera lets you change how opera is identified ie as internet explorer/opera or mozilla plus any pc use can use a moblie phone simulator like the ones at yospace so its impossible and pointless

alesh Lead · 604 posts #7

yeah i knw i cnt block all pc browsers... still i got a peace now when opera is out lol...

but how 2 change so when i login tht it shows my browser like "sumthng i wrote" ?????

i wanna learn

eeeeerrr....

amylee Principal · 1,092 posts #8

theres a proxy app that allows it to be done but dont have any idea what it is as i forgot

alesh Lead · 604 posts #9

please remember it!!!! lol

i beg u!!!!

eeeeerrr....

amylee Principal · 1,092 posts #10

i cant plus i think you might need to mess about with the config files for opera like in firefox when typing in about:config

alesh Lead · 604 posts #11

hmmm okay ... .thanx anyway!!

eeeeerrr....

linkrx7 #12

i have a wap emulator on pc that i can rename the browser to what ever i want lol makes its way round the ip ban on lava lair script just ask subzero lol

alesh Lead · 604 posts #14

i have a wap emulator on pc that i can rename the browser to what ever i want lol makes its way round the ip ban on lava lair script just ask subzero lol

which is it???????

btw stargazer ip ban cn b pass away easily lol how many browser there is 4 nokia n80???? lol

4 e.g. mini opera???? lol im driving crazy sum special bastards lol especialy if they didnt blocked anonymouse sh#t!!! lol

eeeeerrr....

amylee Principal · 1,092 posts #15

im not talking about an ip ban im talking about rejecting an ip from accessing the server as this screenshot should show as all the 85.195.123.xx ip's are anonymouse lol try accessing lavalair.net with anonymouse

External image (may be gone)

alesh Lead · 604 posts #16

aha yeah thts diferent lol.... i just got block redirect file 4 anonymouse ...

and no, ill nt try 2 access lavalair with anonymouse lol i just get my account aproved after countless requests lol and i saw u ppl there got finger constantly on BAN button lol lol lol lol

im kiding...

eeeeerrr....

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close