<?php
header('Content-Type: application/json'); echo json_encode(array( 'status' => 'success', 'uniqueid' => 1111 ));
?>
http://php.net/manual/en/function.json-encode.php
http://stackoverflow.com/questions/4064444/returning-json-from-a-php-script
No hay comentarios:
Publicar un comentario