Размер файла: 703B
- <?
- $url = "http://wap.ngs.ru/horo/tomorrow/telec.wml";
- $data_start = '<b>';
- $data_end = '</p>';
- $data_new_start = '';
- $data_new_end ='';
- @eregi("$data_start(.*)$data_end",@fread(@fopen($url,"rb"),65536), $out);
- echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Cache-Control" content="no-cache" forua="true"/>
- <title>WestSide</title>
- </head>
-
- <body bgcolor="#000000" text="#F39800" link="#B025BF" vlink="#B025BF" >
- <p><b>
- ';
- print "$data_new_start ".$out[1]." $data_new_end";
- echo '<a href="http://westside.org.ru">go home</a>
- </p>
- </body>
- </html>
- ';
- ?>