You are here: Re: Is this possible? « PHP Programming Language « IT news, forums, messages
Re: Is this possible?

Posted by GregoryD on 04/03/06 19:35

"milahu" <milahu@googlemail.com> wrote in message
news:1144074324.661115.67570@j33g2000cwa.googlegroups.com...
> 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

Thanks! That's exactly what I needed, just didn't know where to look. :)

GregoryD

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация