<?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>The Social Geek &#187; PHP</title>
	<atom:link href="http://www.thesocialgeek.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thesocialgeek.com/blog</link>
	<description>A never ending story of a never stopping idiot!</description>
	<lastBuildDate>Tue, 24 Aug 2010 06:59:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Netbeans PHP Integration &#8211; I&#8217;m impressed</title>
		<link>http://www.thesocialgeek.com/blog/2008/08/04/netbeans-php-integration-im-impressed/</link>
		<comments>http://www.thesocialgeek.com/blog/2008/08/04/netbeans-php-integration-im-impressed/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 05:28:13 +0000</pubDate>
		<dc:creator>Kamran</dc:creator>
				<category><![CDATA[Software Engineering Articles]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[free php editor]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[intellisense]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php auto complete]]></category>
		<category><![CDATA[php integration]]></category>
		<category><![CDATA[php intellisense]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.thesocialgeek.com/wordpress/?p=108</guid>
		<description><![CDATA[We often keep hearing about some PHP integration at some level or the other in all the major open source IDEs. But frankly, none of them seemed much useful to me. I somehow never liked PDT from Eclipse (and for some reason I don't like Eclipse at all :S). Now the latest milestone release of [...]]]></description>
			<content:encoded><![CDATA[<p>We often keep hearing about some PHP integration at some level or the other in all the major open source IDEs. But frankly, none of them seemed much useful to me. I somehow never liked PDT from Eclipse (and for some reason I don't like Eclipse at all :S). Now the latest <a href="http://bits.netbeans.org/download/6.5/m1/" target="_blank">milestone release of Netbeans</a> has a cool addition: PHP Integration that really kicks! Just to mention a few highlights: great intellisense for both the builtin library functions as well as our own, full support for class browsing and intellisense for object oriented PHP as well, integrated debugger, live error checking and much much more. Do check out if you are a PHP developer! You might no longer need the expensive Zend studio to have a smooooth PHP development experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesocialgeek.com/blog/2008/08/04/netbeans-php-integration-im-impressed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rasmus Lerdorf on PHP: A note to language purists</title>
		<link>http://www.thesocialgeek.com/blog/2008/07/04/rasmus-lerdorf-on-php-a-note-to-language-purists/</link>
		<comments>http://www.thesocialgeek.com/blog/2008/07/04/rasmus-lerdorf-on-php-a-note-to-language-purists/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 06:17:20 +0000</pubDate>
		<dc:creator>Kamran</dc:creator>
				<category><![CDATA[Software Engineering Articles]]></category>
		<category><![CDATA[lack of language structure]]></category>
		<category><![CDATA[language purists]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php language structure]]></category>
		<category><![CDATA[reasons]]></category>

		<guid isPermaLink="false">http://www.thesocialgeek.com/wordpress/?p=98</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Whenever I read <a href="http://en.wikipedia.org/wiki/Rasmus_Lerdorf">Rasmus Lerdorf</a>, I feel amazingly blessed for that particular time of the day. This man is a true gentleman. I would assume you'd be pretty amazed when I call a geek a gentleman but he truly is. Lerdorf's writings are so very different and better from all the other "php experts" in terms of pleasure that one avails when reading.</p>
<p>I, for one, had lately become a language purist complaining why PHP doesn't have a much more organized structure for some of the things. And <a href="http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html">in this article</a>, Rusmus seems to have read my mind. He answers those questions beautifully and emphasizes that PHP was never meant to be the Goddes of beautiful code structure, it was just a mistress that solved <i>the Web problem</i>.</p>
<p>Here is an extract from article that would make the point clear:</p>
<div style="margin: 20px; padding: 20px; background-color: rgb(204, 204, 204); font-family: times; font-weight: bold;"><em>"What it all boils down to is that PHP was never meant to win any beauty contests. It wasn't designed to introduce any new revolutionary programming paradigms. It was designed to solve a single problem: the Web problem. That problem can get quite ugly, and sometimes you need an ugly tool to solve your ugly problem. Although a pretty tool may, in fact, be able to solve the problem as well, chances are that an ugly PHP solution can be implemented much quicker and with many fewer resources. That generally sums up PHP's stubborn function-over-form approach throughout the years.</em>"
</div>
<p>Here is the link to the article:</p>
<p><a href="http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html">http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html</a></p>
<p>The interesting thing to note is that he answered this very question of mine about the lack of formalized structure to some of the things in PHP quite a while ago (somewhere in 2004 to be precise). A genius isn't a genius for no reason and mashaAllah Rasmus is definitely one of them. Looking at the amount of stuff he has written, it seems to me that he is not much of a talker, which reminds me of the line I once read in the beautiful <a href="http://www.php.net/manual/en/index.php">PHP Manual</a>: <i>Those who talk don't know and those who know don't talk!</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesocialgeek.com/blog/2008/07/04/rasmus-lerdorf-on-php-a-note-to-language-purists/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free PHP Auto Form Mailer</title>
		<link>http://www.thesocialgeek.com/blog/2008/02/29/free-php-auto-form-mailer/</link>
		<comments>http://www.thesocialgeek.com/blog/2008/02/29/free-php-auto-form-mailer/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 01:33:47 +0000</pubDate>
		<dc:creator>Kamran</dc:creator>
				<category><![CDATA[Random Non-technical Articles]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email form]]></category>
		<category><![CDATA[form mail]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.thesocialgeek.com/wordpress/?p=47</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Auto Form Mailer is an easy to use and powerful PHP script that lets you manage even the most complex of HTML forms and have them&nbsp;mailed to your email address. This script assumes zero knowledge of PHP to have it working for you. It handles unlimited form fields, you can set which fields are required and which fields need to have email validation applied to them.</p>
<p>This auto form mailer script is pretty simple to use. All the required files are in the 'files' folder in the <a href="http://www.thesocialgeek.com/afm.zip">download package</a>. You DO NOT have to worry about what is happening inside of the 'fm.php' script. If you are a PHP pro, then you can always fiddle around with the scrip itself, but otherwise you don't really need to.</p>
<p>Okay, so what you have to do is, make the right changes in your HTML form. A demo HTML form is included in the package but the following documentation helps you if you are a totally dumb human being like me:</p>
<p>In your HTML form, make sure the 'action' attribute is pointing to the 'fm.php' script and the post method of form submission is being used:</p>
<p>&lt;form method="post" action="fm.php"&gt;</p>
<p>Along with that, make sure your form has the following four hidden form fields:</p>
<p>&lt;input type="hidden" name="email_subject" value="Feedback from your website"&gt;<br />&lt;input type="hidden" name="email_sender" value="<a href="mailto:webmaster@yoursite.com">webmaster@yoursite.com</a>"&gt;<br />&lt;input type="hidden" name="email_recipient" value="<a href="mailto:you@yoursite.com">you@yoursite.com</a>"&gt;<br />&lt;input type="hidden" name="email_thanks_url" value="thanks.html"&gt;</p>
<p>The first one (email_subject) is the subject of the email message that you'll get when the form is submitted.</p>
<p>The second hidden field (email_sender) will have the email address that tells you from where the email is sent, usually its your site's email address such as <a href="mailto:webmaster@yoursite.com">webmaster@yoursite.com</a>.</p>
<p>The third one is the email address where you want to actually receive the email message when the form is submitted. This should ideally be your own email address of course.</p>
<p>The final hidden field should be the url of the page that should be displayed once the form has been successfully submitted and emailed.</p>
<p><strong><br />Additional Settings:</strong></p>
<p>All the basic setup was done above but the Auto Form Mailer also provides additional functionality such as setting up required form fields and email validation fields.</p>
<p>To make sure a certain form field is required, prefix it with 'r_' in the name attribute like so:</p>
<p>&lt;input type="text" name="r_Sender_Name" /&gt;</p>
<p>To implement the email validation field, where you need to make sure the person entered a valid email address, prefix the field with 'email_' and you're all good to go!</p>
<p>&lt;input type="text" name="email_Sender_Email_Address" /&gt;</p>
<p><strong>Download:</strong> <a href="http://www.thesocialgeek.com/afm.zip">www.thesocialgeek.com/afm.zip</a> </p>
<p><strong>Live Demo: </strong><a href="http://www.thesocialgeek.com/afm/"><strong>http://www.thesocialgeek.com/afm/</strong></a><strong>&nbsp;<br /></strong>(try leaving some of the initial fields empty to see the validation results)</p>
<p><strong>More Help:</strong></p>
<p>I have oversimplified this script so it can be used generically. You can alter it slightly to have it working within template systems such as smarty and others. If you need more help with this script, feel free to email me at&nbsp;<strong>kamran.usman at gmail dot com</strong>&nbsp;and I'll be glad to help.</p>
<p>Enjoy,<br />Kamran</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesocialgeek.com/blog/2008/02/29/free-php-auto-form-mailer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A new book in my shelf: PHP 5 Advanced</title>
		<link>http://www.thesocialgeek.com/blog/2008/02/18/a-new-book-in-my-shelf-php-5-advanced/</link>
		<comments>http://www.thesocialgeek.com/blog/2008/02/18/a-new-book-in-my-shelf-php-5-advanced/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 18:20:20 +0000</pubDate>
		<dc:creator>Kamran</dc:creator>
				<category><![CDATA[Random Non-technical Articles]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.thesocialgeek.com/wordpress/?p=41</guid>
		<description><![CDATA[I went to Saddar on Saturday and on my way back, me and my friend Saadi decided to check out Urdu bazaar as we had to look for some books related to our respective courses. We did not find the course books we were looking for, but I saw this book titled 'PHP 5 Advanced' [...]]]></description>
			<content:encoded><![CDATA[<p><span class="mt-enclosure mt-enclosure-image"> </span></p>
<p>I went to Saddar on Saturday and on my way back, me and my friend Saadi decided to check out Urdu bazaar as we had to look for some books related to our respective courses.</p>
<p>We did not find the course books we were looking for, but I saw this book titled '<a href="http://www.amazon.com/PHP-Advanced-Visual-QuickPro-Guide/dp/0321376013">PHP 5 Advanced</a>' by Larry Ullman at Bismillah Book Shop in Urdu Bazaar. I took up the book, scanned through its contents and I thought I should buy it, so I did <img src='http://www.thesocialgeek.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I have my plans to take the <a href="http://www.zend.com/en/services/certification/">Zend certification exam</a> sometime soon so I thought this might just be the right kind of book to have for the preparation. Plus, I think even without the certification, this book is worth buying.</p>
<p>Larry Ullman is one of my favorite authors. I have read <a href="http://www.amazon.com/gp/product/0321336577/ref=cm_plog_item_link">another of his books</a> before and I loved it! Luckily for me, this book (that I just purchased) is an ideal match to complement Larry's previous book that I read before. It takes you from where you were left in the previous book.</p>
<p>You can find the <a href="http://www.dmcinsights.com/phpvqp2/toc.php">table of contents here</a> to whet your appetite. I just bought the book so I am on chapter 1 right now, hopefully will finish this up soon and become a pro =P</p>
<p>Cheers,<br />
Kami</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesocialgeek.com/blog/2008/02/18/a-new-book-in-my-shelf-php-5-advanced/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Headlines!!</title>
		<link>http://www.thesocialgeek.com/blog/2008/01/31/headlines/</link>
		<comments>http://www.thesocialgeek.com/blog/2008/01/31/headlines/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 06:19:36 +0000</pubDate>
		<dc:creator>Kamran</dc:creator>
				<category><![CDATA[Random Non-technical Articles]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[data communications]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.thesocialgeek.com/wordpress/?p=30</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>- Internet is acting weird, thanks to the <a href="http://www.dailytimes.com.pk/default.asp?page=2008%5C01%5C31%5Cstory_31-1-2008_pg1_5">cable fault</a>. As a result, we are suffering!<br />- Aitezaz Ahsan, one of my favorite personalities, is still under house arrest. Shame on our government.<br />- We won! We got the first prize in project exhibition for our SE project. It wasn't too much of work, but still, we won!<br />- Our CG course is really exciting. I need to think of a project. Ideas welcome!<br />- Network Programming brings back Data Communication course memories.... OSI, TCP/IP, WINS, boo!<br />- I'm thinking of taking some certification exams, especially those of Sun and Zend.<br />- I've got an <a href="http://openid.net/">OpenID</a>!</p>
<p>Take cares,<br />Kami!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesocialgeek.com/blog/2008/01/31/headlines/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
