diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-21 23:46:49 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-21 23:46:49 +0200 |
commit | 5749258fa212019e2ca602dd514abe526994d91f (patch) | |
tree | aef4a0ed43ccec18933830f4233687006f95fd97 /FtechWebring.php | |
parent | 8792b8bbe3e15c6e26e15c18d4af1a492e135f11 (diff) | |
download | webring-5749258fa212019e2ca602dd514abe526994d91f.tar.gz webring-5749258fa212019e2ca602dd514abe526994d91f.tar.bz2 webring-5749258fa212019e2ca602dd514abe526994d91f.zip |
Commit
Diffstat (limited to 'FtechWebring.php')
-rw-r--r-- | FtechWebring.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/FtechWebring.php b/FtechWebring.php new file mode 100644 index 0000000..bae77e8 --- /dev/null +++ b/FtechWebring.php @@ -0,0 +1,10 @@ +<?php + +// We fetch the API +$raw = @file_get_contents("https://jae.fi/webring/members"); + +// If it failed, we stop here +if ($raw === false) { + // We decode our JSON + $data = json_decode($raw, true); +}
\ No newline at end of file |