Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What am I doing wrong

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Luciferr
Advanced Cheater
Reputation: 0

Joined: 26 Mar 2008
Posts: 86

PostPosted: Fri Apr 10, 2009 5:40 pm    Post subject: What am I doing wrong Reply with quote

Well i put this bit of PHP into my code but if you dont have a valid IP then it echos what I want it to 4 times as you can see here:
www.beaureilly.alphagaming.info/php.php
Help

<?php
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {

$ip = $_SERVER['HTTP_CLIENT_IP'];

} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {

$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];

} else {

$ip = $_SERVER['REMOTE_ADDR'];

}



$validIPs = array("removed IP", // Lindsay

"Removed IP", // Beau

"removed IP", // School

"removed IP"); // Taylor's Phone



for($i = 0; $i < count($validIPs); $i++) {

if($ip == $validIPs[$i]) {

echo('
Welcome to the PHP section of the website! Your IP address has been accepted.');


}

elseif($ip != $validIPs[$i]) {
echo('
Your IP has not been accepted please email me at <a href="mailto:[email protected]">[email protected]</a> if this is a mistake or you would like your IP to be accepted.');
}
}

?>
Back to top
View user's profile Send private message
Hannah.
How do I cheat?
Reputation: 13

Joined: 28 Aug 2008
Posts: 0

PostPosted: Fri Apr 10, 2009 5:45 pm    Post subject: Reply with quote

Wait, what?
_________________
THE CONSEQUENCES WILL NEVER BE THE SAAAAAAME
Back to top
View user's profile Send private message
[SPW]Killamoocow
Master Cheater
Reputation: 30

Joined: 07 Nov 2007
Posts: 439
Location: Secret Cow Level

PostPosted: Fri Apr 10, 2009 5:46 pm    Post subject: Reply with quote

Everything.
_________________

Back to top
View user's profile Send private message MSN Messenger
Luciferr
Advanced Cheater
Reputation: 0

Joined: 26 Mar 2008
Posts: 86

PostPosted: Fri Apr 10, 2009 5:49 pm    Post subject: Reply with quote

[SPW]Killamoocow wrote:
Everything.


No its just one little fuck up and I cant get it right
Back to top
View user's profile Send private message
Anarchy
Expert Cheater
Reputation: 29

Joined: 15 Feb 2009
Posts: 104
Location: There.

PostPosted: Fri Apr 10, 2009 5:49 pm    Post subject: Reply with quote

[SPW]Killamoocow wrote:
Everything.
Oh no, you beat meh...
Back to top
View user's profile Send private message
HackOtaku
I posted the 500000th topic
Reputation: 81

Joined: 31 May 2007
Posts: 228

PostPosted: Fri Apr 10, 2009 5:50 pm    Post subject: Reply with quote

CheeseLover wrote:
[SPW]Killamoocow wrote:
Everything.


No its just one little fuck up and I cant get it right
Same thing your parents said when I asked about you =/
Back to top
View user's profile Send private message
Luciferr
Advanced Cheater
Reputation: 0

Joined: 26 Mar 2008
Posts: 86

PostPosted: Fri Apr 10, 2009 5:50 pm    Post subject: Reply with quote

HackOtaku wrote:
CheeseLover wrote:
[SPW]Killamoocow wrote:
Everything.


No its just one little fuck up and I cant get it right
Same thing your parents said when I asked about you =/


lol'd my parents are afraid of me :3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites