Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/03/2013, 19:33
Avatar de frankjoel86
frankjoel86
 
Fecha de Ingreso: noviembre-2008
Ubicación: Ica
Mensajes: 295
Antigüedad: 15 años, 6 meses
Puntos: 0
Convertir exe a php

Saludos gentita, el profe de php nos a enviado un exe de power builder, sobre la tinka y desea que se comvierta a php.

aqui muestro las capturas.
http://www.puropisco.net/tinka/TINKA.png

al ojo se nota que usa random, eh avanzado lo siguiente.

http://www.puropisco.net/tinka/index.php

------------------------------------------------------------------
<form name="form1" method="post" action="index.php">
nro de jugadores:
<input type="text" name="jugadores">
<input type="submit" name="cmdjugar">
</form>
<?php
if(isset($_POST['cmdjugar'])){
$hasta=$_POST['jugadores'];
$rand=rand(1,$hasta);
?>
Jugada Ganadora:
<br>
<textarea rows="1" cols="50" name="txtganadora">
<?php
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
echo $rand;
echo " ";
?>
</textarea>
<br>
Jugadores:
<br>
<textarea name="txtjugadores" rows="10" cols="50" >
Jugador:
</textarea>
<br>
Lista de ganadores:
<br>
<textarea name="txtganadores" rows="5" cols="50" >
</textarea>
<?php
}
?>
--------------------------------------------------------------------------
si tuvieran algunas ideas. se agradece cualquier respuesta.
__________________
www.basritours.com
Agencia de turismo en Ica.