Hello all. I am new to using PEAR, but not so much to PHP. I was looking
for a little help.
I'm trying to get my contact script to work with the PEAR::Mail extension.
So I followed the tutorial on pear.php.net about using the object =
Mail::factory() and then the object::send() method to
Hello all. I am new to using PEAR, but not so much to PHP. I was looking
for a little help.
I'm trying to get my contact script to work with the PEAR::Mail extension.
So I followed the tutorial on pear.php.net about using the object =
Mail::factory() and then the object::send() method to
First off, this is not the most efficient way to send mail as it closes
reopens connections to the server for each mail. Look into using PEAR.
Secondly, I would not loop through everything for each email address. One
way to do it would be to say:
If($email_to != ){
$to = explode(,,
Well, if you look in your phpinfo() file, you will see a SESSION_TIMEOUT or
SESSION_LENGTH value that is something like 18... different for each
server.
If you hold all your session values in the array, then you can use
session_destory(); as long as session_start() is previous to that.
I am
4 matches
Mail list logo