<?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>Flex-Flash-Air-ActionScript-JS &#187; php</title>
	<atom:link href="http://blog.totusinfo.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.totusinfo.com</link>
	<description>totusinfo team</description>
	<lastBuildDate>Wed, 24 Feb 2010 09:38:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to create Tag Cloud Page in wordpress</title>
		<link>http://blog.totusinfo.com/how-to-create-tag-cloud-page-in-wordpress/</link>
		<comments>http://blog.totusinfo.com/how-to-create-tag-cloud-page-in-wordpress/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:43:15 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[TagsCloud]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=273</guid>
		<description><![CDATA[After exploring to create a cloud page  this is the way i have created one for my site
Follow the steps
1) create a php file with tagcloud.php

&#60;?php
/*
Template Name: Tag Cloud
*/
?&#62;

&#60;?php get_header(); ?&#62;

    &#60;div id=&#34;content&#34; class=&#34;narrowcolumn&#34;&#62;
 		&#60;h3 style=&#34;font-family:Arial, Helvetica, sans-serif; color:#CC6600&#34;&#62;Tags Cloud&#60;/h3&#62;
        &#60;div class=&#34;tag_cloud&#34;&#62;
    [...]]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/how-to-create-tag-cloud-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Include PHP files in HTML pages using .HTACCESS</title>
		<link>http://blog.totusinfo.com/include-php-files-in-html-pages/</link>
		<comments>http://blog.totusinfo.com/include-php-files-in-html-pages/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 05:40:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[include files]]></category>
		<category><![CDATA[static html]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=210</guid>
		<description><![CDATA[Usually, its not possible to include PHP files into HTML pages. Here i got a way for this which works. Its nothing but using .HTACCESS.
Create a .HTACCESS file in the root folder or a specified folder.
Add the below code  into your .HTACCESS file
Options +FollowSymLinks
AddType application/x-httpd-php .htm
Thats it
Now, you can include PHP files into your Static [...]]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/include-php-files-in-html-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to remove html tags from given text using PHP</title>
		<link>http://blog.totusinfo.com/how-to-remove-html-tags-from-given-text-using-php/</link>
		<comments>http://blog.totusinfo.com/how-to-remove-html-tags-from-given-text-using-php/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 12:42:52 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[preg_replace]]></category>
		<category><![CDATA[strip_tags]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=864</guid>
		<description><![CDATA[

function stripHtmlTags($text){

	$strippedtext = preg_replace(
					array(
						'@&#60;head[^&#62;]*?&#62;.*?&#60;/head&#62;@siu','@&#60;style[^&#62;]*?&#62;.*?&#60;/style&#62;@siu','@&#60;script[^&#62;]*?.*?&#60;/script&#62;@siu','@&#60;object[^&#62;]*?.*?&#60;/object&#62;@siu',
						'@&#60;embed[^&#62;]*?.*?&#60;/embed&#62;@siu','@&#60;applet[^&#62;]*?.*?&#60;/applet&#62;@siu','@&#60;noframes[^&#62;]*?.*?&#60;/noframes&#62;@siu',
						'@&#60;noscript[^&#62;]*?.*?&#60;/noscript&#62;@siu','@&#60;noembed[^&#62;]*?.*?&#60;/noembed&#62;@siu',

						'@&#60;((br)&#124;(hr))@iu','@&#60;/?((address)&#124;(blockquote)&#124;(center)&#124;(del))@iu','@&#60;/?((div)&#124;(h[1-9])&#124;(ins)&#124;(isindex)&#124;(p)&#124;(pre))@iu',
						'@&#60;/?((dir)&#124;(dl)&#124;(dt)&#124;(dd)&#124;(li)&#124;(menu)&#124;(ol)&#124;(ul))@iu','@&#60;/?((table)&#124;(th)&#124;(td)&#124;(caption))@iu',
						'@&#60;/?((form)&#124;(button)&#124;(fieldset)&#124;(legend)&#124;(input))@iu','@&#60;/?((label)&#124;(select)&#124;(optgroup)&#124;(option)&#124;(textarea))@iu',
						'@&#60;/?((frameset)&#124;(frame)&#124;(iframe))@iu',
					),
					array(
						' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',&#34;\n\$0&#34;, &#34;\n\$0&#34;, &#34;\n\$0&#34;, &#34;\n\$0&#34;, &#34;\n\$0&#34;, &#34;\n\$0&#34;,&#34;\n\$0&#34;, &#34;\n\$0&#34;,
					),
					$text );

	return strip_tags($strippedtext);
}

echo stripHtmlTags(&#34;&#60;div&#62;&#60;strong&#62;blog.totusinfo.com&#60;/strong&#62;&#60;/div&#62;&#34;);

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/how-to-remove-html-tags-from-given-text-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>email validation using regular expression with PHP</title>
		<link>http://blog.totusinfo.com/email-validation-using-regular-expression-with-php/</link>
		<comments>http://blog.totusinfo.com/email-validation-using-regular-expression-with-php/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 12:05:26 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[ereg]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=862</guid>
		<description><![CDATA[

&#60;?php
if(!empty($_POST['email'])){
	$regularexp = &#34;^[A-Za-z0-9\.&#124;-&#124;_]*[@]{1}[A-Za-z0-9\.&#124;-&#124;_]*[.]{1}[a-z]{2,5}$&#34;;
	$email = $_POST['email'];
	$validemail = ereg($regularexp, $email);
	if ($validemail)
	{
		echo &#34;&#60;div style='color:green;'&#62; &#60;b&#62;'$email'&#60;/b&#62; is a valid email&#60;/div&#62;&#34;;
	}
	else
		echo &#34;&#60;div style='color:red;'&#62; &#60;b&#62;'$email'&#60;/b&#62; is not a valid email&#60;/div&#62;&#34;;
}else{
	echo &#34;&#60;div style='color:red; font-weight:bold;'&#62; Please enter email&#60;/div&#62;&#34;;
}
?&#62;
&#60;html&#62;
	&#60;body&#62;
	&#60;h2&#62;Email Validator&#60;/h2&#62;
	&#60;form method=&#34;post&#34;&#62;
		&#60;div style=&#34;width:50px; font-family:Verdana, Arial, Helvetica, sans-serif; float:left; padding-top:3px;&#34;&#62;
			Email:
		&#60;/div&#62;

		&#60;div style=&#34;width:300px&#34;&#62;
			&#60;input type=&#34;text&#34; name=&#34;email&#34; /&#62;
		&#60;/div&#62;

		&#60;input type=&#34;submit&#34; /&#62;
	&#60;/form&#62;
	&#60;/body&#62;
&#60;/html&#62;

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/email-validation-using-regular-expression-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove an array element from array in php</title>
		<link>http://blog.totusinfo.com/remove-an-array-element-from-array-in-php/</link>
		<comments>http://blog.totusinfo.com/remove-an-array-element-from-array-in-php/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 19:15:31 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[ArrayUtils]]></category>
		<category><![CDATA[array_search]]></category>
		<category><![CDATA[unset]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=672</guid>
		<description><![CDATA[While trying to delete any element from i am not able to find any function 

      unset($arr[array_search($element, $arr)]);

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/remove-an-array-element-from-array-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

