<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Bits n Tricks</title>
	<link>http://www.bitsntricks.com</link>
	<description>first step towards building a tech blog.. ;)</description>
	<lastBuildDate>Fri, 16 Mar 2012 07:35:18 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

	<item>
		<title>Creating automatically link from string url</title>
		<description><![CDATA[Here is the function makeLinkActive to create autmoatically hyperlink( &#60;a href=&#8221; &#8220;&#62;&#60;/a&#62; ) in string where it will find url in a string Parameters :   $string  : String to find http (In this example : &#8216;This is good boy . http://www.youtube.com/watch?v=ehuwoGVLyhg&#38;feature=topvideos Hello this is test http://mysql.zapbuild.com/index.php?db=dev_behum&#38;table=admins&#38;token=34a15b853f779f699687d3594799796c my test&#8217;  is string) Here is the source Code: [...]]]></description>
		<link>http://www.bitsntricks.com/142/</link>
			</item>
	<item>
		<title>Insert line break in long string.</title>
		<description><![CDATA[Here is the function stringWrap to insert &#60;br&#62; in long string as a single word according to the charachters mentioned. Parameters :   $string  : String to insert line breaks(In this example : &#8216;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr&#8217;  is string) $length : after how many characters line breaks( &#60;br&#62; ) will insert specified(In this example : &#8217;5&#8242;  is length) [...]]]></description>
		<link>http://www.bitsntricks.com/insert-line-break-in-long-string/</link>
			</item>
	<item>
		<title>Find number of weekdays (Mon, Tues etc)  between  two dates</title>
		<description><![CDATA[&#60;?php function workingDays( $fromDate, $interval )  { $date_array = explode(&#8216;-&#8217;, $fromDate ); $day         = $date_array[0]; $month         = $date_array[1]; $year         = $date_array[2]; $working_date = array(); for ( $i = 1;  $i &#60;= $interval; $i++ )               { $working_date[] = date(&#8220;l&#8221;, mktime(0, 0, 0,$month,$day +(int)$i,$year)); } return $working_date; } $getDays = workingDays(&#8217;30-11-2011&#8242;, [...]]]></description>
		<link>http://www.bitsntricks.com/find-number-of-reoccurning-weekdays-days-between-time-interval-two-dates/</link>
			</item>
	<item>
		<title>Facebook  Connect (Graph API)  in cake php</title>
		<description><![CDATA[To implement Facebook  connect using graph API  you need to follow the steps 1) Extract the  facebook_core_files.zip file and put all of them in vendors folder of cake php 2)  In your apps controller include this code at the top of the file App::import(&#8216;Vendor&#8217;, &#8216;facebook&#8217;, array(&#8216;file&#8217; =&#62; &#8216;facebook.php&#8217;)); 3)  in your apps controller  add this [...]]]></description>
		<link>http://www.bitsntricks.com/facebook-connect/</link>
			</item>
	<item>
		<title>Cakephp not working on Ubuntu &#8211; Error 404 not found</title>
		<description><![CDATA[If you are facing problems with Cakephp not working on Ubuntu after all googling and doing all other things, please try this one: Open Places-&#62;Computer-&#62;File System-&#62;etc-&#62;apache2-&#62;sites-available In this folder open file name &#8216;default&#8216; In this file search for &#60;Directory /var/www/&#62; Options Indexes FollowSymLinks MultiViews AllowOverride none Order allow,deny allow from all &#60;/Directory&#62; and replace it [...]]]></description>
		<link>http://www.bitsntricks.com/cakephp-not-working-on-ubuntu-error-404-not-found/</link>
			</item>
	<item>
		<title>Using Internet data card like Tata photon on Ubuntu</title>
		<description><![CDATA[If you are having problems with using any kind of INTERNET data card like Tata photon or else, then please follow as described below: Please install usb-modeswitch on your systems regarding usage of Tata photon when required. Please follow the steps for installation: 1. Open System-&#62;Administration-&#62;Synaptic Package manager. 2. Search for usb-modeswitch and install it. [...]]]></description>
		<link>http://www.bitsntricks.com/using-internet-data-card-like-tata-photon-on-ubuntu/</link>
			</item>
	<item>
		<title>CakePHP not working &#8211; cake.generic.css not found in Ubuntu</title>
		<description><![CDATA[If you have done all the things right in installation of cakephp on Ubuntu system as per specified in various sites and have made changes in apaches settings  but still cakephp is not working on Ubuntu then try uncommenting the Configure::write(&#8216;App.baseUrl&#8217;, env(&#8216;SCRIPT_NAME&#8217;)); line in core.php of cakephp installation.]]></description>
		<link>http://www.bitsntricks.com/cakephp-not-working-cake-generic-css-not-found-in-ubuntu/</link>
			</item>
	<item>
		<title>Overcome XSS scripting or cross site scripting</title>
		<description><![CDATA[Just paste this code in a header file which is included in the site. You can exclude the fields like description while filtering the POST And GET. foreach ($_GET as $key => $value) { $_GET[$key] = strip_tags($value); } foreach ($_POST as $key => $value) { $_POST[$key] = strip_tags($value); } foreach ($_SERVER as $key => $value) [...]]]></description>
		<link>http://www.bitsntricks.com/overcome-xss-scripting-or-cross-site-scripting/</link>
			</item>
	<item>
		<title>TFS 2010 Build Service</title>
		<description><![CDATA[TFS2010,"There was no endpoint listening at.." , BuildService]]></description>
		<link>http://www.bitsntricks.com/tfs-2010-build-service/</link>
			</item>
	<item>
		<title>Make your business funtional with &#8220;on page seo&#8221;</title>
		<description><![CDATA[What is SEO? Search engine optimization (Seo) a word optimization define the “functional as possible” seo a web marketing strategy help to promote your business products by using different planning policies and make your product functional by achieving high rank in search engine result. On page Seo “On page” seo means the functional information on [...]]]></description>
		<link>http://www.bitsntricks.com/make-your-business-funtional-with-on-page-seo/</link>
			</item>
</channel>
</rss>

