<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>PHPify</title>
	<atom:link href="http://phpify.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpify.wordpress.com</link>
	<description>Welcome to the world of PHP ...</description>
	<pubDate>Mon, 11 Feb 2008 08:02:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic MySQL DB operations.</title>
		<link>http://phpify.wordpress.com/2007/11/03/basic-mysql-db-operations/</link>
		<comments>http://phpify.wordpress.com/2007/11/03/basic-mysql-db-operations/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 20:09:01 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[Basics]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://phpify.wordpress.com/?p=9</guid>
		<description><![CDATA[ Lets have a look at some very basic MySQL PHP functions using which we can connect to a MySQL DB and retrieve some data from a sample database. Lets say we have a table called &#8220;albums&#8221; in our database &#8220;test&#8221;. This table stores music album information in 4 columns:

id - This is a unique [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> Lets have a look at some very basic MySQL PHP functions using which we can connect to a MySQL DB and retrieve some data from a sample database. Lets say we have a table called &#8220;albums&#8221; in our database &#8220;test&#8221;. This table stores music album information in 4 columns:</p>
<ol>
<li>id - This is a unique album id which is basically a primary key and auto-incremented for each album</li>
<li>name - This is the name of the album.</li>
<li>music_dir - This stores the name of the music director for the album</li>
<li>year - when the album was released.</li>
</ol>
<p>The PHP code we write to access this table should basically, connect to the mysql database, execute a SQL query on the table, get the results of the query and print the results.</p>
<p>Here is a sample code for the same with explanations at each step..</p>
<blockquote>
<p align="left">&lt;?php</p>
<blockquote>
<p align="left"><font color="#0000ff">//This function will establish a connection to the MySQL server.</font><br />
$conn = mysql_connect(&#8221;localhost&#8221;, &#8220;root&#8221;, &#8220;&#8221;) or die(&#8221;Unable to connect to MySQL Server&#8221;);</p>
<p align="left"><font color="#0000ff">//We will now use the above $conn and select the database in which the &#8220;users&#8221; table resides.</font><br />
mysql_select_db(&#8221;test&#8221;, $conn) or die(&#8221;Unable to select database&#8221;);</p>
<p align="left"><font color="#0000ff">//Once the DB is selected, we can now fire the SQL query and get the results.</font><br />
$result=mysql_query(&#8221;SELECT * FROM albums;&#8221;);</p>
<blockquote></blockquote>
<p><font color="#0000ff">//Did we get any result set from the above query?</font><br />
if(!$result) {<br />
die( &#8220;Failed to get results from the albums table.&#8221;);<br />
}</p>
<p><font color="#0000ff">//Fetch the number of rows in the result set $result</font><br />
$rows=mysql_numrows($result);
</p>
<p align="left">$i=0;</p>
<p align="left"><font color="#0000ff">//Loop through all the entries in the result..</font><br />
while($i&lt;$rows)  {</p>
<blockquote>
<p align="left"><font color="#0000ff">//Get the values for particular column in the albums table.</font><br />
$name=mysql_result($query, $i, &#8216;name&#8217;);
</p>
<p align="left">$musicdir=mysql_result($query, $i, &#8216;music_dir&#8217;);</p>
<p align="left">$year=mysql_result($query, $i, &#8220;year&#8221;);</p>
<p align="left"><font color="#0000ff">//Print the values here..</font><br />
echo &#8220;<br />
$name\n<br />
$musicdir\n<br />
$year&#8221;;
</p>
<p align="left">$i++;</p>
</blockquote>
<p align="left">}</p>
<blockquote></blockquote>
</blockquote>
<p align="left">?&gt;</p>
</blockquote>
<p align="left">In a future post we will look at how we can make this code more modular by defining PHP functions and using SSI.</p>
<blockquote></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=9&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/11/03/basic-mysql-db-operations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Server Side Includes - SSI: include() and require() functions</title>
		<link>http://phpify.wordpress.com/2007/10/21/server-side-includes-ssi-include-and-require-functions/</link>
		<comments>http://phpify.wordpress.com/2007/10/21/server-side-includes-ssi-include-and-require-functions/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 04:00:16 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[SSI]]></category>

		<category><![CDATA[functions]]></category>

		<category><![CDATA[include()]]></category>

		<category><![CDATA[PHP functions]]></category>

		<category><![CDATA[require()]]></category>

		<guid isPermaLink="false">http://phpify.wordpress.com/?p=6</guid>
		<description><![CDATA[A Server Side Include is any piece of code which can be included on multiple pages to make the code more modular and reusable. E.g: If you have a website of 10 pages and all the pages have the same header and footer, then we can separate the header code in header.php and footer code [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A Server Side Include is any piece of code which can be included on multiple pages to make the code more modular and reusable. E.g: If you have a website of 10 pages and all the pages have the same header and footer, then we can separate the header code in header.php and footer code in footer.php. header.php and footer.php are now called &#8220;Server Side Included&#8221;.</p>
<p>Now that we have our SSI&#8217;s ready we need to include them in all the 10 pages. This can be achieved by using include() or require() functions. Both these functions essentially do the same thing - that is include a piece of code in a PHP file before it is executed by the server. Let&#8217;s look at this with some examples:</p>
<p>header.php<code><br />
</code></p>
<blockquote><p>&lt;?php echo &#8220;I am a header\n&#8221;; ?&gt;</p></blockquote>
<p>footer.php</p>
<blockquote><p>&lt;?php echo &#8220;I am a footer\n&#8221;; ?&gt;</p></blockquote>
<p>body.php</p>
<blockquote><p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;</p>
<blockquote><p>&lt;?php<br />
include(&#8221;header.php&#8221;); OR require(&#8221;header.php&#8221;);<br />
echo &#8220;I am a body\n&#8221;;<br />
include(&#8221;footer.php&#8221;); OR require(&#8221;footer.php&#8221;);<br />
?&gt;</p></blockquote>
</blockquote>
<blockquote><p>&lt;/body&gt;<br />
&lt;/html&gt;</p></blockquote>
<p>Output: When you goto the body.php page - http://www.mydomain.com/body.php - you should see this output.</p>
<blockquote><p>    I am a header<br />
I am a body<br />
I am a footer</p></blockquote>
<p>So both include() and require() functions do the same thing. The only thing they differ in, is the way they handle errors. If there is any error in the file included using include() function, then you will see a warning on the body.php page but the entire code of body.php page after the include() function will still be executed.</p>
<p>However, if there is an error in the files you are including using a require() function, you will see FATAL error reported on the body.php page and the execution STOPS right after require() function. So no code after require() function from body.php will be executed.</p>
<p><b>Advantages: </b>Here are a few advantages of using SSI&#8217;s:</p>
<ol>
<li>Code becomes more modular.</li>
<li>Easy to maintain code. You only need to change the code in one location.</li>
<li>You can sometimes achieve parallel development. If one engineer is developing the header someone else can start working on the body.</li>
</ol>
<p><code> </code></p>
<blockquote></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=6&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/10/21/server-side-includes-ssi-include-and-require-functions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mystery behind a blank page..</title>
		<link>http://phpify.wordpress.com/2007/10/08/mystery-behind-a-blank-page/</link>
		<comments>http://phpify.wordpress.com/2007/10/08/mystery-behind-a-blank-page/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 21:55:10 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[Basics]]></category>

		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://phpify.wordpress.com/?p=5</guid>
		<description><![CDATA[As you start programming in PHP, you can sometimes hit a scenario where the PHP page you are developing appears as a BLANK page when you request the PHP page from a browser. So what should you do under such circumstances?  Here are a few tips:

Check server logs - Check the error log for [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As you start programming in PHP, you can sometimes hit a scenario where the PHP page you are developing appears as a BLANK page when you request the PHP page from a browser. So what should you do under such circumstances?  Here are a few tips:</p>
<ul>
<li><b>Check server logs </b>- Check the error log for your apache server. You should probably get some hints from the error log. Check the apache access log to make sure you are requesting for the right assets.</li>
<li>If checking the server logs don&#8217;t help, try adding some print/echo statements in your code, to see where it is exactly failing. Be smart when you do this, don&#8217;t start adding print statements everywhere in the page. Spread your debug print statements over the page to start with and then start moving down to specific areas.</li>
</ul>
<p>Hope that helps.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=5&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/10/08/mystery-behind-a-blank-page/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basics on how to open, read, write and close files in PHP?</title>
		<link>http://phpify.wordpress.com/2007/09/25/basics-on-how-to-open-read-write-and-close-files-in-php/</link>
		<comments>http://phpify.wordpress.com/2007/09/25/basics-on-how-to-open-read-write-and-close-files-in-php/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 04:16:11 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[Basics]]></category>

		<category><![CDATA[file operations]]></category>

		<category><![CDATA[fclose]]></category>

		<category><![CDATA[fgets]]></category>

		<category><![CDATA[files]]></category>

		<category><![CDATA[fopen]]></category>

		<category><![CDATA[fwrites]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://phpify.wordpress.com/2007/02/20/basics-on-how-to-open-read-write-and-close-files-in-php/</guid>
		<description><![CDATA[Lets say we would like to open a file and print one line from it.
To do this you first have to open a file using fopen funtion. The fopen() function opens a file or URL.

&#60;?php
$file = fopen("test.txt","r");
$file = fopen("/home/test/test.txt","r");
$file = fopen("/home/test/test.gif","w+");
$file = fopen("http://www.example.com/","r");
$file = fopen("ftp://user:password@example.com/test.txt","w");
?&#62;

the second argument in the function above is the mode in [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Lets say we would like to open a file and print one line from it.</p>
<p>To do this you first have to <b>open a file</b> using fopen funtion. The fopen() function opens a file or URL.</p>
<blockquote>
<pre>&lt;?php
$file = fopen("test.txt","r");
$file = fopen("/home/test/test.txt","r");
$file = fopen("/home/test/test.gif","w+");
$file = fopen("http://www.example.com/","r");
$file = fopen("ftp://user:password@example.com/test.txt","w");
?&gt;</pre>
</blockquote>
<p>the second argument in the function above is the mode in which you want to open the file. You can open the file only for reading, only for writing, for appending, for reading and writing etc as explained below:<br />
Possible values:</p>
<ul>
<li>         &#8220;r&#8221; (Read only. Starts at the beginning of the file)</li>
<li>         &#8220;r+&#8221; (Read/Write. Starts at the beginning of the file)</li>
<li>         &#8220;w&#8221; (Write only. Opens and clears the contents of file; or creates a new file if it doesn&#8217;t exist)</li>
<li>         &#8220;w+&#8221; (Read/Write. Opens and clears the contents of file; or creates a new file if it doesn&#8217;t exist)</li>
<li>         &#8220;a&#8221; (Write only. Opens and writes to the end of the file or creates a new file if it doesn&#8217;t exist)</li>
<li>         &#8220;a+&#8221; (Read/Write. Preserves file content by writing to the end of the file)</li>
<li>         &#8220;x&#8221; (Write only. Creates a new file. Returns FALSE and an error if file already exists)</li>
<li>         &#8220;x+&#8221; (Read/Write. Creates a new file. Returns FALSE and an error if file already exists)</li>
</ul>
<p>Once you open the file using fopen() it will return a pointer ($file) to the right location in the file from where you can start reading and writing.</p>
<p>Now that the file is open you can <b>read</b> from it. There are many easy ways to read from a file. Normal is to read files on a line by line basis till we HIT the last character in the file which is called EOF (-1) = End Of File.</p>
<p>This code will print 1 line form the file and will close the file.</p>
<blockquote>
<pre>&lt;?php
$file = fopen("test.txt","r");
echo fgets($file);
fclose($file); ?&gt;</pre>
</blockquote>
<p>This code will print all the lines from the file and close it:</p>
<blockquote>
<pre>&lt;?php $file = fopen("test.txt","r"); while(! feof($file))
{
  echo fgets($file). "&lt;br /&gt;";
} fclose($file);
?&gt;</pre>
</blockquote>
<p>What we do above is we go in a loop and read a line and print it and move ahead in the file line by line. feof() function will check if the file pointer $file points to EOF? If it does not that means we have not hit the end of the file so we can read in one more line.<br />
More here: http://www.w3schools.com/php/func_filesystem_fgets.asp</p>
<p>For <b>writing</b> in a file there are many functions too. Here is one easy way to do it using fputs() function:</p>
<blockquote>
<pre>&lt;?php
$file = fopen("test.txt","w");
echo fputs($file,"Hello World. Testing!");
fclose($file);
?&gt;</pre>
</blockquote>
<p>You should always close the file once you have finished operating on it using the fclose() function.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=7&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/09/25/basics-on-how-to-open-read-write-and-close-files-in-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What happens on a HTTP request?</title>
		<link>http://phpify.wordpress.com/2007/09/15/what-happens-on-a-http-request/</link>
		<comments>http://phpify.wordpress.com/2007/09/15/what-happens-on-a-http-request/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 21:15:33 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[Basics]]></category>

		<category><![CDATA[DNS]]></category>

		<category><![CDATA[HTTP]]></category>

		<category><![CDATA[HTTP request]]></category>

		<category><![CDATA[ISP]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://phpify.wordpress.com/?p=4</guid>
		<description><![CDATA[So lets look behind the scenes and see what exactly goes on when you type www.yahoo.com in your browser?

 Your browser will first check if it knows the IP address to which yahoo.com domain matches? This domain-IP mapping can be stored in the browser cache when the browser looks it up for the first time.
If [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So lets look behind the scenes and see what exactly goes on when you type www.yahoo.com in your browser?</p>
<ol>
<li> Your browser will first check if it knows the IP address to which yahoo.com domain matches? This domain-IP mapping can be stored in the browser cache when the browser looks it up for the first time.</li>
<li>If the browser cannot find the domain-IP mapping in it&#8217;s cache,  it will send a DNS request to the ISPs DNS server.  The DNS server will  lookup and find the IP mapping for www.yahoo.com. It will then respond with the IP address.</li>
<li>The browser will get the IP address from DNS server and send the HTTP request for www.yahoo.com to that IP address.</li>
<li>The server running at that IP address should be hosting the domain yahoo.com.</li>
<li>The server will look at the incoming request. If the incoming request is a request for an HTML page it will serve it directly back to the client.</li>
<li>If the request is for a PHP page, then the request will be sent to the PHP engine/module running on the server. The PHP engine/module will execute the PHP code and generate an HTML page will it will be give back to the HTTP server.</li>
<li>The HTTP server will then send this HTML response back to the client&#8217;s browser.</li>
<li>The browser will then render yahoo.com webpage for the client.</li>
</ol>
<p>Looking behind the scenes always helps to get a better understanding and complete picture of how things work.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=4&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/09/15/what-happens-on-a-http-request/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is PHP?</title>
		<link>http://phpify.wordpress.com/2007/09/07/hello-world/</link>
		<comments>http://phpify.wordpress.com/2007/09/07/hello-world/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 20:25:19 +0000</pubDate>
		<dc:creator>Harshita</dc:creator>
		
		<category><![CDATA[Basics]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[server-side]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Did you know that PHP originally meant - Personal Home Page? Yes thats right  In 1994 Rasmus Lerdorf created PHP to track the online visitors coming to see his resume.
PHP, slowly grew in popularity and later came to be know as : PHP Hypertext Preprocessor.
Here are a few takeaways about PHP:

It can be embedded [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Did you know that PHP originally meant - Personal Home Page? Yes thats right <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> In 1994 Rasmus Lerdorf created PHP to track the online visitors coming to see his resume.</p>
<p>PHP, slowly grew in popularity and later came to be know as : <b>PHP Hypertext Preprocessor</b>.</p>
<p>Here are a few takeaways about PHP:</p>
<ul>
<li>It can be embedded directly into the HTML pages to make them more dynamic.</li>
<li> It was designed to be a server-side scripting language more then a programming language. We say it is &#8220;server side&#8221; beacause when an HTTP request is made for a PHP page, all the logic inside the PHP page is executed on the server-side and finally an HTML page returned back to the user.</li>
<li>PHP is also cross-platform scripting language. That means, code written in PHP can be executed on Windows, UNIX and various flavors of LINUX.</li>
</ul>
<p>Hope this helps!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpify.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpify.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpify.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpify.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpify.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpify.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpify.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpify.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpify.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpify.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpify.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpify.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpify.wordpress.com&blog=2829031&post=1&subd=phpify&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://phpify.wordpress.com/2007/09/07/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>