SPUG: Anyone savvy in this?

Noah Iliinsky noah at geospiza.com
Tue Jan 29 11:46:54 CST 2002


Hi Susanne.

If you give specific examples of the text you want to filter I'm sure we can 
come up with the regex's you need.

Cheers, Noah

On Monday 28 January 2002 21:11, Susanne Bullo wrote:
> How to stripslashes, addslashes, strip_tags from mysql data?  I can grab
> the data and I can have it email as it should but it emails with things
> like <br /> in the text which I don't want.  Plus I don't want \' to show. 
> I've done a lot of searching and haven't come up with the answer.  Using
>
> $text = stripslashes($text);
>
> Gives me an error about not declaring or some such.
>
> TIA!
>
> Susanne Bullo (still having spam/relay problems with my server)

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 
Noah Iliinsky
noah at geospiza dot com
(206) 633-4403 x106

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list