Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/01/2008, 12:38
diazhh
 
Fecha de Ingreso: septiembre-2007
Mensajes: 139
Antigüedad: 16 años, 7 meses
Puntos: 1
Re: ejecutar formulario de otra web desde php

aca ta...

Código:
<html>
<?php
$si = $_GET['wappush'];

$mensaje = "xxx";
$web = "web";



if ($si == txtko){
echo "este numero NO existe";
}
if ($si == txtok){
echo "este numero si existe";
}
?>



<form action="http://xxxxxx.xxxxxx.es/lxxxx/xx.php" method="post" name="wappush" enctype="multipart/form-data">
<input type="hidden" name="lt_txt" id="lt_txt" value="<?php echo "$mensaje"; ?>">
<input type="hidden" name="lt_url" id="lt_url" value="<?php echo "$web"; ?>">
<input type="text" name="lt_msisdn" id="lt_msisdn"/>
<input type="submit" value="enviar">
</div>
 
 <script type="text/javascript">

document.write('<input type="hidden" name="urlPag" id="urlPag" value="' + eval("document.location.href") + '">')

</script>
 
<script type="text/javascript">

var textoOK = "En breves momentos recibirás un mensaje con un enlace WAP en tu teléfono móvil para acceder a la página WAP del servicio";

</script>
 
<script type="text/javascript">

var textoNOOK = " No ha sido posible el envío del enlace. Recuerda que este servicio es exclusivo para clientes xxxx.";

</script>
 

</form>

</html>

Última edición por diazhh; 19/01/2008 a las 08:49