Posted by milahu on 04/03/06 17:25
You can obtain the generated code via PHP's output control functions
[1].
Writing files is done using fwrite() [2].
You can check the client's IP using following code:
<?php
$IP = explode('.', $_SERVER['REMOTE_ADDR']);
if ($IP[0] == '192' && $IP[1] == '168') {
// Client from 192.168.*
}
?>
[1] http://www.php.net/outcontrol
[2] http://www.php.net/fwrite
Navigation:
[Reply to this message]
|