<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Checking a string is alphanumeric in PHP</title>
	<atom:link href="http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 17:36:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Avi</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-24426</link>
		<dc:creator>Avi</dc:creator>
		<pubDate>Wed, 01 Sep 2010 12:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-24426</guid>
		<description>Hi
Thanks for this post.
ctype_alnum function works for me....

Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
Thanks for this post.<br />
ctype_alnum function works for me&#8230;.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bijayani</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-19046</link>
		<dc:creator>Bijayani</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-19046</guid>
		<description>Hi,

I happened to see your post find it quite informative. I would like to share a link where a software engineer has shared a tip on “Alphanumeric Random value in PHP”. I am sharing it just for the knowledge purpose.

Here is the link:
http://www.mindfiresolutions.com/PHP--Alphanumeric-Random-value-262.php

Hope you find it useful and of assistance.

Thanks,
Bijayani</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I happened to see your post find it quite informative. I would like to share a link where a software engineer has shared a tip on “Alphanumeric Random value in PHP”. I am sharing it just for the knowledge purpose.</p>
<p>Here is the link:<br />
<a href="http://www.mindfiresolutions.com/PHP--Alphanumeric-Random-value-262.php" rel="nofollow">http://www.mindfiresolutions.com/PHP&#8211;Alphanumeric-Random-value-262.php</a></p>
<p>Hope you find it useful and of assistance.</p>
<p>Thanks,<br />
Bijayani</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-18753</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-18753</guid>
		<description>Seems to be an error in your script

$alphanum2 = &quot;Eagle,2008&quot;;
print ctype_alnum($invalidUsername); // will return false

should it not be

$alphanum2 = &quot;Eagle,2008&quot;;
print ctype_alnum($alphanum2); // will return false</description>
		<content:encoded><![CDATA[<p>Seems to be an error in your script</p>
<p>$alphanum2 = &#8220;Eagle,2008&#8243;;<br />
print ctype_alnum($invalidUsername); // will return false</p>
<p>should it not be</p>
<p>$alphanum2 = &#8220;Eagle,2008&#8243;;<br />
print ctype_alnum($alphanum2); // will return false</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shimon</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-13259</link>
		<dc:creator>Shimon</dc:creator>
		<pubDate>Tue, 11 Aug 2009 17:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-13259</guid>
		<description>Thank you - I learned something new today!</description>
		<content:encoded><![CDATA[<p>Thank you &#8211; I learned something new today!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-9751</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Mon, 18 May 2009 02:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-9751</guid>
		<description>hey Remo, sharp eyes :) thanks. I&#039;ve fixed it.</description>
		<content:encoded><![CDATA[<p>hey Remo, sharp eyes <img src='http://www.askaboutphp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks. I&#8217;ve fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remo Laubacher</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-9666</link>
		<dc:creator>Remo Laubacher</dc:creator>
		<pubDate>Sat, 16 May 2009 08:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-9666</guid>
		<description>You&#039;re writing about &quot;is_numeric&quot;, but the code uses a non-existent function called &quot;is_number&quot;...</description>
		<content:encoded><![CDATA[<p>You&#8217;re writing about &#8220;is_numeric&#8221;, but the code uses a non-existent function called &#8220;is_number&#8221;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-5970</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Mon, 09 Feb 2009 00:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-5970</guid>
		<description>hi sadia
can you elaborate a bit more? are you saying your functions calls return errors?</description>
		<content:encoded><![CDATA[<p>hi sadia<br />
can you elaborate a bit more? are you saying your functions calls return errors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sadia</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-5893</link>
		<dc:creator>sadia</dc:creator>
		<pubDate>Fri, 06 Feb 2009 11:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-5893</guid>
		<description>do i hav to use some header file, as none of the function wrk for me</description>
		<content:encoded><![CDATA[<p>do i hav to use some header file, as none of the function wrk for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-4</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Mon, 21 Apr 2008 02:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-4</guid>
		<description>Thanks Fredrik.

You&#039;re right, is_numeric actually does more than ctype_digit. 

ctype_digit just checks for numbers making up a string and nothing more. 

is_numeric will test for integer types as well as strings, and be able to determine negative numbers. 

I&#039;ve updated the post.</description>
		<content:encoded><![CDATA[<p>Thanks Fredrik.</p>
<p>You&#8217;re right, is_numeric actually does more than ctype_digit. </p>
<p>ctype_digit just checks for numbers making up a string and nothing more. </p>
<p>is_numeric will test for integer types as well as strings, and be able to determine negative numbers. </p>
<p>I&#8217;ve updated the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik Holmström</title>
		<link>http://www.askaboutphp.com/22/checking-a-string-is-alphanumeric-in-php.html/comment-page-1#comment-3</link>
		<dc:creator>Fredrik Holmström</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=22#comment-3</guid>
		<description>is_numeric and ctype_digit don&#039;t do the same thing...</description>
		<content:encoded><![CDATA[<p>is_numeric and ctype_digit don&#8217;t do the same thing&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
