Re: [PHP] Form validation

2002-04-25 Thread Tarjei Huse

Hi,

I just thought I'd say thank's too all who responded to my question.
Very good answers! I ended up using strip_tags (after someone pointed it
out too me) kombinded with a couple of eregs. 

Tarjei

John Holmes wrote:
> 
> > I need a function or class to validate a form with a cuple of text
> areas
> > that are alloed to contain a few html tags ( etc) but not all,
> > and I need a script to validate the input from the fields and stop the
> > html elements that are not allowed.
> >
> > Does anyone have a function or class handy that I might use? (for
> free)
> 
> I've got one...
> 
> www.php.net/strip_tags
> 
> www.php.net/htmlentities
> 
> You can have them for free if you send me $20.
> 
> ---John Holmes...
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Form validation

2002-04-25 Thread Tarjei Huse

Hi,

I need a function or class to validate a form with a cuple of text areas
that are alloed to contain a few html tags ( etc) but not all,
and I need a script to validate the input from the fields and stop the
html elements that are not allowed.

Does anyone have a function or class handy that I might use? (for free)

Thanks
Tarjei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] problems with php-imap

2002-04-22 Thread Tarjei Huse

Hi,

I'm running a cuple of servers with php + mysql. Now, on one server I am
running a setup with PHP 4.0.6 (patched for security) and Cyrus Imapd
1.5.x. I am having large problems getting this to work. The server
functions w/o problems except that it segfaults every time I use the
imap-open call. 

I have seen others having reproted equal problems to this list, so I am
wondering if this is a known bug or if anyone has experienced this.

Also, I whant all possible tips for locating the error.

PS: My usernames are on the form username:int (f.x. arne:19 (not a real
one)) could this be the problem?

Tarjei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php