Skip to content

Instantly share code, notes, and snippets.

@sortega
Created March 9, 2011 18:39
Show Gist options
  • Save sortega/862707 to your computer and use it in GitHub Desktop.
Save sortega/862707 to your computer and use it in GitHub Desktop.
Para depurar formularios web
<?php echo("<?xml version=\"1.0\" encoding=\"utf-8\"?>"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-ES">
<head>
<title>Depurador de formularios</title>
</head>
<body>
<h1>Depurador de formularios</h1>
<h2>Contenido del formulario con POST</h2>
<pre>
<?php
print_r($_POST);
?>
</pre>
<h2>Contenido del formulario con GET</h2>
<pre>
<?php
print_r($_GET);
?>
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment