@ sign is your friend.
if ($file = @fopen('...', 'r'))
{
} else
{
}
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Ade Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I am trying to open a file which exists remotely(code works), b
Hi
I am trying to open a file which exists remotely(code works), but there may
be times when it may not exist, however when I change the url so that it
purposely doesn't exist to test this situation I get an error message like
the following:
Warning: fopen("","r") - No error in test.php on line
2 matches
Mail list logo