October 31st, 2000, 11:18 PM
-
November 1st, 2000, 08:12 AM
-
This can be done with regular expressions..
But i'm just writing an easy way to do this:
<?
$verbose="http://www.devshed.com/cgi-bin/ubb/postings.cgi?action=newtopic&number=5&forum=PHP";
$values=explode("/",$$verbose);
//split the values based on '/'.
$clear="http://".$values[2];
echo $clear;
?>
------------------
SR -
webshiju.com
www.jobxyz.com-IT Career Portal
ezipindia.com--WebStudio
"The fear of the LORD is the beginning of knowledge..."
[This message has been edited by Shiju Rajan (edited November 01, 2000).]