Re: vaidation and mail function question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 02/10/2006 05:48 AM Paul Goepfert said the following:
> I am beginnging to do vaidation on my web form and I know of a few
> functions to do this with.  For example the empty fuction and the is_
> functions.  Ok to give you a picture of what I am vaildating its just
> your basic form, Name, Address, Email.  I am obviously going to check
> for empty fields.  However I do want better error checking other then
> testing for emptty fields.  Can anyone help me with that?

You may want to try this popular forms generation and validation class.
It provides all you need to validate those field types.

http://www.phpclasses.org/formsgeneration



> After this form is finished vaildating I am going to be sending an
> email of the contents of the form to an email account.   I have seen
> in other messages on this board about the mail function.   I'm not
> sure about this but I think I read that in order for the mail function
> to work the webserver needs sendmail to make the mail function work. 
> Is this true?  I have looked at the phpinfo page on the targeted
> webserver and the sendmail value is missing.  I assume that is ok
> because the webserver is on a windows system rather then a unix
> system. I just want to be sure about this.

On Windows, it uses a SMTP server.

-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux