## START | - Mysql
$dbhost = 'localhost';											
$dbuser = '';												
$dbpass = '';										
$dbname = '';
$dbh = mysql_connect($dbhost,$dbuser,$dbpass) or die ("not connect : ".mysql_error());														
mysql_select_db($dbname) or die ("not select : ".mysql_error());

## STOP  | - Mysql

##################################

## START | Curl bağlan
function siteBaglan($url){
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	$browser = $_SERVER['HTTP_USER_AGENT'];
	curl_setopt($ch, CURLOPT_USERAGENT,"googlebot");
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($ch, CURLOPT_REFERER, "http://www.google.com/");
	$source = curl_exec($ch);
	curl_close($ch);
	return $source;
}
## STOP | Curl bağlan

##################################

# | ALL URL | START

$site = 'http://www.funnyplace.org/sitemap.xml';
preg_match_all('#<loc>(.*?)</loc>#s',siteBaglan($site),$urller);
$url="";
for ($a=0; $a<count($urller[1]); $a++) {
	$url .=$urller[1][$a].'<hr>';	
	 
}
# | ALL URL | STOP

echo $url;


--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 02:42:27 -->-> Daha önceki mesaj 02:29:36 --

Durum nedir bilgilendirir misin.