Instantly share code, notes, and snippets.

@clubeagn clubeagn/pagina.php forked from jhowbhz/pagina.php
Created Jun 13, 2018

Embed
What would you like to do?
exemple F7/JSON/PHP
<?php
header('Access-Control-Allow-Origin: *'); // no cabeçalho
$array = array ('test1', 'test2', 'test3');
echo json_encode ($ array);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment