Passagem de Paramentro por Link
06/11/2015
0
http:\\www.toyomatic.com.br/cdoc/dispocnc.php?id=4504&rev=01&tipo=C
O que pode ser?
Sempre funcionou e de uma hora para outra parou.
if($tbdispocnc[0]>0){ echo "<form method=POST name=form3 action='./dispocnc.php?CodMenu=1'>"; echo "<table border=0 width=50% cellspacing=0 cellpadding=0>"; echo "<tr bgcolor=#034281 height=30>"; if($vartipo=='C') echo "<td colspan=3 align=center><font color=#FFFFFF Style=Tahoma size=3><b>CDOC - PROGRAMA CNC</td>"; else echo "<td colspan=3 align=center><font color=#FFFFFF Style=Tahoma size=3><b>CDOC - DISPOSITÍVOS</td>"; echo "<tr><td colspan=3 align=center>"; echo "<br><img border=0 src=./images/barcode.jpg><br>"; echo "</td></tr>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%><font Style=Tahoma size=3><b>$tbdispocnc[1]<br>OP$tbdispocnc[5] REV.: $tbdispocnc[2]<br>"; echo "PN(s): <font Style=Tahoma size=2>"; if($vartipo=='D'){ $rslistapn = mysql_query("SELECT DISTINCT B1_PRODCLI FROM PPDISPOSITIVO INNER JOIN dadosadv.SB1010 ON (B1_COD=CODPRODUTO AND D_E_L_E_T_ <>'*') WHERE CODDISPOSITIVO = '$tbdispocnc[1]' "); $i=1; while ($tblistapn = mysql_fetch_array($rslistapn)){ if($i==1) echo " $tblistapn[0]<br>"; else echo " $tblistapn[0]<br>"; $i++; } } else echo " $tbdispocnc[3] ( $tbdispocnc[4] )"; echo "<br></b></td>"; echo "<td width=2%> </td>"; echo "</tr><tr bgcolor=#034281 height=25><font face=tahoma size=2>"; echo "<td width=2%> </td>"; echo "<td width=96%><font color=#FFFFFF Style=Tahoma size=3><b>CHECK-LIST</td>"; echo "<td width=2%><font color=#FFFFFF Style=Tahoma size=3><b>STATUS </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; if($vartipo=='C'){ echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>CABEÇALHIO DO PROGRAMA</td>"; echo "<td width=2% align=right><input type=checkbox Name=cabecsta Value=1> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>SALVO NA REDE</td>"; echo "<td width=2% align=right><input type=checkbox Name=redesta Value=1> </td>"; } else if($vartipo=='D'){ echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>GRAVAÇÃO DO CÓDIGO</td>"; echo "<td width=2% align=right><input type=checkbox Name=codsta Value=1> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>GRAVAÇÃO DA REVISÃO</td>"; echo "<td width=2% align=right><input type=checkbox Name=revsta Value=1> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>GRAVAÇÃO DO PN</td>"; echo "<td width=2% align=right><input type=checkbox Name=pnsta Value=1> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%>ENDEREÇO DO DISPOSITÍVO</td>"; echo "<td width=2% align=right><input type=checkbox Name=endsta Value=1> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%> </td>"; echo "<td width=2% align=right><input type=text name=endsta2 size=10> </td>"; } echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "<td width=96%> </td>"; echo "<td width=2% align=right><input type=submit name=btok value= GRAVAR style=\"font-family: Tahoma; font-size: 8pt\"</td>"; echo "</tr><tr>"; echo "<td width=2%> </td>"; echo "</tr><tr bgcolor=#034281>"; echo "<td colspan=3> </td>"; echo "</tr>"; echo "</table>"; echo "<input type=hidden name=id value=$varid>"; echo "<input type=hidden name=tipo value=$vartipo>"; echo "<input type=hidden name=rev value=$varrev>"; echo "</form>"; } else{ echo "<hr><font face=Arial size=2><b><img border=0 src=./images/alerta.png><br><br>"; echo " <a href=javascript:close()>REGISTRO FINALIZADO OU NÃO ENCONTRADO! [FECHAR]</a><hr>"; } mysql_close($Conecta); } }
Gabrielef
Posts
06/11/2015
Jothaz
Este código é da página que recebe os parâmetros?
Já tentou imprimir os parâmetros?
09/11/2015
Gabrielef
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@toyomatic.com.br to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Esse o código acima é da página que recebe os parâmetros.
Tentei imprimir, mas não conseguimos nem entrar no inicio do código fonte.
09/11/2015
Gabrielef
Obrigada!
Clique aqui para fazer login e interagir na Comunidade :)