On Tue, 2009-10-20 at 11:34 -0400, resea soul wrote: > Hi, > > I'm using the function file_get_contents($url). If the url is invalid the > function displays a warning message while I am using my own customized > message. I want to get rid of the warning message. > > Thank you How do you mean an invalid URL? A URL that is not valid as in $url = "poo" or a valid formed URL that doesn't exist? Thanks, Ash http://www.ashleysheridan.co.uk