<?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>ajaxtime.com &#187; php</title>
	<atom:link href="http://www.ajaxtime.com/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxtime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 13 Apr 2010 14:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP: Hypertext Preprocessor</title>
		<link>http://www.ajaxtime.com/php-hypertext-preprocessor.html</link>
		<comments>http://www.ajaxtime.com/php-hypertext-preprocessor.html#comments</comments>
		<pubDate>Sat, 06 Mar 2010 07:32:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=528</guid>
		<description><![CDATA[The PHP development team is proud to announce the immediate release of PHP 5.3.2. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes. ]]></description>
			<content:encoded><![CDATA[<p>
The PHP development team is proud to announce the immediate release of PHP 5.3.2. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes. </p>
<p>Security Enhancements and Fixes in PHP 5.3.2: </p>
<p>Improved LCG entropy. (Rasmus, Samy Kamkar)<br />
Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)<br />
Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)<br />
Key Bug Fixes in PHP 5.3.2 include: </p>
<p>Added support for SHA-256 and SHA-512 to php&#8217;s crypt.<br />
Added protection for $_SESSION from interrupt corruption and improved &#8220;session.save_path&#8221; check.<br />
Fixed bug #51059 (crypt crashes when invalid salt are given).<br />
Fixed bug #50940 Custom content-length set incorrectly in Apache sapis.<br />
Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long).<br />
Fixed bug #50723 (Bug in garbage collector causes crash).<br />
Fixed bug #50661 (DOMDocument::loadXML does not allow UTF-16).<br />
Fixed bug #50632 (filter_input() does not return default value if the variable does not exist).<br />
Fixed bug #50540 (Crash while running ldap_next_reference test cases).<br />
Fixed bug #49851 (http wrapper breaks on 1024 char long headers).<br />
Over 60 other bug fixes.<br />
For users upgrading from PHP 5.2 there is a migration guide available here, detailing the changes between those releases and PHP 5.3. </p>
<p>Further information and downloads: </p>
<p>For a full list of changes in PHP 5.3.2, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/php-hypertext-preprocessor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP PDO MySQL &#8211; Simple Example Connecting to MySQL With PDO Class</title>
		<link>http://www.ajaxtime.com/php-pdo-mysql-simple-example-connecting-to-mysql-with-pdo-class.html</link>
		<comments>http://www.ajaxtime.com/php-pdo-mysql-simple-example-connecting-to-mysql-with-pdo-class.html#comments</comments>
		<pubDate>Mon, 22 Jun 2009 02:24:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/php-pdo-mysql-simple-example-connecting-to-mysql-with-pdo-class.html</guid>
		<description><![CDATA[
I&#8217;ll demonstrate a simple example on how to connect to MySQL using PHP&#8217;s PDO class. Just some of the benefits of PDO is that it&#8217;s fast and if you use the PDO::prepare() method it will prevent SQL injection attacks by calling the PDO::quote() method. The other pros is that there are several databases it will [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>I&#8217;ll demonstrate a simple example on how to connect to MySQL using PHP&#8217;s PDO class. Just some of the benefits of PDO is that it&#8217;s fast and if you use the PDO::prepare() method it will prevent SQL injection attacks by calling the PDO::quote() method. The other pros is that there are several databases it will support. So let&#8217;s dive right into the code:</p>
<p> </p>
<p><strong>Fatal Error new PDO Instance</strong></p>
<p>Just an important note that if you receive the following type of fatal error in your development environment:</p>
<p> </p>
<p>Looks pretty messy and hard to decipher. When trying to decipher error code I usually look at the first error which led me to see why it was reporting an &#8220;Unknown database&#8221; when it was existing. The extra quotes also gave me a hint as to the problem. So I concluded the problem resulted in the placement of extra quotes around the values of host and/or dbname. The following will generate the previous error:</p>
<p> </p>
<p>So if you do not use variables then do not add the single quotes for the values of host and dbname. In other words, use the following code instead:</p>
<p> </p>
<p>This is a simple test to connect to your mysql database or any other support database. Just for your information if you wish to connect to PostgreSQL which is another popular and robust database use the following code in place of the line of instantiation:</p>
<p> </p>
<p>If you&#8217;re in a development environment and wish to display your errors directly to the screen you can specify the errors displayed. You need to set your display_errors settings to &#8216;on&#8217; in your php.ini file. So set your error attributes after instantiating the PDO class like so:</p>
<p> </p>
<p>There are three types of error report settings for PDO::ATTR_ERRMODE:<br />
PDO::ERRMODE_SILENT = error codes<br />
PDO::ERRMODE_WARNING = E_WARNING<br />
PDO::ERRMODE_EXCEPTION = Throw exceptions</p>
<p>Here&#8217;s an example of implementing PDO::ATR_ERRMODE:</p>
<p> </p>
<p>Don&#8217;t confuse this with the errors generated from the php setting of error_reporting. The errors from PDO::ATTR_ERRMODE apply to the sql query and its results. I&#8217;ll dive into the error settings and the different outputs of the php.ini error_reporting settings and PDO::ATTR_ERRMODE report settings in a future article.</p></div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<div id="sig">
<p>PHP Tutorial, tips, guides. Learn PHP programming. Victor Kimura</p></div>
</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/php-pdo-mysql-simple-example-connecting-to-mysql-with-pdo-class.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Reason to Smile For All PHP Developers</title>
		<link>http://www.ajaxtime.com/a-reason-to-smile-for-all-php-developers.html</link>
		<comments>http://www.ajaxtime.com/a-reason-to-smile-for-all-php-developers.html#comments</comments>
		<pubDate>Mon, 22 Jun 2009 02:20:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=519</guid>
		<description><![CDATA[
The market is full of developers in different languages like ASP.net, C#, VB.net, Coldfusion, Java and last but not least PHP. Among all the great time has come for PHP developers in India and abroad. The reason is simple. They are highly in demand due to domestic and international requirement. Let me explain how.
Due to [...]]]></description>
			<content:encoded><![CDATA[<div id="body">
<p>The market is full of developers in different languages like ASP.net, C#, VB.net, Coldfusion, Java and last but not least PHP. Among all the great time has come for PHP developers in India and abroad. The reason is simple. They are highly in demand due to domestic and international requirement. Let me explain how.</p>
<p>Due to the recent recession, most of companies and government organizations have started cutting corners, IT expenditure is among the worst sufferer out of any other expenditures. Because IT expenditure is not considered as Core source of Direct Income, so it&#8217;s going to feel the heat. Now need of having up to date online information without losing the customer faith is also important. Its true for government and private organization. But that cost goes higher and higher in licensing and development. The response to that was simple, open source technology adoption. And what is the easiest and best to start is PHP development.</p>
<p>PHP development is not only providing the cost effective solution but its known for its robust features on internet. Above all the great community support has made it un disputed leader in web development solutions. It&#8217;s definitely giving a second thought to existing proprietary programming language owners.  </p>
<p>The other reason for PHP popularity is the simplicity and structure that is based on OOP. The programmers are taught OPP during their academics, so migrating to PHP from any other language becomes easier than ever. That adds to its rapid expansion among the developers in India and abroad.</p>
<p>The role of India has become vital here, worldwide India is the leading provider of developers, and that gives an edge to India for Open source revolution also. Most famous PHP based open sources like Joomla, Drupal, Oscommerce have their India based community chapters.</p>
<p>Advice to ASP.net Developers and coldfusion developers, don&#8217;t neglect PHP now, it could surely save your job in future.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/a-reason-to-smile-for-all-php-developers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
