Jump to content

aberns

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aberns's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I've used HTML_QuickForm to display, validate, and process a script all on one page. But now I want to display and validate on one page, and the, if valid, process on another page. I set page2 as my action: $form = new HTML_QuickForm('logon','POST','page2.php'); Normally I would code if ($form->validate()) { $form->freeze(); //do such and such but how do I set the form to go to page2 only if the form passes validation? Thank you!
  2. Hello, I am using the PHP mail() function for a legitimate purpose (when people apply to our college we send them confirmation emails, etc) and was wondering how to keep the emails that we generate from being flagged as spam by other mail servers. I know it has to do with how you set your headers, but I don't know any specifics, other than this suggestion on php.net [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]$headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters [/quote] Does anyone have any suggestions? Thanks, Audrey
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.