RE: [PHP] Read after parsing
| From: | John W. Holmes | Date: | Thu, 24 Apr 2003 01:27:47 +0000 |
| Subject: | RE: [PHP] Read after parsing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145105@lists.php.net to get a copy of this message | ||
> What is the function to read a file after it's been parsed by the
server?
> I was using fread but since I'm searching for a certain HTML code and
> since some sites I'm searching use templated content managment system
> (i.e. phpNuke), I need to view it after it's been parsed.
There's no function, you just need to open it up through HTTP, just like
a regular request...
$fp = fopen('http://www.domain.com','r');
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/