<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: The Perils of the AT in PHP</title>
	<atom:link href="http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-at-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-at-in-php/</link>
	<description>Web Programming and Design by Aaron Saray</description>
	<pubDate>Fri, 05 Dec 2008 11:58:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Sean</title>
		<link>http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-at-in-php/#comment-283</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 26 Mar 2008 23:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-in-php/#comment-283</guid>
		<description>function_exists would actually show mail as working.  It is defined, but the configuration is not done on it. 

It's a REALLY weird case :-/

I think we're on the right path though... the thing that mail() complains about is the SMTP port not being set in php.ini... so we could just look up the four settings with ini_get like you mentioned and see if everything is there.

For anyone who ends up here and is curious, the settings are here:
http://us2.php.net/manual/en/ref.mail.php

Thanks for a great article Aaron!</description>
		<content:encoded><![CDATA[<p>function_exists would actually show mail as working.  It is defined, but the configuration is not done on it. </p>
<p>It&#8217;s a REALLY weird case :-/</p>
<p>I think we&#8217;re on the right path though&#8230; the thing that mail() complains about is the SMTP port not being set in php.ini&#8230; so we could just look up the four settings with ini_get like you mentioned and see if everything is there.</p>
<p>For anyone who ends up here and is curious, the settings are here:<br />
<a href="http://us2.php.net/manual/en/ref.mail.php" rel="nofollow">http://us2.php.net/manual/en/ref.mail.php</a></p>
<p>Thanks for a great article Aaron!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-at-in-php/#comment-281</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Wed, 26 Mar 2008 18:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-in-php/#comment-281</guid>
		<description>I would check the function_exists as well as some of the php ini configs to see if your method exists.  You might also check out here:
http://us2.php.net/function_exists

Check out the comments - so you can find out all kinds of useful information, like how to check the hardened PHP (suhosin) ini blacklist.  Thanks!
-aaron</description>
		<content:encoded><![CDATA[<p>I would check the function_exists as well as some of the php ini configs to see if your method exists.  You might also check out here:<br />
<a href="http://us2.php.net/function_exists" rel="nofollow">http://us2.php.net/function_exists</a></p>
<p>Check out the comments - so you can find out all kinds of useful information, like how to check the hardened PHP (suhosin) ini blacklist.  Thanks!<br />
-aaron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-at-in-php/#comment-278</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Tue, 25 Mar 2008 04:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.102degrees.com/blog/2007/07/27/the-perils-of-the-in-php/#comment-278</guid>
		<description>Thanks for the article!  I had a custom error-handler that was still spitting out errors that I thought I'd suppressed with "@" but were getting displayed anyway.


As far as a "quality" reason to use the "@" sign, the only use I've found is functions like "mail" where you may not know ahead of time whether this function is supported on the server.  I don't think that there is an efficient way to check whether or not it is enabled (am I incorrect?  that would be cool).</description>
		<content:encoded><![CDATA[<p>Thanks for the article!  I had a custom error-handler that was still spitting out errors that I thought I&#8217;d suppressed with &#8220;@&#8221; but were getting displayed anyway.</p>
<p>As far as a &#8220;quality&#8221; reason to use the &#8220;@&#8221; sign, the only use I&#8217;ve found is functions like &#8220;mail&#8221; where you may not know ahead of time whether this function is supported on the server.  I don&#8217;t think that there is an efficient way to check whether or not it is enabled (am I incorrect?  that would be cool).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.836 seconds -->
