Filed to JSON
Good communication and fast work.
I recommend cooperation!
Budget: 200 UAH Deadline: 1 day
I do it within an hour.
Budget: 200 UAH Deadline: 1 day
Take right now.
в кроне каждую минуту
$f = file_get_contents('http://тот другой сайт')
file_put_contents('/папка_куда/имя_файла.txt')
в обработчике
$json = json_decode(file_get_contents('/папка_куда/имя_файла.txt'))
Это самый простой путь.
<?
# skype: master301_php
$home = $_SERVER['DOCUMENT_ROOT'];
$file = $home.'/liveu.json';
if (!file_exists($file)) {file_put_contents($file,' ');}
$url = 'http://Внешний сайт/json/liveu.json';
$text = file_get_contents($url);
if (empty($text)) {$text = ' ';}
file_put_contents($file,$text);
# Запускаем крон на каждую минуту
# Теперь можем получить файл со своего хостинга
?>
Content Management Systems 31 proposals 2 August
Website Development 58 proposals 30 July
Desktop Apps 66 proposals 28 July
28 proposals 28 July
10 proposals 26 July