نه بهترین کار رو کردی php نوشتی
شاید وقت کردم منم perl براش نوشتم
شاید وقت کردم منم perl براش نوشتم
نه بهترین کار رو کردی php نوشتی
شاید وقت کردم منم perl براش نوشتم
ممنون - دنبال یه همچین چیزی بودم دلم هم نمیومد تاپیک بزنم بخاطرش
set_time_limit(0);
<?php
ini_set("max_execution_time", "1000");
echo "started wait...";
for($pet=101;$pet <= 2479;$pet+=100){
$result[]=file_get_contents("http://www.persianpetition.com/signs.aspx?id=3807c300-ee0a-499f-800e-69540d898790&f=".$pet);
}
$words=array("@","at","dot");
find($words,$result);
function find($words,$result)
{
for($c=0;$c <= count($result)-1;$c++){
str_replace($words,$words,$result[$c],$numbs);
if ($numbs > 0){
$result[$c]=str_replace('</p>',' ',$result[$c]);
$result[$c]=str_replace(' ',' ',$result[$c]);
$result[$c]=str_replace('[dot]com','[dot]com ',$result[$c]);
$result[$c]=str_replace(' ',' ',$result[$c]);
$result[$c]=strip_tags($result[$c]);
$places=split(' ',$result[$c]);}
for($b=0;$b <= count($words)-1;$b++){
for ($i=0;$i <= count($places)-1;$i++)
{
str_replace($words[$b],$words[$b],$places[$i],$counter);
if($counter > 0 ){str_replace('com','com',$places[$i],$count_a);str_replace('net','com',$places[$i],$count_b);str_replace('c@m','com',$places[$i],$count_c);str_replace('c0m','com',$places[$i],$count_d);if($count_a > 0 or $count_b > 0 or $count_c > 0 or $count_d > 0){$places[$i]=str_replace('[at]','@',$places[$i]);$places[$i]=str_replace('[dot]','.',$places[$i]);$places[$i]=str_replace('(dot)','.',$places[$i]);$places[$i]=str_replace('(at)','@',$places[$i]);$res[]=$places[$i];}}
}
}}
for($d=0;$d <= count($res)-1;$d++)
{
$crazymail.=$res[$d].",";
}$today = date("His");
str_replace('@','@',$crazymail,$cnnon);
$fp=fopen($cnnon.'CrazySpider'.$today.'.diz','w');
fwrite($fp,$crazymail);
fclose($fp);
}
?>
تو پیام خصوصی سوال کردم گفتید جواب اینجاس .اما سهیل جان اینجا که چیزی ننوشتی شما !
لطفا یکی از دوستان توضیح بده کلا باید به چه شکل عمل کرد. در سطح مبتدی لطفا!
شما اول از همه باید برنامه XAMPP رو روی سیستمت نصب کن چون روی هاست به احتمال 99 درصد جواب نده
Easyphp هم جواب نمیده من تست کردم
اجرای این اسکریپت نیاز به php5 داره ! که xampp داره !![]()
من چی گفتم؟
$result[]=file_get_contents("http://www.persianpetition.com/signs.aspx?id=3807c300-ee0a-499f-800e-69540d898790&f=".$pet);
شما اول از همه باید برنامه XAMPP رو روی سیستمت نصب کن چون روی هاست به احتمال 99 درصد جواب نده
Easyphp هم جواب نمیده من تست کردم
ممنونم.میشه بگید XAMPP رو باید از کجا دانلود کرد؟