Re: Condition for link not found
| From: | Hartmut Holzgraefe | Date: | Fri, 21 Jun 2002 07:31:37 +0000 |
| Subject: | Re: Condition for link not found | ||
| References: | 1 2 3 4 | Groups: | php.lang |
| Request: | Send a blank email to php-lang+get-317@lists.php.net to get a copy of this message | ||
Joey Smith wrote:
It depends on your needs. fread() or fgets() are probably the easiest way to do it. http://www.php.net/fread http://www.php.net/fgetsif you do not care about relative links and image locations within the page: fpassthru($fp); # http://php.net/fpassthru but more likely you need to fclose($fp); header("Location: $url"); exit; PS: beware, fopen() is not good at handling timeout conditions PPS: please move the discussion to the php-general list
php-lang was meant for discussing language specification-- Hartmut Holzgraefe hartmut@six.de http://www.six.de/ +49-711-99091-77