Re: Get rid of warning massage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-10-20 at 19:01 +0300, Thodoris wrote:

> 
> 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> >   
> 
> 
> Does it really matter? In both cases the file_get_contents() wont be
> able to open the URL and it will produce a warning or an error.
> 
> -- 
> Thodoris


Matters a hell of a lot! If the url is not even partially validated at
all ($url="poo") then it could potentially be open to all manner of
attacks.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux