![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/01/2012, 05:33
|
| | Fecha de Ingreso: diciembre-2011
Mensajes: 414
Antigüedad: 13 años, 1 mes Puntos: 1 | |
Respuesta: Script para crear tabla conseguido (pero duda) Solo me funciona la parte de redireccionar ...
$url_relativa="install/index.php";
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/" .$url_relativa);
Pero cuando agrego el codigo que falta no me hace absolutamente nada :(
$url_relativa="install/index.php";
if (file_exists($_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/" .$url_relativa)) {
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/" .$url_relativa);
} |