This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$self = $_SERVER['PHP_SELF']; //Obtenemos la página en la que nos encontramos | |
header("refresh:5; url=$self"); //Refrescamos cada 300 segundos | |
?> | |
<!doctype html> | |
<html xmlns:spry="http://ns.adobe.com/spry"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Documento sin título</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php require_once('Connections/conec.php'); ?> | |
<?php | |
if (!function_exists("GetSQLValueString")) { | |
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") | |
{ | |
if (PHP_VERSION < 6) { | |
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; | |
} | |
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); |