php2012伦敦奥运会运奖牌榜
<?php define('SINA_SAE', '0'); //是否启用新浪SAE平台1为使用0为不使用 $ayurl="http://2012.titan24.com/medal.html"; $content=fcontents($ayurl); preg_match_all('|<p class=\"box bdr1\">(.*)</table>|isU',$content,$table); echo ' <html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>奥运奖牌榜_2012伦敦奥运会_爱美丽网</title> <meta name="description" content="爱美丽网提供最新,最准确,最专业,最权威的2012伦敦奥运会奖牌榜。" /> <meta name="keywords" content="伦敦奥运奖牌榜,金牌榜,中美争霸,爱美丽网" /> <style> .time {height: 24px;padding: 10px;} .fR {float: right;} .fL {float: left;} table.ctab {font-family: Arial,Helvetica,sans-serif;width: 100%;} table {border-collapse: collapse;border-spacing: 0;} table.ctab th {background: none repeat scroll 0 0 #F1F3F4; color: #0C48A0;font-size: 14px;font-weight: bold;height: 28px;text-align: center;} table.ctab td {color: #000000;font-size: 14px;height: 28px;line-height: 28px;text-align: center;} table.ctab td.na, table.ctab th.na {padding-left: 16px;text-align: left;} table.ctab td.red {color: #DD0000;} table.ctab td.blue {color: #00509C;} </style>'.$table[1][0].'</table> <p><a href="http://www.ibtf.net">爱美丽网</a> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src=\'" + _bdhmProtocol + "hm.baidu.com/h.js%3F14be499358383bc5a422ceab62afe0f6\' type=\'text/javascript\'%3E%3C/script%3E")); </script> </p> '; function fcontents($a){//获取内容 if(SINA_SAE){ $f = new SaeFetchurl(); $content = $f->fetch($a); if($f->errno() == 0) $r=$content; else $r=$f->errmsg(); }else{$r=@file_get_contents($a);} return $r; }?>
2. [图片] QQ截图20120717151105.png
以上就是php2012伦敦奥运会运奖牌榜的内容,更多相关内容请关注PHP中文网(www.php.cn)!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use