Hi,
can someone explain me why the script below doesn't work? When I try to run this in the browser, IE sends an error message: 'Internet Explorer cannot open the Internet site (...) The server returned an invallid or unrecognized response'.
Note that the script below is not very usefull, it is an example to illustrate what I'm trying to do in my real class.
Thanx in advance, Michiel
error_reporting(E_ALL);
class Test {
var $output;
function write() {
for($i = 0; $i < 5; $i++) {
$this->output .= "Hello world<br />";
$this->output .= $this->test();
}
print $this->output;
}
function test() {
$test = new Test;
return $test->write();
}
}