🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2462

Segundo Codigo (ingreso_proveedor_2)

#2462
From: Wegh
Date: Thu, 05 Jan 2006 03:29
20 lines
1600 bytes
   <?
include("conexion.php");
$result = mysql_query("SELECT pro_rut FROM proveedor WHERE pro_rut='$rut'",
$conexion)or die(mysql_error());
$cuenta=mysql_num_rows($result);
if ($cuenta<1)
{
 $result = mysql_query("INSERT INTO proveedor(pro_rut, pro_nombre,
pro_direccion, pro_representante, pro_ciudad, pro_fono, pro_fax, pro_pais,
material) VALUES('$rut', '$nombre', '$direccion', '$representante',
'$ciudad', '$telefono', '$fax', '$pais', '$material')", $conexion)or
die(mysql_error());
 header("location: pregunta_proveedor.php");
}
else
{
 header("location: pregunta_proveedor.php?aux=1");
}
?>
Technical Details
Message-ID: <dpi3r0$dhm$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
References: <dpgnin$uej$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,b7e8f503830f52f
X-Google-Attributes: gid1593cb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: "Wegh" <mail@mail.com>
Newsgroups: chile.comp.programacion
Subject: Segundo Codigo (ingreso_proveedor_2)
Date: Thu, 5 Jan 2006 00:29:48 -0300
Organization: Varios
Lines: 22
Message-ID: <dpi3r0$dhm$1@news.nivel5.cl>
References: <dpgnin$uej$1@news.nivel5.cl>
NNTP-Posting-Host: pc-70-95-86-200.cm.vtr.net
X-Trace: news.nivel5.cl 1136431777 13878 200.86.95.70 (5 Jan 2006 03:29:37 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Thu, 5 Jan 2006 03:29:37 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Antivirus: avast! (VPS 0601-1, 03/01/2006), Outbound message
X-Antivirus-Status: Clean