Help! I am having all sorts of odd problems. I have a page that just will
not mail twice or re-direct. The code below is similar to what I have; the
alerts are there just for checking what is going on.
If "something" is true, help1 alerts, the first mail goes, help2 alerts,
the second mail fails, help3 alerts, the header fails, and help4 alerts,
and no error messages.
If "something" is false, help2 alerts, the second mail goes, help3 alerts,
the header fails, and help4 alerts, and no error messages.
If I comment out the mails, the correct alerts fire, but the header fails.
Can anyone see something wrong?
Many Thanks for any help.
steve miller
if(something)
{
echo"<script>alert('help1')</script>";
mail($mailto,$mailsubject,$mailbody,$mailfrom);
}
echo"<script>alert('help2')</script>";
mail($mailto,$mailsubject,$mailbody,$mailfrom);
echo"<script>alert('help3')</script>";
header ("Location: go_here.phtml?mm=153");
echo"<script>alert('help4')</script>";
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]