๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #874

Re: ayuda php

#874
From: +mArkO+
Date: Fri, 06 Jul 2007 16:06
24 lines
1474 bytes
me contesto solo

$Data = ereg_replace("<img(.*)'5' />","",$Data);

me corrigen si hay una mas optima y elegante


"+mArkO+" <kitim@porta.cl> escribi๏ฟฝ en el mensaje 
news:f6lntl$4r5$1@news.nivel5.cl...
> alguien me podria decir como poder eliminar las etiqueta IMG que son 
> leidas desde un html
> puedo leer el archivo como texto, pero la idea es filtrar estas etiquetas.
>
>
> estas son las imagenes, solo cambia el src
>
> <img align='left' src='recicla1.jpg' width='150' height='100' hspace='5' 
> vspace='5' />
>
> como seria la expresion regular a usar?
>
>
>
> 
Technical Details
Message-ID: <f6lp9e$55j$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!news.nivel5.cl!not-for-mail
References: <f6lntl$4r5$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,471121716cd117bc
X-Google-Attributes: gid1593cb,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!news.nivel5.cl!not-for-mail
From: "+mArkO+" <kitim@porta.cl>
Newsgroups: chile.comp.programacion
Subject: Re: ayuda php
Date: Fri, 6 Jul 2007 12:06:04 -0400
Organization: Varios
Lines: 26
Message-ID: <f6lp9e$55j$1@news.nivel5.cl>
References: <f6lntl$4r5$1@news.nivel5.cl>
NNTP-Posting-Host: pc-180-210-30-200.cm.vtr.net
X-Trace: news.nivel5.cl 1183737966 5299 200.30.210.180 (6 Jul 2007 16:06:06 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Fri, 6 Jul 2007 16:06:06 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180