<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PHP Contact Form in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5639#M9281</link>
    <description>&lt;P&gt;not sure why it is not working to be honest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you can download a pretty decent PHP form script from the following page, and it does work with BT's server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://www.freecontactform.com/free.php&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2009 18:40:16 GMT</pubDate>
    <dc:creator>dave</dc:creator>
    <dc:date>2009-04-30T18:40:16Z</dc:date>
    <item>
      <title>PHP Contact Form</title>
      <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5634#M9278</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some trouble with this form. Can anyone assist:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;?php&lt;BR /&gt;&lt;BR /&gt;// get posted data into local variables&lt;BR /&gt;$EmailFrom = "info@wearededicated.me.uk";&lt;BR /&gt;$EmailTo = "info@wearededicated.me.uk";&lt;BR /&gt;$Subject = "Contact";&lt;BR /&gt;$Name = Trim(stripslashes($_POST['Name']));&lt;BR /&gt;$Tel = Trim(stripslashes($_POST['Tel']));&lt;BR /&gt;$Mobile = Trim(stripslashes($_POST['Mobile']));&lt;BR /&gt;$Fax = Trim(stripslashes($_POST['Fax']));&lt;BR /&gt;$comm = Trim(stripslashes($_POST['comm']));&lt;BR /&gt;&lt;BR /&gt;// validation&lt;BR /&gt;$validationOK=true;&lt;BR /&gt;if (!$validationOK) {&lt;BR /&gt;&amp;nbsp; print "&amp;lt;meta http-equiv=\"refresh\" content=\"0;URL=error.htm\"&amp;gt;";&lt;BR /&gt;&amp;nbsp; exit;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;// prepare email body text&lt;BR /&gt;$Body = "";&lt;BR /&gt;$Body .= "Name: ";&lt;BR /&gt;$Body .= $Name;&lt;BR /&gt;$Body .= "\n";&lt;BR /&gt;$Body .= "Tel: ";&lt;BR /&gt;$Body .= $Tel;&lt;BR /&gt;$Body .= "\n";&lt;BR /&gt;$Body .= "Mobile: ";&lt;BR /&gt;$Body .= $Mobile;&lt;BR /&gt;$Body .= "\n";&lt;BR /&gt;$Body .= "Fax: ";&lt;BR /&gt;$Body .= $Fax;&lt;BR /&gt;$Body .= "\n";&lt;BR /&gt;$Body .= "comm: ";&lt;BR /&gt;$Body .= $comm;&lt;BR /&gt;$Body .= "\n";&lt;BR /&gt;&lt;BR /&gt;// send email&lt;BR /&gt;$success = mail($EmailTo, $Subject, $Body, "From: &amp;lt;$EmailFrom&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;// redirect to success page&lt;BR /&gt;if ($success){&lt;BR /&gt;&amp;nbsp; print "&amp;lt;meta http-equiv=\"refresh\" content=\"0;URL=ok.htm\"&amp;gt;";&lt;BR /&gt;}&lt;BR /&gt;else{&lt;BR /&gt;&amp;nbsp; print "&amp;lt;meta http-equiv=\"refresh\" content=\"0;URL=error.htm\"&amp;gt;";&lt;BR /&gt;}&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2009 16:45:37 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5634#M9278</guid>
      <dc:creator>webcrawler2050</dc:creator>
      <dc:date>2009-04-30T16:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Contact Form</title>
      <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5636#M9279</link>
      <description>Can you be a bit more specific about the trouble you are having with the form?</description>
      <pubDate>Thu, 30 Apr 2009 17:34:47 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5636#M9279</guid>
      <dc:creator>dave</dc:creator>
      <dc:date>2009-04-30T17:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Contact Form</title>
      <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5637#M9280</link>
      <description>It's simply not sending out the email..</description>
      <pubDate>Thu, 30 Apr 2009 17:36:20 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5637#M9280</guid>
      <dc:creator>webcrawler2050</dc:creator>
      <dc:date>2009-04-30T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Contact Form</title>
      <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5639#M9281</link>
      <description>&lt;P&gt;not sure why it is not working to be honest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you can download a pretty decent PHP form script from the following page, and it does work with BT's server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://www.freecontactform.com/free.php&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2009 18:40:16 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5639#M9281</guid>
      <dc:creator>dave</dc:creator>
      <dc:date>2009-04-30T18:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Contact Form</title>
      <link>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5642#M9282</link>
      <description>I'd rather use my own script to be honest. I don't like these "free generators" can inject some security risks.</description>
      <pubDate>Thu, 30 Apr 2009 20:05:20 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/PHP-Contact-Form/m-p/5642#M9282</guid>
      <dc:creator>webcrawler2050</dc:creator>
      <dc:date>2009-04-30T20:05:20Z</dc:date>
    </item>
  </channel>
</rss>

