hello,
this is reagrding preg_match() ......
==================================
// to get the host name from URL
preg_match("/(http:\/\/)?([\/]+)/i",
"http://www.php.net/index.html", $matches);
$host = $matches[2];
this is not clear to me ...... i m unable to understand the code from "?"
[url]http://[/url] is fine ... this is trapped by (http:\/\/)
but after that, what is use of "?([\/]+)"
thanks for ur time,
vivek