note 15451 added to function.fopen

From: Date: Tue, 11 Sep 2001 12:18:31 +0000
Subject: note 15451 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-17897@lists.php.net to get a copy of this message
If you don't know if the URl has the proper Slash try this: $fp = @fopen("$url","r"); if (!$fp) $fp = @fopen("$url/","r"); Semms to work fine get_meta_tags() has the same problem sinc 4.05... http://www.php.net/manual/en/function.fopen.php

« previous php.notes (#17897) next »