Re: OFF TOPIC :(SUBMIT )
| From: | Eduardo Daniel Pizzi | Date: | Thu, 20 Nov 2003 14:45:07 +0000 |
| Subject: | Re: OFF TOPIC :(SUBMIT ) | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-42846@lists.php.net to get a copy of this message | ||
No podes hacer
<form name="form1" method="post" action="<?=$PHP_SELF?>">
o
<form name="form1" method="post"
action="<?=$_SESION['PHP_SELF']?>">
> Podrias hacerlo de la siguiente manera:
>
> <input type="button" value="Cancelar"
> onClick="window.location='<?
> print $url ?>'">
>
> Saludos,
> Pablo
>
>
> ----- Original Message -----
> From: "Denyl Meneses Guillén" <dmeneses@cgaip.com.pe>
> To: "php" <lista@phpes.com>
> Sent: Wednesday, November 19, 2003 2:35 PM
> Subject: [PHP-ES] OFF TOPIC :(SUBMIT )
>
>
> Señores :
>
> mediante $PHP_SELF capturo la ruta de la página en PHP , esa dirección
> la tengo en un valor $url , deseo que al predionar un boton me envie a
> dicha dirección , como puedo hacerlo he probado con lo siguiente pero
> aun no tengo resultador
>
> <input type="button" value="Cancelar" onClick="<? print $url
> ?>">
>
> gracias por su ayuda.
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
-=<< Eduardo Daniel Pizzi >>=-
Postal: Parque Leloir - Castelar - Bs.As. - Argentina.
Mail: sistemas@DesarrollosInteractivos.com -
http://www.DesarrollosInteractivos.com