PHP Classes

Very good, I have simular class.

Recommend this page to a friend!

      Very Simple IP Details  >  All threads  >  Very good, I have simular class.  >  (Un) Subscribe thread alerts  
Subject:Very good, I have simular class.
Summary:Package rating comment
Messages:3
Author:Velimir Majstorov
Date:2017-08-19 12:36:28
 

Velimir Majstorov rated this package as follows:

Utility: Sufficient
Consistency: Sufficient
Examples: Good

  1. Very good, I have simular class.   Reply   Report abuse  
Picture of Velimir Majstorov Velimir Majstorov - 2017-08-19 12:36:28
Very good, I have simular class.
For more info about contructor, read this:
php.net/manual/en/language.oop5.dec ...

  2. Re: Very good, I have simular class.   Reply   Report abuse  
Picture of Velimir Majstorov Velimir Majstorov - 2017-08-19 12:43:07 - In reply to message 1 from Velimir Majstorov
Also you need to change this:

$this->ip=$ipaddress;

with:

$this->ip = filter_var($ipaddress, FILTER_VALIDATE_IP) ? htmlspecialchars($ipaddress, ENT_QUOTES | ENT_HTML401, 'UTF-8') : NULL;

  3. Re: Very good, I have simular class.   Reply   Report abuse  
Picture of zinsou A.A.E.Moïse zinsou A.A.E.Moïse - 2017-08-19 17:50:06 - In reply to message 2 from Velimir Majstorov
thanks...