<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Chris Cook .me</title>
	<link>http://chriscook.me</link>
	<description>Homepage</description>
	<lastBuildDate>Thu, 26 Nov 2009 22:31:50 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>PHP: Session Timeouts</title>
		<description><![CDATA[Defining session timeout thresholds for PHP scripts is a security &#8220;must&#8221;.  I recommend that you consider the purpose of your script before applying a session timeout function.  For instance, if your site has a secure login and security requirements, it&#8217;s important to include the timeout function. However, it&#8217;s often an inconvenience to end-users.
Use [...]]]></description>
		<link>http://chriscook.me/web-development/php-session-timeouts/</link>
			</item>
	<item>
		<title>Clear Tower Consulting</title>
		<description><![CDATA[Looking for a company to help you manage your web development project?  Need a website?  Are you a looking for eLearning or online training?
Clear Tower Consulting is a progressive, innovative firm which provides custom consulting solutions.
Take a look at their services below (Excerpt from ClearTowerConsulting.com)

eCommerce Solutions
If you&#8217;re company sells products and services, you [...]]]></description>
		<link>http://chriscook.me/projects/clear-tower-consulting/</link>
			</item>
	<item>
		<title>Use PHP to Backup your MySQL Database</title>
		<description><![CDATA[If you don&#8217;t backup your databases regularly, shame on you.  You should!
The code below will allow you to generate a backup as often as you&#8217;d like.  It only makes sense to run this via a CRON job.  This is pretty easy to do and you can set the frequency as you wish.
The [...]]]></description>
		<link>http://chriscook.me/web-development/backup-mysql-database-php/</link>
			</item>
	<item>
		<title>Return Random Record via MySQL</title>
		<description><![CDATA[There are many practical and frequently used methods requiring a random record to be called.  For instance, when you see &#8220;featured profiles&#8221; or random customer comments on a website, they are most likely using a function to call a random record.
In addition, this function can allow you to display data in a random order.
Here&#8217;s [...]]]></description>
		<link>http://chriscook.me/web-development/return-random-record-via-mysql/</link>
			</item>
	<item>
		<title>Detecting iPhone visitors with PHP</title>
		<description><![CDATA[More and more internet traffic is generated by the iPhone and iPod touch.
The PHP snippet below shows you how to automatically redirect your users to a page which is optimized for the iPhone Safari browser.


if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') &#124;&#124; strstr($_SERVER['HTTP_USER_AGENT'],'iPod'))
{
// Change your URL below
header('Location: http://www.domain.com/iphone');
exit();
}

]]></description>
		<link>http://chriscook.me/web-development/detecting-iphone-visitors-ph/</link>
			</item>
	<item>
		<title>PHP: Preventing typical XSS attacks</title>
		<description><![CDATA[XSS attacks plague beginner programmers and are a significant vulnerability for commercial web hosts &#38; website operators.  XSS means &#8220;cross-site scripting&#8220;.  These exploits work on the client side. Often, hackers put some type of JavaScript in content that users submit that allow them to steal the data from a cookie.  XSS attacks are pretty difficult [...]]]></description>
		<link>http://chriscook.me/web-development/php-preventing-typical-xss-attacks/</link>
			</item>
	<item>
		<title>PHP/AJAX: Call PHP function by clicking a link</title>
		<description><![CDATA[This tutorial demonstrates how to execute an external PHP function by clicking a simple link within HTML.  The method uses AJAX so that the page doesn&#8217;t refresh and doesn&#8217;t require a form submission.
1) Paste the following code into a .js file.  For demonstration purposes, we have named it &#8220;ajax_click.js&#8221;.

/*
* ajax_click.js
*  chriscook.me
*/
function loadurl(dest) {
try {
// [...]]]></description>
		<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/</link>
			</item>
	<item>
		<title>iPhone Test</title>
		<description><![CDATA[I&#8217;m now set up to post on the site via iPhone! Add my site to your RSS feeds.
]]></description>
		<link>http://chriscook.me/news/iphone-test/</link>
			</item>
	<item>
		<title>McCain or Obama? Let me help you decide!</title>
		<description><![CDATA[For those of you out there who aren&#8217;t sure who to vote for&#8230; let me help.
Take my online poll and let the facts show you who you should vote for:
http://chriscook.info/election/poll.php
]]></description>
		<link>http://chriscook.me/politics/mccain-or-obama-let-me-help-you-decide/</link>
			</item>
	<item>
		<title>New ChrisCook.me</title>
		<description><![CDATA[Hey guys&#8230;
I&#8217;ve morphed ChrisCook.info into ChrisCook.me.  I&#8217;ll try to be a little more active on this version of the site than in the past.  Feel free to send me an e-mail.  I appreciate feedback.
]]></description>
		<link>http://chriscook.me/news/new-chriscookme/</link>
			</item>
</channel>
</rss>
