🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1459

Re: Ataques a formularios html

#1459
From: Rafa
Date: Tue, 08 Nov 2005 22:13
15 lines
1734 bytes
Oscar Garcia escribi�:
> 
> preg_replace('\[^A-Za-z0-9\-\.\@_]\', '', $destinatario);

Gracias, yo ten�a el mismo problema y con esto lo he solucionado... s�lo una 
puntualizaci�n, hay un par de barras que se te han torcido:

preg_replace('/[^A-Za-z0-9\-\.\@_]/', '', $destinatario);


Salu2,
Rafa.
-- 
El hombre es el �nico animal que come sin tener hambre, bebe sin tener sed, y 
habla sin tener nada que decir.
Technical Details
Message-ID: <1131491030.156617@nispero.mad.tiscali.red>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!not-for-mail
References: <dkdjdg$3ka$1@nsnmrro2-gest.nuria.telefonica-data.net> <19skm11h15tc7do4q3094sub0j54v6be31@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,a369e897d8110535
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!not-for-mail
From: Rafa <rafa@nospam.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Ataques a formularios html
Date: Tue, 08 Nov 2005 23:13:25 +0100
Organization: Tiscali Spain
Lines: 15
Message-ID: <1131491030.156617@nispero.mad.tiscali.red>
References: <dkdjdg$3ka$1@nsnmrro2-gest.nuria.telefonica-data.net> <19skm11h15tc7do4q3094sub0j54v6be31@4ax.com>
NNTP-Posting-Host: nispero.tiscali.es
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: ulysses.news.tiscali.de 1131488005 9602 212.166.64.108 (8 Nov 2005 22:13:25 GMT)
X-Complaints-To: abuse@tiscali.de
NNTP-Posting-Date: Tue, 8 Nov 2005 22:13:25 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.3) Gecko/20040913
X-Accept-Language: es, en-us, en
In-Reply-To: <19skm11h15tc7do4q3094sub0j54v6be31@4ax.com>
Cache-Post-Path: nispero.mad.tiscali.red!unknown@81.0.36.63
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)