<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Connections &#187; PHP</title> <atom:link href="http://connections-pro.com/category/php/feed/" rel="self" type="application/rss+xml" /><link>http://connections-pro.com</link> <description>WordPress Plug-in</description> <lastBuildDate>Mon, 06 Feb 2012 02:03:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>ERROR: The $_SESSION save path does not exist.</title><link>http://connections-pro.com/2010/03/16/error-the-_session-save-path-does-not-exist/</link> <comments>http://connections-pro.com/2010/03/16/error-the-_session-save-path-does-not-exist/#comments</comments> <pubDate>Tue, 16 Mar 2010 15:31:24 +0000</pubDate> <dc:creator>Steven Zahm</dc:creator> <category><![CDATA[Bugs]]></category> <category><![CDATA[Development Update]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[development]]></category> <category><![CDATA[news]]></category> <category><![CDATA[update]]></category><guid isPermaLink="false">http://connections-pro.com/?p=234</guid> <description><![CDATA[A small percentage of users have been receiving this error. This error is caused because the host server is not configured correctly to use php sessions. I find this odd because in my fairly limited experience many web based applications absolutely require the php sessions. Since WordPress does not use php sessions I decided to ...]]></description> <content:encoded><![CDATA[<p>A small percentage of users have been receiving this error. This error is caused because the host server is  not configured correctly to use php sessions. I find this odd because in my fairly limited experience many web based applications absolutely require the php sessions. Since WordPress does not use php sessions I decided to rework the plug-in to remove it&#8217;s use. So if you are one of the few receiving this error, please download and install this version. Do keep in mind this version is under development an may contain bugs.</p><p>http://downloads.wordpress.org/plugin/connections.zip</p><p>If you do not want to use a development version see this FAQ for some possible solutions to fix this error.</p><p>http://connections-pro.com/?page_id=58#15</p> ]]></content:encoded> <wfw:commentRss>http://connections-pro.com/2010/03/16/error-the-_session-save-path-does-not-exist/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>PHP References</title><link>http://connections-pro.com/2009/09/15/php-references/</link> <comments>http://connections-pro.com/2009/09/15/php-references/#comments</comments> <pubDate>Tue, 15 Sep 2009 16:44:07 +0000</pubDate> <dc:creator>Steven Zahm</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[operator]]></category><guid isPermaLink="false">http://connections-pro.com/?p=114</guid> <description><![CDATA[I&#8217;m not quite sure how to use PHP references yet or why would one want to use them. They are declared by using the ampersand character (&#38;). Here&#8217;s the PHP Manual link. I&#8217;ve come across reference usage in a few WordPress plug-ins and even use it mine. This I kind of understand. The reference was ...]]></description> <content:encoded><![CDATA[<p>I&#8217;m not quite sure how to use PHP references yet or why would one want to use them. They are declared by using the ampersand character (&amp;). Here&#8217;s the <a title="PHP References" href="http://us2.php.net/manual/en/language.references.whatdo.php">PHP Manual link</a>.</p><p>I&#8217;ve come across reference usage in a few WordPress plug-ins and even use it mine. This I kind of understand. The reference was being set on the $this variable within an object like so &amp;$this. What this is doing is setting up a reference to the current object so you will be using the current object rather than creating a new instance of the object. So far I&#8217;ve only seen this used in the function parameter of a WordPress function within an object. Here&#8217;s an example using the activation hook:</p><p style="padding-left: 30px;">register_activation_hook( dirname(__FILE__) . &#8216;/connections.php&#8217;, array(&amp;$this, &#8216;activate&#8217;) );</p><p>The second parameter is normally where you would set the function name as a string to call when the plug-in is activated. If I understand correctly, since my plug-in is an object I&#8217;m setting up a reference to my plug-in and the function to call within the array. If anyone can clear this up for me it&#8217;d be very appreciated.</p> ]]></content:encoded> <wfw:commentRss>http://connections-pro.com/2009/09/15/php-references/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP Error Suppression</title><link>http://connections-pro.com/2009/09/15/php-error-suppression/</link> <comments>http://connections-pro.com/2009/09/15/php-error-suppression/#comments</comments> <pubDate>Tue, 15 Sep 2009 15:49:48 +0000</pubDate> <dc:creator>Steven Zahm</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[error]]></category> <category><![CDATA[operator]]></category><guid isPermaLink="false">http://connections-pro.com/?p=111</guid> <description><![CDATA[When I first started coding PHP (a mere 9 months ago) I came across the @ character preceding an expression. My Google skills are pretty good but I couldn&#8217;t find what this meant and why it might have been used. I guess I couldn&#8217;t find my answer because I wasn&#8217;t sure what question to ask. ...]]></description> <content:encoded><![CDATA[<p>When I first started coding PHP (a mere 9 months ago) I came across the @ character preceding an expression. My Google skills are pretty good but I couldn&#8217;t find what this meant and why it might have been used. I guess I couldn&#8217;t find my answer because I wasn&#8217;t sure what question to ask. So if this helps anyone here&#8217;s a link to the PHP manual explaining the <a title="PHP Error Control Operator" href="http://us2.php.net/manual/en/language.operators.errorcontrol.php">operator for error suppression</a>.</p><p><strong>NOTE:</strong> In my opinion this should be avoided.</p> ]]></content:encoded> <wfw:commentRss>http://connections-pro.com/2009/09/15/php-error-suppression/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 4/21 queries in 0.027 seconds using disk: basic
Object Caching 626/656 objects using disk: basic

Served from: connections-pro.com @ 2012-02-05 23:38:47 -->
