ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   PHP | Как сделать такой-же скрипт? (https://forum.antichat.xyz/showthread.php?t=1325947)

Fomikus 31.10.2018 23:37

Нужен код вот этого чуда, заранее спасибо!)

randazzo 31.10.2018 23:39

это не php скрипт, это просто файл в формате json.

вот код

JSON:





Код:

{
"latest"
:
"2.91"
,
"updateurl"
:
"http://rubbishman.ru/dev/moonloader/weather%20and%20time/!weather%20and%20time.lua"
}


#Rin 31.10.2018 23:41

В виде php:

PHP:





Код:

print_r
(
json_encode
(
[
"latest"
=
>
2.91
,
"updateurl"
=
>
"http://rubbishman.ru/dev/moonloader/weather%20and%20time/!weather%20and%20time.lua"
]
)
;



Время: 06:11