apolo63
asked on
php mail form bug...
Im writing a mail form with php and it works fine, kinda. the kinda part is that it dosent always send both emails, the main to me and the auto reply. the auto reply always goes but the one to me is sometimes not sent. It seems to happen more often when i click the submit button a few times in a row. Is it posible that the php file is being run by a new process while the first is still running messing things up? If so does anybody know how to make sure the php file is only accesed by one browser window at a time?
Thanks,
Apolo.
Thanks,
Apolo.
try the following:
mail("email address", "Subject", "$message","From: $Email\r\n");
-=-=-=-=--=-=-=-=-=-=-
Get Coders to Work for You:
http://www.RentACoder.com/RentACoder/SmallBiz.asp?txtFromURL=AId_517531
http://www.scriptlance.com/cgi-bin/freelancers/r.cgi?srirangan
-=-=-=-=--=-=-=-=-=-=-
Best Web Hosting deal for You:
http://www.qksrv.net/click-1267313-890216
-=-=-=-=--=-=-=-=-=-=-
l e x x w e r n
mail("email address", "Subject", "$message","From: $Email\r\n");
-=-=-=-=--=-=-=-=-=-=-
Get Coders to Work for You:
http://www.RentACoder.com/RentACoder/SmallBiz.asp?txtFromURL=AId_517531
http://www.scriptlance.com/cgi-bin/freelancers/r.cgi?srirangan
-=-=-=-=--=-=-=-=-=-=-
Best Web Hosting deal for You:
http://www.qksrv.net/click-1267313-890216
-=-=-=-=--=-=-=-=-=-=-
l e x x w e r n
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cool, seems good with that...
Thanks for the help all...
Later,
Apolo.
Thanks for the help all...
Later,
Apolo.
ASKER
mail("email address", "Subject", "$message","From: $Email");
but the reply mail that is not a variable in the from: field works all the time.
mail("email address", "Subject", "$message","From: somemail@somewhere.com");
any ideas?
Later all,
Apolo.