Do you mean validate if it is real and exists? Check the fopen and fsockopen functions on php.net... lots of good examples of how to open urls, read the contents of the page and then close the connection. This will tell you if the URL is real... if that's what you want.
Dave
===========================================
http://badblue.com/helpphp.htm
Free small footprint web server for Windows
PHP, P2P file-sharing, transcoding and more