Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 2, 2021 02:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save parzibyte/9ce464aef1a86371fe026ab04f3e98c3 to your computer and use it in GitHub Desktop.
<?php
$payload = json_decode(file_get_contents("php://input"));
if (!$payload) {
exit("");
}
include_once "funciones.php";
$ok = registrarVisita($payload->pagina, $payload->url);
echo json_encode($ok);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment