PHP Classes

some errors

Recommend this page to a friend!

      DNSResolver  >  All threads  >  some errors  >  (Un) Subscribe thread alerts  
Subject:some errors
Summary:some small errors in source of DNS.php
Messages:3
Author:Lukasz
Date:2006-02-03 11:21:07
Update:2008-01-14 06:18:08
 

  1. some errors   Reply   Report abuse  
Picture of Lukasz Lukasz - 2006-02-03 11:21:07
I'm using this class in email validation class, and when I started sample from email val. class my server throw me some errors.

All you need is to change all lines contains
$this = false;
return;

into

return false (erease $this=false line)

And all of it should work just fine :)

  2. Re: some errors   Reply   Report abuse  
Picture of kiong kiong - 2007-07-14 11:49:54 - In reply to message 1 from Lukasz
I haved change the line $this = false; and the result work. But PHP show the error message like this:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in dns.php on line 224.
How about this error?

  3. Re: some errors   Reply   Report abuse  
Picture of Shahed Shahed - 2008-01-14 06:18:08 - In reply to message 2 from kiong
Warning: fread() [function.fread]: Length parameter must be greater than 0 in ..... on line 224

any idea?