home of the Help (www.Bkjia.com) tutorialIn the end, I'm going to use PHP to do something.!php's haze has always enveloped me! Hehe, don't complain about it, let it be used for my happiness. Learn all the essence of him. Crawl has always been my strength, two years later to see PHP, start from here. Oh!
The code is as follows (currently copy a paragraph from another site, and will be gradually perfected and powerful):
The following is the referenced content: $num =file_get_contents (' http://www.bkjia.com/'); Web Site Section
$num =str_replace ("xxxx", "yyyy", $num); The template language is replaced with the generated program
Eregi ("(.*)", $num, $head); Get fromToBetween the characters and placed in the $head array
echo $head [0];
?> |
Article from: http://www.cnblogs.com/jguangliang/
http://www.bkjia.com/PHPjc/364321.html www.bkjia.com true http://www.bkjia.com/PHPjc/364321.html techarticle Fire Net (liehuo.net) tutorial Finally, I still want to use PHP to do something ah!php haze always shrouded me! Hehe, don't complain about it, let it be used for my happiness. Learn all the essence of him. Grab a ...