bien, ante todo mil gracias por la onda...
Te muestro:
Código PHP:
Ver original<?php
define('ADMIN_LOGIN', 'dragon'); //administrator's login define('ADMIN_PASS', 'dragonx'); //administrator's login
if ($_POST["user"]== ADMIN_LOGIN && $_POST["password"]== ADMIN_PASS)
header("location=http://www.inflatabledepot.com/MJ-Gallery/"); else
header("location=http://www.inflatabledepot.com/index-login.php"); ?>
<!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" lang="es" xml:lang="es">
<head>
este es el form:
Código HTML:
Ver original<form id="form1" name="form1" method="POST" action="http://www.inflatabledepot.com/index-login.php"> <p><span class="logusuario"> </span><input name="user" id="nombre" value="user" tabindex="1" type="text" onfocus="if (this.value == 'user') {this.value = '';}" onblur="if (this.value == '') {this.value = 'user';}" /></p> <p><span class="logpass"> </span><input name="password" id="password" value="password" tabindex="1" type="text" onfocus="if (this.value == 'password') {this.value = '';}" onblur="if (this.value == '') {this.value = 'password';}" /></p> <p><a href="#"><span class="logusuarionuevo"> </span> sing in
</a></p> <p><a href="#"><span class="logolvidopass"> </span> forgot password?
</a></p> <p><input type="button" value="submit" /></p>
lo pruebo y no hace nada, al darle submit :(
http://www.inflatabledepot.com/index-login.php probalo ahi!