src/cm/media/js/lib/yui/yui3.0.0/examples/json/assets/jsonConnect.php
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 0 40c8f766c9b8
permissions -rw-r--r--
add link to "privacy policy" in the header test

<?php
/* yadl_spaceid - Skip Stamping */
header('Content-Type: application/json');

$messages =<<<END
[
    { "animal" : "Cat", "message" : "Meow" },
    { "animal" : "Dog", "message" : "Woof" },
    { "animal" : "Cow", "message" : "Moo" },
    { "animal" : "Duck", "message" : "Quack" },
    { "animal" : "Lion", "message" : "Roar" }
]
END;

echo($messages);
?>