Ver Mensaje Individual
  #10 (permalink)  
Antiguo 28/05/2013, 19:00
Avatar de arcanisgk122
arcanisgk122
 
Fecha de Ingreso: junio-2010
Mensajes: 755
Antigüedad: 13 años, 11 meses
Puntos: 28
Respuesta: mantener la pagina despues de iniciar sesion

no puedo evitar el objeto tratando de hacer esto??


Código PHP:
Ver original
  1. <?php
  2.  
  3. $serveractual = $_SERVER['SERVER_NAME'];
  4. $pageactual = $_SERVER['php_SELF'];
  5. $urlactual = "http://".$serveractual.$pageactual."/";
  6.  
  7. ?>
  8.  
  9.  
  10. <form name="log" method="post" action="loguear.php?$urlactual">
  11. <input type="submit" name="button" id="button" value="Inicia sesion">
  12. </form>
__________________
Cooler Master Gladiator 600 - AMD PHENOM II X4 955 @ 3.5GHZ
GA-MA78GM-US2H - Super Talent 800 2GB x 2 Dual, (Unganged)
PSU Cooler Master eXtreme Power Plus 500W - Saphire R7-260OC-2GB