Jump to content

insomnomaniac

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

insomnomaniac's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi All, I'm having trouble with an email I'm trying to send out. While testing my code, the email that my script sends has the "Reply-To" email address in the headers but when I click "reply", the recipient's email, $to in the code below, is inserted instead of the "Reply-To" email. Am I missing anything? Thanks for the help in advance! $to = "[email protected]"; $headers = "From: " .$admin_name. "<" .$admin_email. ">\r\n"; $headers .= "Reply-To: " .$host_name. "<" .$host_email. ">\r\n"; $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "<br>"; $subject = "Subject"; $body = "Body"; mail($to, $subject, $body, $headers);
  2. Sorry about that...Yes, I'm trying to get the dollar amount without the '$' symbol. So in my example I'm trying get '21,555'. Your pattern works but it includes the '$' with a space in front of it. Thanks!
  3. Hi All, I'm new to regex and need some help. I'm trying to parse through a web page to find all the strings below that are separated by new lines: <h3 class="listing-price"> $21,555 </h3> $pattern = 'XXX'; preg_match_all($pattern, $content, $output); Thanks!
×
×
  • 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.