Search found 7 matches

by evilman
Fri Dec 16, 2005 11:53 pm
Forum: PHP - Code
Topic: Parse error (RESOLVED)
Replies: 4
Views: 671

Finally got it!

Code: Select all

<?php
  if ($_GET['update'] == 'pass') 
   { 
echo "<font color='green'>Password Updated!</font>\n"; 
}
   if ($_GET['update'] == 'email') {
    echo "<font color='green'>E-Mail Address Updated!</font>\n"; 
   }

            ?>
by evilman
Fri Dec 16, 2005 11:33 pm
Forum: PHP - Code
Topic: Parse error (RESOLVED)
Replies: 4
Views: 671

still get same error!
by evilman
Fri Dec 16, 2005 11:02 pm
Forum: PHP - Code
Topic: Parse error (RESOLVED)
Replies: 4
Views: 671

Parse error (RESOLVED)

Ok guys, I am trying to make it so when a person goes to index.php?update=pass or ?update=email it tells them a message. I came up that The best way to do this is: <?php if ($_GET['update'] == pass) echo "<font color='green'>Password Updated!</font>\n"; { if ($_GET['update'] == email) echo...
by evilman
Wed Oct 12, 2005 5:04 am
Forum: PHP - Code
Topic: Ban script
Replies: 11
Views: 657

Good Idea. But i still wodner about the wild Cards
by evilman
Mon Oct 10, 2005 8:05 pm
Forum: PHP - Code
Topic: Ban script
Replies: 11
Views: 657

So what would eb the full code to handel it all? You kinda confused me. What i got is that all ips are dumped into a Database, BannedIPS.txt and it reads from that.
by evilman
Mon Oct 10, 2005 5:30 am
Forum: PHP - Code
Topic: Ban script
Replies: 11
Views: 657

With that, the script did not work at all for me.
by evilman
Mon Oct 10, 2005 12:22 am
Forum: PHP - Code
Topic: Ban script
Replies: 11
Views: 657

Ban script

Ok, i got two things, 1. How can i convert the bellow script so that i can use wild Cards to ban IP Address. Also possibly be able to ban ISP domains, like rr.net Where it resolves the DNS and if it has rr.net in it, it also denies them. <? $fp = fopen("BannedIPs.txt", "r"); $ban...