On Sunday 01 December 2002 15:33, Hugh Danaher wrote:
> Not sure how to supress the warning message that PHP automatically does
> when you haven't got a valid URL though.

Error reporting options can be set in php.ini or by using ini_set().

> should be able to surpress errors by adding an * before the result variable
>
> *$fp = fopen($linkdata['linkurl'],"r");

I think you mean '@':

  $fp = @fopen($linkdata['linkurl'],"r");

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Blessed is he who expects no gratitude, for he shall not be disappointed.
                -- W.C. Bennett
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to