<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Topic &#x27;Re: Simple Problem&#x27; in forum &#x27;Webmasters and Developers&#x27; - dslreports.com</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27785325</link>
<description></description>
<language>en</language>
<pubDate>Tue, 21 May 2013 04:44:03 EDT</pubDate>
<lastBuildDate>Tue, 21 May 2013 04:44:03 EDT</lastBuildDate>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786287</link>
<description><![CDATA[zacron posted : I don't think it's the email, I posted the apache error log, it's telling me there's an "Unexpected T_VARIABLE on Line 86" which is the line where the email address is.<br><br>I did fix the syntax,<br><br>it was a missing semi colon after the "mysql(close);" statement and then the variables were using the wrong marks (") instead of (').<br><br>I just got the email from the script. :)<br><br>Thank you for your assistance guys :)<br><br>Zacron<br><small>--<br>"Recognize, Realize, and Repent"</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786287</guid>
<pubDate>Tue, 04 Dec 2012 09:04:49 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786279</link>
<description><![CDATA[cdru posted : While not related to your current problem, you really need to sanitize your posted values.  You're ripe for a SQL injection hack with what you've shown.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786279</guid>
<pubDate>Tue, 04 Dec 2012 08:59:36 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786274</link>
<description><![CDATA[cdru posted : <div class="bquote"><said>said by <a href="/profile/1599325" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=1599325');">zacron</a>:</said><p>yes, I have three others that are working, there is an rdns entry and it's smtp auth however, disabled for testing purposes.</p></div>Is it sending to and from the same gmail account(s)?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786274</guid>
<pubDate>Tue, 04 Dec 2012 08:58:14 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786241</link>
<description><![CDATA[JAAulde posted : <i><b>Edit:</b> This post was made as you were making your last one. My comments probably do not apply given the new info.</i><br><br>In addition, most major hosting companies lock down their systems such that mail leaving the mailer daemons on their machines must be bound for an address on their network. In most cases these days you must set up an email account from which you want mail to be sent, and you need some sort of SMTP mailer code which can reach out to that account's SMTP servers, authenticate, and send the message.<br><small>--<br><A HREF="https://www.yakabod.com/">The Yakabox</a> | <A HREF="http://www.jaaulde.com">My Development Sandbox</a> | <A HREF="http://www.linkedin.com/in/JimAuldridge">LinkedIn Profile</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786241</guid>
<pubDate>Tue, 04 Dec 2012 08:50:13 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786231</link>
<description><![CDATA[zacron posted : yes, I have three others that are working, there is an rdns entry and it's smtp auth however, disabled for testing purposes.<br><small>--<br>"Recognize, Realize, and Repent"</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786231</guid>
<pubDate>Tue, 04 Dec 2012 08:48:00 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786220</link>
<description><![CDATA[cdru posted : Have other scripts been able to mail from this server?  Does the server have a rDNS entry?  Based on your redacted log, you're sending email address is a gmail account and you're sending to an account (possibly the same account).  However, I'm going to guess that you're server isn't an authoritative mail server for gmail.  <br><br>Google doesn't tell you (or at least use to not tell you) when it drops your message.  It happily accepts your message and just routes it to /dev/null.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786220</guid>
<pubDate>Tue, 04 Dec 2012 08:44:34 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786215</link>
<description><![CDATA[zacron posted : I found this in the apache error log...<br><br>[Tue Dec 04 05:40:06 2012] [error] [client 192.168.1.1] PHP Parse error:  syntax error, unexpected T_VARIABLE in /var/www/netchecktech/joomla/signup/insert.php on line 86, referer: &raquo;<A HREF="http://snip.snip.snip/joomla/signup/" >snip.snip.snip/joomla/signup/</A><br><small>--<br>"Recognize, Realize, and Repent"</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786215</guid>
<pubDate>Tue, 04 Dec 2012 08:42:18 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27786178</link>
<description><![CDATA[zacron posted : This is all I could find:<br><br><pre class="brush: text">Nov 22 09:33:11 ubuntu postfix/master&#91;7587&#93;: daemon started -- version 2.8.5, configuration /etc/postfix&#012;Nov 22 09:34:00 ubuntu postfix/smtpd&#91;7596&#93;: connect from localhost&#91;127.0.0.1&#93;&#012;Nov 22 09:34:00 ubuntu postfix/smtpd&#91;7596&#93;: 68A478022E: client=localhost&#91;127.0.0.1&#93;&#012;Nov 22 09:34:00 ubuntu postfix/cleanup&#91;7600&#93;: 68A478022E: message-id=&lt;f4146e08255defba78b6051b051b9f13@xxx&gt;&#012;Nov 22 09:34:00 ubuntu postfix/qmgr&#91;7591&#93;: 68A478022E: from=&lt;xxx@gmail.com&gt;, size=880, nrcpt=1 (queue active)&#012;Nov 22 09:34:00 ubuntu postfix/smtpd&#91;7596&#93;: disconnect from localhost&#91;127.0.0.1&#93;&#012;Nov 22 09:34:01 ubuntu postfix/smtp&#91;7601&#93;: 68A478022E: to=&lt;xxx@gmail.com&gt;, relay=gmail-smtp-in.l.google.com&#91;74.125.142.26&#93;:25, delay=1, delays=0.06/0.01/0.39/0.55, dsn=2.0.0, status=sent (250 2.0.0 OK 1353605644 l7si3381077igb.8)&#012;Nov 22 09:34:01 ubuntu postfix/qmgr&#91;7591&#93;: 68A478022E: removed&#012; &#012;</pre><!--end code block--><br><small>--<br>"Recognize, Realize, and Repent"</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27786178</guid>
<pubDate>Tue, 04 Dec 2012 08:26:52 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27785949</link>
<description><![CDATA[ekiM posted : Are there errors in your server mail log?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27785949</guid>
<pubDate>Tue, 04 Dec 2012 02:14:05 EDT</pubDate>
</item>

<item>
<title>Re: Simple Problem</title>
<link>http://www.dslreports.com/forum/Re-Simple-Problem-27785347</link>
<description><![CDATA[zacron posted : Line 77 Forward.<br><br><pre class="brush: php">//CONNECT TO DATABASE SERVER AND DATABASE/TABLE&#012;$con = mysql_connect("localhost","xxx","xxx");&#012;if (!$con)&#012;  {&#012;  die('Could not connect: ' . mysql_error());&#012;  }&#012;mysql_select_db("tenants", $con);&#012;$sql="INSERT INTO people (id,&#012;fname,&#012;lname,&#012;dob,&#012;sex,&#012;address,&#012;city,&#012;province,&#012;postal,&#012;telephone,&#012;automobile,&#012;licence,&#012;house,&#012;rentpmt,&#012;sexok,&#012;rooms,&#012;coursetype,&#012;cstart,&#012;cstop,&#012;why,&#012;comments,&#012;date)&#012;VALUES('',&#012;'$fname',&#012;'$lname',&#012;'$dob',&#012;'$sex',&#012;'$address',&#012;'$city',&#012;'$province',&#012;'$postal',&#012;'$telephone',&#012;'$automobile',&#012;'$licence',&#012;'$house',&#012;'$rentpmt',&#012;'$sexok',&#012;'$rooms',&#012;'$coursetype',&#012;'$cstart',&#012;'$cstop',&#012;'$why',&#012;'$comments',&#012;'$date')";&#012; &#012;if (!mysql_query($sql,$con))&#012;  {&#012;  die('Error: ' . mysql_error());&#012;  }&#012;echo "&lt;div background-color:#42D53A&gt;Completed!";&#012; &#012;mysql_close($con)&#012; &#012;$to = "xxx@xxx.xxx";&#012;$subject = "NEW Tenant Incoming!!";&#012;$email = $_POST&#91;'email'&#93; ;&#012;$message = "Prospective Tenant - \n\nName: $fname, $lname\nEmail: $email\nTelephone: $tel\nStreet Address: $address, $city, $postal\nHouse Interested In: $house\n\nNumber of Rooms: $rooms\n\nOK with Different Sexes: $sexok\nFirst and Last?: $rentpmt\n\nCourse Type: $coursetype1\nCourse Start: $cstart\nCourse Stop: $cstop\nWhat do you expect from your landlord? $why\nOther Comments: $comments\n\nDate submitted: $date\n\n";&#012;$headers = "From: $email";&#012;$sent = mail($to, $subject, $message, $headers) ;&#012;if($sent)&#012;{print "&lt;h1&gt;Thank you for your submission, We will get back to you within 3 business days.&lt;/h1&gt;"; }&#012;else&#012;{print "We encountered an error sending your mail"; }&#012; &#012;?&gt;&#012; &#012;&lt;!--DISPLAY MENU OPTIONS--&gt;&#012;&lt;html&gt;&#012;&lt;body&gt;&#012; &#012;&lt;H1&gt;You may wish to call us, please do so at xxxx&lt;/h1&gt;&#012;&lt;/body&gt;&#012;&lt;/html&gt;&#012; &#012;</pre><!--end code block--><br><small>--<br>"Recognize, Realize, and Repent"</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Simple-Problem-27785347</guid>
<pubDate>Mon, 03 Dec 2012 21:13:55 EDT</pubDate>
</item>

<item>
<title>Simple Problem</title>
<link>http://www.dslreports.com/forum/Simple-Problem-27785325</link>
<description><![CDATA[zacron posted : Hello, I am attempting to use PHP to send some data via email after it posts to a db. Is there any reason why the code below isn't sending them email?<br><br>Thank you for being my 2nd set of eyes. :) I am killing myself trying to figure this one out.<br><br>I think it's to do with the "$message" variable. (2nd post line 64)<br><br><pre class="brush: php">&lt;?php&#012;//GET VARIABLES THAT WERE PASSED&#012;$fname = @$_POST&#91;'fname'&#93; ;&#012;$lname = @$_POST&#91;'lname'&#93;;&#012;$dob = @$_POST&#91;'dob'&#93; ;&#012;$sex = @$_POST&#91;'sex'&#93; ;&#012;$address = @$_POST&#91;'address'&#93; ;&#012;$city = @$_POST&#91;'city'&#93; ;&#012;$province = @$_POST&#91;'province'&#93; ;&#012;$postal = @$_POST&#91;'postal'&#93; ;&#012;$telephone = @$_POST&#91;'telephone'&#93; ;&#012;$automobile = @$_POST&#91;'automobile'&#93; ;&#012;$licence = @$_POST&#91;'licence'&#93;;&#012;$house = @$_POST&#91;'house'&#93; ;&#012;$rentpmt = @$_POST&#91;'rentpmt'&#93; ;&#012;$sexok = @$_POST&#91;'sexok'&#93; ;&#012;$rooms = @$_POST&#91;'rooms'&#93; ;&#012;$coursetype = @$_POST&#91;'coursetype'&#93; ;&#012;$cstart = @$_POST&#91;'cstart'&#93; ;&#012;$cstop = @$_POST&#91;'cstop'&#93; ;&#012;$why = @$_POST&#91;'why'&#93; ;&#012;$comments = @$_POST&#91;'comments'&#93; ;&#012;$date = @$_POST&#91;'date'&#93;;&#012; &#012; &#012;</pre><!--end code block-->]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Simple-Problem-27785325</guid>
<pubDate>Mon, 03 Dec 2012 21:02:35 EDT</pubDate>
</item>

</channel>
</rss>
