hallo zusammen,
ich bin jetzt bei php klassen über "::" gestolpert.
so wie hier:
public function __construct() {
if (Register::Check()) {
$email=$_SESSION['email'];
$this->db=new Basic;
$result=$this->db->query("SELECT id, active_status FROM login WHERE email='$email' LIMIT 1");
$this->login_id=$this->db->dbresult($result,0);
$this->login_active_status=$this->db->dbresult($result,1);
}
else {
myLog::add(0,"POSSIBLE ABUSE","someone tried to enter member area without credentials");
die('ACCES INTERZIS');
}
}
was bedeutet sowas wie :
Register::Check()
oder
myLog::add(....)
danke schonmal
uwi