[php-list] Another PHP OOP question

2005-05-13 Thread Wade
05132005 1441 GMT-6 function isImage() { return (ereg("(\.jpg$) | (\.gif$) | (\.jpeg$) | (\.png$)" . $this->document, $trash)); } Still working on the tutorials, this function '... is a way of telling whether the reference ponits to an image or a webpage.' The last part, $this->doc

[php-list] Another PHP OOP question

2005-05-13 Thread Wade
05132005 1441 GMT-6 function isImage() { return (ereg("(\.jpg$) | (\.gif$) | (\.jpeg$) | (\.png$)" . $this->document, $trash)); } Still working on the tutorials, this function '... is a way of telling whether the reference ponits to an image or a webpage.' The last part, $this->doc