Editor: Just put this code into your index page, and put $unique_ip wherever you want the Counter number. Be careful because The IP list file must be world changeable.
this is just a quick and dirty. If you feel that you want to Flame me for this, don't bother,I know it sux.