<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Latest Programming Articles</title>
<link>http://www.articlesgala.com/</link>
<description>Articles at Articles Gala</description>
<language>en-us</language>
<item>
<title>PHP Programming</title>
<link>http://www.articlesgala.com/computers/programming/php.html</link>
<guid>http://www.articlesgala.com/computers/programming/php.html</guid>
<pubDate>Sat, 15 Aug 2009 05:14:28 +0200</pubDate>
<description><![CDATA[ <p><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 7pt; font-family: Verdana; color: black;">About PHP</span></strong></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">PHP means Hypertext Pre-processor or Personal Home Page. It is a server side scripting language. </span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">That means it&rsquo;s all codes&nbsp;only running with a web server existence. It&lsquo;s mostly using for design a dynamic or commercial sites. PHP5.0 is the latest version of php. It&rsquo;s supported the OOP facility. </span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">There are two types of web Server like as:</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">1. Live Server</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">2. Personal web Server.</span></p>
<p><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 7pt; font-family: Verdana; color: black;">Live Server: </span></strong><span style="font-size: 7pt; font-family: Verdana; color: black;">We need a real server for this process. </span></p>
<p><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 7pt; font-family: Verdana; color: black;">Personal Web server:</span></strong><span style="font-size: 7pt; font-family: Verdana; color: black;"> After installation Third-party Software like as: ApachetoTriad or Xamp you can get a web server <span style="mso-spacerun: yes;">&nbsp;&nbsp;</span>&amp; database server on your personal computer. After installed you have to put your all important .php extension files on the htdocs folder. Afterthat you&rsquo; can visit your web pages to write the following url <a href="http://localhost/">http://localhost</a> on the Internet Explorer address bar. <span style="mso-spacerun: yes;">&nbsp;</span></span></p>
<p><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 7pt; font-family: Verdana; color: black;">Variable Declare in PHP:</span></strong></p>
<p><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 7pt; font-family: Verdana; color: black;">To declare a variable you have to follow the following way:</span></strong></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$a =10;</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$b=20;</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$c=$a+$b;</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">echo &ldquo;Total Value is=&rdquo;.$c;</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">Method:</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">There are different types of method on PHP. Those method are doing some different operations from each other&rsquo;s. Follow the brief description of all method of PHP :</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$_GET : To passing value on the url.</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$_POST : To passing value without url. We can also receive values by this methos.</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$_REQUEST : It is the most latest method of PHP. We can only receive values by this method.</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$_FILES : To upload a files using this method.</span></p>
<p><span style="font-size: 7pt; font-family: Verdana; color: black;">$_SESSION : For create a session we can use this method. This method only passing some random values.&nbsp;</span><span style="font-size: 7pt; font-family: Verdana; color: black;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">&nbsp;</span></p> ]]></description>
</item>

</channel>
</rss>

