There is a list urls like
"http://books.rediff.com/categories/travel/general/2288"
I wish to find out whether they start from "http:/" or are relative urls starting from "/", if true store them in an array !
...
if (strpos($html->href, 'http://') <= 0) {
array_push($urlarray, $link->href);
}
...
This does not work ....
How should I do it ??
Please help!