Adjunto parte del código de ambas páginas:
Página del form
Código PHP:
<tr>
<form name='form' action='http://www.web.com/web/estado.php' method='get' ENCTYPE='text/plain'>
<td class='a11'><font size='2'Número de Pedido: <input type='text' name='numeropedido' class='caja2'><br>
Nombre de Empresa: <input type='text' name='empresa'></font></td>
</tr>
<tr>
<td height='20' class='px'> </td>
</tr>
<tr>
<td height='1' class='px'>
</td>
</tr>
<tr>
<td height='20' class='px'>
</td>
</tr>
<tr>
<td class='px' height='20' colspan='3'><center>
<table cellspacing='0' cellpadding='0' border='0'>
<tr>
<td bgcolor='#01FF00' height='1' class='px' colspan='9'>
</td>
</tr>
<tr>
<th id='header1' class='v9' height='20' width='50' bgcolor='#01FF00'><font color='#444444'><center>REFERENCIA</center></font>
</th>
<th id='header2' class='px' width='1' bgcolor='#ffffff'>
</th>
<th id='header3' class='v9' height='30' width='90' bgcolor='#01FF00'><font color='#444444'>FOTO</font>
</th>
<th id='header4' class='px' width='1' bgcolor='#ffffff'>
</th>
<th id='header5' class='v9' height='20' width='200' bgcolor='#01FF00'><font color='#444444'>DESCRIPCIÓN DE ARTÍCULO</font>
</th>
<th id='header6' class='px' width='1' bgcolor='#ffffff'>
</th>
<th id='header7' class='v9' height='20' width='60' bgcolor='#01FF00'><font color='#444444'><center>PR/NETO</center></font>
</th>
<th id='header8' class='px' width='1' bgcolor='#ffffff'>
</th>
<th id='header9' class='v9' height='20' width='60' bgcolor='#01FF00'><font color='#444444'><center>CANTIDAD</center></font>
</th>
</tr>
<tr>
<td width='419' bgcolor='#01FF00' height='1' class='px' colspan='9'>
</td>
</tr>
<tr>
<td height='10' class='px' colspan='9'>
</td>
</tr>
<tr>
<td bgcolor='#01FF00' height='1' class='px' colspan='9'>
</td>
</tr>
<tr>
<td height='5' class='px' colspan='9'>
</td>
</tr>
<tr>
<td headers='header1' class='v9'><center>10121000</center>
</td>
<td headers='header2' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header3' class='px' height='40'><center><img src='foto1.jpg' width='80' height='40' border='0' alt=''></center>
</td>
<td headers='header4' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header5' class='v9'><strong>GAFA SEY VIDRIO TALLA GRANDE</strong><br>
</td>
<td headers='header6' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header7' class='v9'><center>8.00 €</center>
</td>
<td headers='header8' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header9' class='px'><center><input type='text' name='cantidad1' class='caja2'></center>
</td>
<input type='hidden' name='referencia1' value='10121000'>
<input type='hidden' name='foto1' value='foto1.jpg'>
<input type='hidden' name='producto1' value='GAFA SEY VIDRIO TALLA GRANDE'>
<input type='hidden' name='precio1' value='8.00'>
</tr>
<tr>
<td height='5' class='px' colspan='9'>
</td>
</tr>
<tr>
<td bgcolor='#01FF00' height='1' class='px' colspan='9'>
</td>
</tr>
<tr>
<td height='5' class='px' colspan='9'>
</td>
</tr>
<tr>
<td headers='header1' class='v9' bgcolor='#EAEAEA'><center>10000124</center>
</td>
<td headers='header2' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header3' class='px' height='40' bgcolor='#ffffff'><center><img src='foto2.jpg' width='80' height='40' border='0' alt=''></center>
</td>
<td headers='header4' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header5' class='v9' bgcolor='#EAEAEA'><strong>CASCO KARA CON VISERA SIN VENTILACION</strong>
</td>
<td headers='header6' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header7' class='v9' bgcolor='#EAEAEA'><center>10.00 €</center>
</td>
<td headers='header8' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header9' class='px' bgcolor='#EAEAEA'><center><input type='text' name='cantidad2' class='caja2'></center>
</td>
<input type='hidden' name='referencia2' value='10000124'>
<input type='hidden' name='foto2' value='foto2.jpg'>
<input type='hidden' name='producto2' value='CASCO KARA CON VISERA SIN VENTILACION'>
<input type='hidden' name='precio2' value='10.00'>
</tr>
<tr>
<td height='5' class='px' colspan='9'>
</td>
</tr>
<tr>
<td bgcolor='#01FF00' height='1' class='px' colspan='9'>
</td>
</tr>
<tr>
<td height='5' class='px' colspan='9'>
</td>
</tr>
<tr>
<td height='20' class='px' colspan='9'><img src='http://www.seybol.com/web/img/px.gif'>
</td>
</tr>
<tr>
<td class='px' colspan='9' align='center'><center>
<input type='hidden' value='$correo' name='correo'>
<input type='hidden' value='$asunto' name='asunto'>
<input type='submit' value='Ver estado del pedido' class='button'></center>
</td>
</tr>
</form>
Código PHP:
$correo= $_GET['correo'];
$empresa= $_GET['empresa'];
$asunto= $_GET['asunto'];
$numeropedido= $_GET['numeropedido'];
$referencia1= $_GET['referencia1'];
$foto1= $_GET['foto1'];
$producto1= $_GET['producto1'];
$precio1= $_GET['precio1'];
$cantidad1= $_GET['cantidad1'];
$total1=$precio1*$cantidad1;
$referencia2= $_GET['referencia2'];
$foto2= $_GET['foto2'];
$producto2= $_GET['producto2'];
$precio2= $_GET['precio2'];
$cantidad2= $_GET['cantidad2'];
$total2=$precio2*$cantidad2;
.....
<tr>
<td headers='header1' class='v9' bgcolor='#EAEAEA'><center>$referencia1</center>
</td>
<td headers='header2' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header3' class='px' bgcolor='#ffffff'><center><img src='$foto1' width='80' height='40' border='0' alt=''></center>
</td>
<td headers='header4' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header5' class='v9' bgcolor='#EAEAEA'>$producto1
</td>
<td headers='header6' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header7' class='v9' bgcolor='#EAEAEA'><center>$precio1 €</center>
</td>
<td headers='header8' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header9' class='v9' bgcolor='#EAEAEA'><center>$cantidad1</center>
</td>
<td headers='header8' class='px' width='1' bgcolor='#01FF00'>
</td>
<td headers='header9' class='v9' bgcolor='#EAEAEA'><center>$total1 €</center>
</td>
<input type='hidden' name='referencia1' value='$referencia1'>
<input type='hidden' name='foto1' value='foto1.jpg'>
<input type='hidden' name='producto1' value='$producto1'>
<input type='hidden' name='precio1' value='$precio1'>
<input type='hidden' name='cantidad1' value='$cantidad1'>
<input type='hidden' name='total1' value='$total1'>
</tr>
Muchísimas gracias.