Weird characters

    Date: 06/13/07 (PHP Community)    Keywords: html

    I have a script that collects information from a form and sends it to my account. I formatted it with a nice "Thanks for your submission" message. It mostly is all fine, but I noticed today that a strange "! " has shown up in the email. Can anyone tell me why?

    Here is the code:


    $today=date("d M Y");
     $datetext="

    Date of submission: $today

    ";
    $contactinfo="

    Contact information
    Contact: $contactname
    Institute: $institution
    Mailing address: $address
    Telephone #: $phone
    Fax #: $fax
    Email: $email
    BII Contact person: $biiperson
    BII contact email: $biiemail

    ";
    $projectinfo="

    Project information
    Number of travelers: $numtravel
    Duration: $duration
    Budget: $budget
    Related project: $project

    ";
    $purpose="

    Purpose: $purpose

    ";
    $itinerary="

    Itinerary: $itinerary

    ";
    $objectives="

    Objectives: $objectives

    ";

    $submitinfo="

    We have received your BII Travel Support Application. Please also complete the http://biistate.net/files/TravelerInformation.doc\">Traveler Information form and send it to travel@biistate.net. Applications are reviewed every month. You will be notified by email of the results of your application.

    The BII Review Committee";
            $project=$datetext.$contactinfo.$projectinfo.$purpose.$itinerary.$objectives.$submitinfo;
            echo $project;
    mail ("email@email.com","Travel support request", "$project","From: $email\n"."MIME-Version: 1.0\n"."Content-type: text/html; charset=iso-8859-1");



    This is what the paragraph from the email looks like:

    We have received your BII Travel Support Application. Please also complete the Traveler Information form and send it to email@email.com. Applications are reviewed every month. You will be notified by email of the results of your applicatio! n.

    Source: http://community.livejournal.com/php/571282.html

« Problem with checkboxes || PHP issue on Windows server »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home