форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Вопросы по vBulletin 4.0.x-4.1.х
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
Crack
Простоузер
Default Скрипт погоды
0

есть парсер погоды, при добавлении его в блок все работает. но погода отображается над лого форума. вот код
$data = file_get_contents('http://meteocenter.net/nvs.htm');
preg_match('!<td class=\"m\">(.*)</td>!imU', $data, $result);
echo $result[1];
как это исправить?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Cybermama
Эксперт
 
Cybermama's Avatar
Default
1

$data = file_get_contents('http://meteocenter.net/nvs.htm');
preg_match('!<td class=\"m\">(.*)</td>!imU', $data, $result);
return $result[1];
 
 
Crack
Простоузер
Default
0

все работает! слушаем Кибермаму она просто золотой человек
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...