What's new

Account Maker Problem z ACC makerem gesior

Status
Not open for further replies.

Verdoom

Banned
Joined
Aug 7, 2012
Messages
238
Reaction score
6
Age
31
Odp: Problem z ACC makerem gesior

Mam to samo! Prosze o pomoc.
 

DD Soba

Advanced User
Joined
Jun 6, 2010
Messages
316
Reaction score
10
Age
30
Odp: Problem z ACC makerem gesior

A poda?e? tam swoje ip w pliku install? Mo?e za szybko go skasowa?e? i dlatego wywala b??d.
 

s4fun

Advanced User
Joined
Apr 18, 2009
Messages
199
Reaction score
24
Odp: Problem z ACC makerem gesior

Macie tam plik install.txt w nim wpisze swoje ip, a jak nie umiecie w pliku tekstowym wpisac swojego ip, to w pluku install.php skasujcie to:
PHP:
if(!file_exists('install.txt'))
{
	echo('AAC installation is disabled. To enable it make file <b>install.php</b> in main AAC directory and put there your IP.');
	exit;
}
$installIP = trim(file_get_contents('install.txt'));
if($installIP != $_SERVER['REMOTE_ADDR'])
{
	echo('In file <b>install.txt</b> must be your IP!<br />In file is:<br /><b>' . $installIP . '</b><br />Your IP is:<br /><b>' . $_SERVER['REMOTE_ADDR'] . '</b>');
	exit;
}
 

Verdoom

Banned
Joined
Aug 7, 2012
Messages
238
Reaction score
6
Age
31
Odp: Problem z ACC makerem gesior

Dzia?a! Thx
 
Last edited:
Status
Not open for further replies.
Top