<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Internet Methodologies Journal And News</title>
	
	<link>http://www.imjan.com</link>
	<description>Let's explore internet with imran</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:46:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/IMJAN" /><feedburner:info uri="imjan" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>What is meant by MVC ? cakePHP interview Question</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/L-Ry1a_Ka8c/</link>
		<comments>http://www.imjan.com/cakephp-interview-questions-examples/what-is-meant-by-mvc-cakephp-interview-question/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:46:49 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[cakePHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=891</guid>
		<description><![CDATA[MODEL VIEW CONTROLLER, it is a software architecture, used to isolates business logic from presentation logic. cakephp is based on mvc pattern.
What are 3 important parts of MVC?
   1. The Model represents the application data
   2. The View renders a presentation of model data
   3. The Controller handles and [...]]]></description>
			<content:encoded><![CDATA[<p>MODEL VIEW CONTROLLER, it is a software architecture, used to isolates business logic from presentation logic. cakephp is based on mvc pattern.</p>
<p>What are 3 important parts of MVC?</p>
<p>   1. The Model represents the application data<br />
   2. The View renders a presentation of model data<br />
   3. The Controller handles and routes requests made by the client</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fcakephp-interview-questions-examples%2Fwhat-is-meant-by-mvc-cakephp-interview-question%2F&amp;linkname=What%20is%20meant%20by%20MVC%20%3F%20cakePHP%20interview%20Question"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/L-Ry1a_Ka8c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/cakephp-interview-questions-examples/what-is-meant-by-mvc-cakephp-interview-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/cakephp-interview-questions-examples/what-is-meant-by-mvc-cakephp-interview-question/</feedburner:origLink></item>
		<item>
		<title>Get last visited Page or URL in PHP</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/rBn1lLcvMkc/</link>
		<comments>http://www.imjan.com/php-interview-questions/get-last-visited-page-or-url-in-php/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 12:15:01 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=840</guid>
		<description><![CDATA[If you will go to 1 page to another page on second page it will display that you have come from Page 1.

// index.php
&#60;a href=&#34;index2.php&#34;&#62;Go to index2&#60;/a&#62;

// index2.php
echo $_SERVER['HTTP_REFERER'];  // Display index.php

]]></description>
			<content:encoded><![CDATA[<p>If you will go to 1 page to another page on second page it will display that you have come from Page 1.</p>
<pre class="brush: php;">
// index.php
&lt;a href=&quot;index2.php&quot;&gt;Go to index2&lt;/a&gt;

// index2.php
echo $_SERVER['HTTP_REFERER'];  // Display index.php
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fphp-interview-questions%2Fget-last-visited-page-or-url-in-php%2F&amp;linkname=Get%20last%20visited%20Page%20or%20URL%20in%20PHP"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/rBn1lLcvMkc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/php-interview-questions/get-last-visited-page-or-url-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/php-interview-questions/get-last-visited-page-or-url-in-php/</feedburner:origLink></item>
		<item>
		<title>Get Statistics of your website Using PHP</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/ffQVB1L_EyU/</link>
		<comments>http://www.imjan.com/php-interview-questions/get-statistics-of-your-website-using-php/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:22:07 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=843</guid>
		<description><![CDATA[HTTP_ACCEPT
A list of MIME types the client will accept.
HTTP_ACCEPT_LANGUAGE
What type of languages the browser expects.
These are human language, such as en-us, to represent, English, United States.
HTTP_CONNECTION
The type of connection established between the client and the Web server.
HTTP_HOST
The hostname of the client computer.
HTTP_USER_AGENT
The browser type and version, and operating system information of the client.
HTTP_REFERER
The full URL [...]]]></description>
			<content:encoded><![CDATA[<p><strong>HTTP_ACCEPT</strong><br />
A list of MIME types the client will accept.</p>
<p><strong>HTTP_ACCEPT_LANGUAGE</strong><br />
What type of languages the browser expects.<br />
These are human language, such as en-us, to represent, English, United States.</p>
<p><strong>HTTP_CONNECTION</strong><br />
The type of connection established between the client and the Web server.</p>
<p><strong>HTTP_HOST</strong><br />
The hostname of the client computer.</p>
<p><strong>HTTP_USER_AGENT</strong><br />
The browser type and version, and operating system information of the client.</p>
<p><strong>HTTP_REFERER</strong><br />
The full URL of the Web page containing the hyperlink used to reach the currently executing ASP page.</p>
<p><strong>HTTP_COOKIE</strong><br />
The cookies sent from the browser.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fphp-interview-questions%2Fget-statistics-of-your-website-using-php%2F&amp;linkname=Get%20Statistics%20of%20your%20website%20Using%20PHP"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/ffQVB1L_EyU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/php-interview-questions/get-statistics-of-your-website-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.imjan.com/php-interview-questions/get-statistics-of-your-website-using-php/</feedburner:origLink></item>
		<item>
		<title>How to upload files using HTML and PHP ?</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/m2vr48YkbuQ/</link>
		<comments>http://www.imjan.com/php-interview-questions/how-to-upload-files-using-html-and-php/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 12:02:53 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=835</guid>
		<description><![CDATA[HTML Code:

&#60;form enctype=&#34;application/x-www-form-urlencoded&#34; action=&#34;script.php&#34; method=&#34;post&#34;&#62;
  &#60;input type=&#34;file&#34; name=&#34;myfile&#34; /&#62;
  &#60;input type=&#34;submit&#34; name=&#34;submit&#34; value=&#34;Upload&#34; /&#62;
&#60;/form&#62;

PHP Code :

&#60;?php/* File name is null */
   if($_FILES[’file’][’name’]==’’){
     /* the path to the directory for upload*/
    $target_path =’null’;die();
   }
   else{
      $target_path [...]]]></description>
			<content:encoded><![CDATA[<p>HTML Code:</p>
<pre class="brush: xml;">
&lt;form enctype=&quot;application/x-www-form-urlencoded&quot; action=&quot;script.php&quot; method=&quot;post&quot;&gt;
  &lt;input type=&quot;file&quot; name=&quot;myfile&quot; /&gt;
  &lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Upload&quot; /&gt;
&lt;/form&gt;
</pre>
<p>PHP Code :</p>
<pre class="brush: php;">
&lt;?php/* File name is null */
   if($_FILES[’file’][’name’]==’’){
     /* the path to the directory for upload*/
    $target_path =’null’;die();
   }
   else{
      $target_path = &quot;FileDirectory/&quot;;
      /* wrong file type - not a doc type file*/
      if (substr($_FILES[’myfile’][’name’],strlen($_FILES[’myfile’][’name’])-4,4)!=’.doc’){
             echo &quot;Failed upload!&quot;;}
             /* the path where file will be put */
             $target_path = 'path_here' ;
             if (!move_uploaded_file($_FILES[’myfile’][’tmp_name’], $target_path)){
                 /* error during upload */
                echo &quot;Error!&quot;;die ();
             }
        }
?&gt;
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fphp-interview-questions%2Fhow-to-upload-files-using-html-and-php%2F&amp;linkname=How%20to%20upload%20files%20using%20HTML%20and%20PHP%20%3F"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/m2vr48YkbuQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/php-interview-questions/how-to-upload-files-using-html-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/php-interview-questions/how-to-upload-files-using-html-and-php/</feedburner:origLink></item>
		<item>
		<title>cULR Library PHP : Check website status</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/wqlLXxJt-jo/</link>
		<comments>http://www.imjan.com/curl-php-examples/culr-library-php-check-website-status/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 11:54:45 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[CURL PHP Examples]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=830</guid>
		<description><![CDATA[

function checkDomainLiveStatus($url)

{

$agent = &#34;Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)&#34;;$ch=curl_init();

curl_setopt ($ch, CURLOPT_URL,$url );

curl_setopt($ch, CURLOPT_USERAGENT, $agent);

curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt ($ch,CURLOPT_VERBOSE,false);

curl_setopt($ch, CURLOPT_TIMEOUT, 5);

$page=curl_exec($ch);

//echo curl_error($ch);

$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

curl_close($ch);

if($httpcode&#62;=200 &#38;&#38; $httpcode&#60;300) return true;

else return false;

}

if(checkDomainLiveStatus(&#34;http://www.yourdomain.com&#34;)) {

           echo &#34;Website OK&#34;.&#34;n&#34;;

} else { /* if website is down*/

    [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: php;">

function checkDomainLiveStatus($url)

{

$agent = &quot;Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)&quot;;$ch=curl_init();

curl_setopt ($ch, CURLOPT_URL,$url );

curl_setopt($ch, CURLOPT_USERAGENT, $agent);

curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt ($ch,CURLOPT_VERBOSE,false);

curl_setopt($ch, CURLOPT_TIMEOUT, 5);

$page=curl_exec($ch);

//echo curl_error($ch);

$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

curl_close($ch);

if($httpcode&gt;=200 &amp;&amp; $httpcode&lt;300) return true;

else return false;

}

if(checkDomainLiveStatus(&quot;http://www.yourdomain.com&quot;)) {

           echo &quot;Website OK&quot;.&quot;n&quot;;

} else { /* if website is down*/

          echo &quot;Website DOWN&quot;;
}
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fcurl-php-examples%2Fculr-library-php-check-website-status%2F&amp;linkname=cULR%20Library%20PHP%20%3A%20Check%20website%20status"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/wqlLXxJt-jo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/curl-php-examples/culr-library-php-check-website-status/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.imjan.com/curl-php-examples/culr-library-php-check-website-status/</feedburner:origLink></item>
		<item>
		<title>The First Of Technology</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/6DqcoOge6IA/</link>
		<comments>http://www.imjan.com/internet-www/the-first-of-technology/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 10:11:24 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[WWW - Internet]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=825</guid>
		<description><![CDATA[
We cannot trace the future of Technology. But we can surely trace it’s present and it’s past. This time we traced the history of all the equipments which Software Engineers utilize everyday. From mouse to keyboards, from television to cell-phones, we have it all.
The First Mouse: Would you believe it, if we say that the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.imjan.com/wp-content/uploads/2010/02/The-First-Mouse-300x200.jpg"><img src="http://www.imjan.com/wp-content/uploads/2010/02/The-First-Mouse-300x200.jpg" alt="" title="The-First-Mouse-300x200" width="300" height="200" class="alignright size-full wp-image-824" /></a></p>
<p>We cannot trace the future of Technology. But we can surely trace it’s present and it’s past. This time we traced the history of all the equipments which Software Engineers utilize everyday. From mouse to keyboards, from television to cell-phones, we have it all.</p>
<p>The First Mouse: Would you believe it, if we say that the mouse which you use everyday, looked like the above image during its initial days. The way it has transformed from the above image to a wireless mouse with bluetooth in it, lets see if we will have a mouse on our desk or not.</p>
<p>Source: <a href="http://www.codeweek.pk">www.codeweek.pk</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Finternet-www%2Fthe-first-of-technology%2F&amp;linkname=The%20First%20Of%20Technology"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/6DqcoOge6IA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/internet-www/the-first-of-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/internet-www/the-first-of-technology/</feedburner:origLink></item>
		<item>
		<title>Get Full URL of user / visiter system in PHP?</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/4krm5vVnZNo/</link>
		<comments>http://www.imjan.com/php-interview-questions/get-full-url-of-user-visiter-system-in-php/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 12:19:47 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=612</guid>
		<description><![CDATA[
&#60;?php

 echo getAddress();

  function getAddress(){
    ### check HTTPS
    $protocol = $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
    ### Get Full URL
    return $protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
 }
?&#62;

]]></description>
			<content:encoded><![CDATA[<pre class="brush: php;">
&lt;?php

 echo getAddress();

  function getAddress(){
    ### check HTTPS
    $protocol = $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
    ### Get Full URL
    return $protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
 }
?&gt;
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fphp-interview-questions%2Fget-full-url-of-user-visiter-system-in-php%2F&amp;linkname=Get%20Full%20URL%20of%20user%20%2F%20visiter%20system%20in%20PHP%3F"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/4krm5vVnZNo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/php-interview-questions/get-full-url-of-user-visiter-system-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/php-interview-questions/get-full-url-of-user-visiter-system-in-php/</feedburner:origLink></item>
		<item>
		<title>Why Internet Marketing is Essential for Businesses Boost?</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/NoUQUTLhC8Q/</link>
		<comments>http://www.imjan.com/searchengineoptimization/why-internet-marketing-is-essential-for-businesses-boost/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:09:30 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[SEO Tips]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=821</guid>
		<description><![CDATA[Internet Marketing, is now not new for this era, where every student, shopkeeper, officer, politician and businessman is bound for computer and well connected with all over the world with in no time.  In this sphere, arisen demand to be introduced, published, and advertised to all kind of companies, NGO and Govt’s departments.
Internet becomes [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Internet Marketing</strong>, is now not new for this era, where every student, shopkeeper, officer, politician and businessman is bound for computer and well connected with all over the world with in no time.  In this sphere, arisen demand to be introduced, published, and advertised to all kind of companies, NGO and Govt’s departments.</p>
<p>Internet becomes a global platform to meet, get and deliver the products who are interested. Internet Marketing compels time, money and expertise to be successful. Internet Marketing is broadly classified into Search Engine Marketing (Pay per click advertising, Search Engine Optimization), Local Listings, Email Marketing, Affiliate Marketing, Social Media Marketing, Article Marketing, Online Classifieds, Online Lead Generation and general Online Media Marketing (Display Advertising). Each of these differs in form, process, price, targeting, reach and value. While you are working with various types of businesses that sell diverse products and provide services, you will find internet marketing is the only consistent way of marketing than other types of marketing.</p>
<p><strong>Internet Marketing Strategy</strong></p>
<p>Businesses demonstrating personal services tend to have a local target market. Customers seeking such services tend to seek out references from friends &#038; family. For certain higher priced services, such as tax consulting or accounting, customers are usually perform additional efforts such as contact to experienced professional in order to get their expertise.</p>
<p>Source: <a href="http://www.codeweek.pk">www.codeweek.pk</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fsearchengineoptimization%2Fwhy-internet-marketing-is-essential-for-businesses-boost%2F&amp;linkname=Why%20Internet%20Marketing%20is%20Essential%20for%20Businesses%20Boost%3F"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/NoUQUTLhC8Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/searchengineoptimization/why-internet-marketing-is-essential-for-businesses-boost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/searchengineoptimization/why-internet-marketing-is-essential-for-businesses-boost/</feedburner:origLink></item>
		<item>
		<title>How to validate Email Address By a Regular Expression in PHP?</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/88vtQp6sxEY/</link>
		<comments>http://www.imjan.com/php-interview-questions/how-to-validate-email-address-by-a-regular-expression-in-php/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 03:13:32 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=606</guid>
		<description><![CDATA[
&#60;?php

    ### Write your email address ###
    $email = 'example@imjan.com';

    if(validateEmail($email) == false){
        echo 'Email Address is Invalid';
    } else {
        echo 'Email Address is Valid';
    [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: php;">
&lt;?php

    ### Write your email address ###
    $email = 'example@imjan.com';

    if(validateEmail($email) == false){
        echo 'Email Address is Invalid';
    } else {
        echo 'Email Address is Valid';
    }

function validateEmail($email){
	$pattern = &quot;/^\S+@[\w\d.-]{2,}\.[\w]{2,6}\z/iU&quot;;
	return (bool)preg_match($pattern, $email, $matches);
}

?&gt;
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Fphp-interview-questions%2Fhow-to-validate-email-address-by-a-regular-expression-in-php%2F&amp;linkname=How%20to%20validate%20Email%20Address%20By%20a%20Regular%20Expression%20in%20PHP%3F"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/88vtQp6sxEY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/php-interview-questions/how-to-validate-email-address-by-a-regular-expression-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/php-interview-questions/how-to-validate-email-address-by-a-regular-expression-in-php/</feedburner:origLink></item>
		<item>
		<title>Google Books-Read The Google Way</title>
		<link>http://feedproxy.google.com/~r/IMJAN/~3/w4QvxPpEI8E/</link>
		<comments>http://www.imjan.com/internet-www/google-books-read-the-google-way/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 01:05:53 +0000</pubDate>
		<dc:creator>imran</dc:creator>
				<category><![CDATA[WWW - Internet]]></category>

		<guid isPermaLink="false">http://www.imjan.com/?p=817</guid>
		<description><![CDATA[Nowadays, Web is flooded with controversies and the number of court cases is on the rise. A few weeks ago, cases were filed against Microsoft, DELL, EBay, Skype and others as well. But now many have turned against Google. Microsoft, Yahoo and Amazon stand in front of Google with scorn in their eyes.
Google&#8217;s project named [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.imjan.com/wp-content/uploads/2010/02/google-300x246.jpg"><img src="http://www.imjan.com/wp-content/uploads/2010/02/google-300x246.jpg" alt="" title="google-300x246" width="300" height="246" class="alignright size-full wp-image-818" /></a>Nowadays, Web is flooded with controversies and the number of court cases is on the rise. A few weeks ago, cases were filed against Microsoft, DELL, EBay, Skype and others as well. But now many have turned against Google. Microsoft, Yahoo and Amazon stand in front of Google with scorn in their eyes.</p>
<p>Google&#8217;s project named as, Google Books, is facing many oppositions. Major players like and competitors Microsoft, Yahoo and Amazon have teamed up in order to stop Google from selling copyrighted books over the internet. With the increasing opposition.</p>
<p>Last year Google settled a deal with many publishing houses allowing it to digitize books which are still under copyright but are out of print. Google has now hunted all these books and hunted them down so that they can be made available for readers around the world. Under the settlement Google is allowed to print and sell any copyrighted book and share the profits earned with the writer and authors.</p>
<p>A number of companies are against this deal,</p>
<p><em>The non-profit organization Internet Archive, which has been very critical of the settlement, has managed to get a number of big companies to join its cause and, together with prominent Silicon Valley antitrust lawyer Gary L. Reback, plans to present its case in court. Microsoft and Yahoo have confirmed they have joined the alliance but Amazon has declined to comment. Amazon CEO, Jeff Bezos was, however, very critical, commenting on the deal earlier this summer.</em></p>
<p>Google defense mechanism says that it has no intention of hurting any other business, but only wants to make millions of unattainable books within reach for general public. Despite the on growing controversies Google is pushing its project forward and adding new things to it every passing minute. Google Books enable its users to filter desired books by just one click. Matthew Gray, Grant Dasher, and Garrett Rooney, Google Books Software engineers wrote, &#8220;This will provide easier access to books and magazines by letting you slice and dice your results with certain characteristics.&#8221;</p>
<p>Google Books has been launched for those who have a strong desire for reading every kind of book available around the world. Google Books helps the reader refine his search and easily find the required book on the internet. Being the most controversial projects ever introduced by Google, the plan is to take hold of world&#8217;s majority of books under its own command. Google faced a lawsuit when it started searching for copyrighted, but out-of-print, books without the consent of the owners. Google is working very hard to revise its agreement so that it would be acceptable.</p>
<p>Source: <a href="http://www.codeweek.pk">www.codeweek.pk</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.imjan.com%2Finternet-www%2Fgoogle-books-read-the-google-way%2F&amp;linkname=Google%20Books-Read%20The%20Google%20Way"><img src="http://www.imjan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/IMJAN/~4/w4QvxPpEI8E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.imjan.com/internet-www/google-books-read-the-google-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.imjan.com/internet-www/google-books-read-the-google-way/</feedburner:origLink></item>
	</channel>
</rss>
