Option Acces At My Site Page

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

15 replies · 1,467 views · started 19 years ago · 1 min read

TL;DR · summary of 15 replies
  • -sweetangel wanted a way to restrict access to their community only for mobile providers.
  • -The answers suggested using IP blacklisting or password protection as methods to achieve this.
  • -No clear code approach was provided in the thread.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

7 participants
sweetangel Lead · 885 posts #1

I wont only the mobile operator (vodafone etc) can acces at my community. pc not ability 4 acces.any1 can help me 4 add this ???

if like my post click:

External image (may be gone)

amylee Principal · 1,092 posts #3

pc users can get around this very easily they will just use a wap emulator like tagtag and what you are saying is stupid also

phoenix90 Developer · 113 posts #5

Yeah.. It is stupid, why do you want to throw away visitors???

amylee Principal · 1,092 posts #14

only way to do this is to create a password protected directory to where your site is located at on your server and ony give ppl you want the login info or use login procedure like username:password@yoursite.com but thats complicated and it's pointless as your stopping ppl coming in but no doubt you will spam to bring users in

blackhowk Senior · 411 posts #16

I wont only the mobile operator (vodafone etc) can acces at my community. pc not ability 4 acces.any1 can help me 4 add this ???

try this: find ip's for your operators, include on each page , where the number are the ip for vodafone, orange, etc

<?php $ip = $_SERVER['REMOTE_ADDR']; if ($ip == '000.000.000.001' || $ip== '000.000.000.002' || $ip == '000.000.000.003' || $ip == '000.000.000.004' ) { header("Location: [http://www.yoursite.com");](http://www.yoursite.com) } else { echo "Sorry,You dont have access here!"; } ?>

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