Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/05/2006, 10:09
Avatar de nosoynadie
nosoynadie
 
Fecha de Ingreso: noviembre-2005
Ubicación: dando vueltas por aquí
Mensajes: 206
Antigüedad: 18 años, 5 meses
Puntos: 1
Cita:
Iniciado por dr. attach
Código:
<? php
$url = "http://".$_ENV["HTTP_HOST"].$_SERVER["REQUEST_URI"];
echo $url;
?>
Parse error: parse error in /home/virtual/site39/fst/var/www/html/prueba-captura.php on line 2
Hola, fijate que has dejado un espacio entre <? y el php en la apertura del código php. Prueba con esto:
Código:
<?php
$url = "http://".$_ENV["HTTP_HOST"].$_SERVER["REQUEST_URI"];
echo $url;
?>
__________________
http://www.nosoynadie.net/