<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en">
  <title>Another geek from India</title>
  <tagline>Vishnu's personal website, Google Gadgets, technology, rants.</tagline>
  <id>tag:vishnus.name,2010-05-03:/archives/1</id>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog" /> 
  <copyright>Copyright (c) http://vishnus.name/blog</copyright>
  <modified>2010-05-03T21:59:18+00:00</modified>
<entry>
  <title><![CDATA[Form Validation functions - PHP]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/131/Form-Validation-functions--PHP"/>
  <issued>2010-03-07T13:49:15+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/131</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[Here are few functions in PHP to validate forms: <br/>
<br/>
Validate Text:<br/>
<div style="width: 60%; background-color: #f6f6f6; font-family: Courier, Verdana; font-ize: 9px; color: #264779; padding: 10px; border-width:1px; border-color:#D5D5D5; border-style:solid;"><strong>CODE:</strong><br />
function validateText&#40;$input&#41;&#123;
$result = ereg &#40;&quot;^&#91;A-Za-z0-9\ &#93;+$&quot;, $input &#41;;
if &#40;$result&#41;&#123;
return true;
&#125;else&#123;
return false; 
&#125;
&#125;
</div>
<br/>
Validate Text Without spaces: <br/>
<div style="width: 60%; background-color: #f6f6f6; font-family: Courier, Verdana; font-ize: 9px; color: #264779; padding: 10px; border-width:1px; border-color:#D5D5D5; border-style:solid;"><strong>CODE:</strong><br />
function validateTextWithoutSpaces&#40;$input&#41;&#123;
$result = ereg &#40;&quot;^&#91;A-Za-z0-9&#93;+$&quot;, $input &#41;;
if &#40;$result&#41;&#123;
return true;
&#125;else&#123;
return false; 
&#125;
&#125;
</div>
<br/>
Validate URL: <br/>

<div style="width: 60%; background-color: #f6f6f6; font-family: Courier, Verdana; font-ize: 9px; color: #264779; padding: 10px; border-width:1px; border-color:#D5D5D5; border-style:solid;"><strong>CODE:</strong><br />
function validateURL&#40;$url&#41; 
&#123; 
return preg_match&#40;&quot;/^&#40;http&#40;s?&#41;&#58;\/\/|ftp&#58;\/\/&#123;1&#125;&#41;&#40;&#40;\w+\.&#41;&#123;1,&#125;&#41;\w&#123;2,&#125;$/i&quot;, $url&#41;; 
&#125;&nbsp; 
</div>

<br/>
Validate Email: <br/>
<div style="width: 60%; background-color: #f6f6f6; font-family: Courier, Verdana; font-ize: 9px; color: #264779; padding: 10px; border-width:1px; border-color:#D5D5D5; border-style:solid;"><strong>CODE:</strong><br />
function validateEmail&#40;$mail&#41;&#123;
$result = ereg &#40;&quot;^&#91;^@ &#93;+@&#91;^@ &#93;+\.&#91;^@ \.&#93;+$&quot;, $mail &#41;;

if &#40;$result&#41;&#123;
return true;
&#125;else&#123;
return false; 
&#125;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
&#125;
</div>]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/131/Form-Validation-functions--PHP" title="Form Validation functions - PHP"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[Ninaikkayil and Favo.in]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/130/Ninaikkayil-and-Favoin"/>
  <issued>2010-01-26T01:32:48+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/130</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[I have 2 things to tell in this post... its about my brother, <a href="http://www.myspace.com/narayananunnis">Narayananunni S</a>'s first music album Ninaikkayil and my first individual project Favo.in. We released both on January 10th 2010 (10-01-10)<br/><br/>

<center> <a href="http://vettila.com/ninaikkayil"><img src="http://vettila.com/ninaikkayil/images/album.jpg" alt="Image" class="bbcode_img" /></a></center>
A collection of romantic songs embellished by different colours of emotions,My brother's debut album Ninaikkayil (நினைக்கையில்) showcases a melodious blend of voices, styles and genres. Featuring five unique tracks with two additional unplugged versions, Ninaikkayil promises a wonderful, melancholic journey through backdrops set in different moods that slowly unfold from track to track.
<br/>
Well.. these are not my words <img src="http://vishnus.name/blog/smilies/icon_wink.gif" alt=";)" /> check out <a href="http://vettila.com">http://vettila.com</a> for more details. You can preview all the songs as well as buy the album cd online. Best part is that you dont need to pay anything now, the cash will be on delivery for National (Indian) orders and you can pay through PayPal for International Orders. 
<br/><br/>
<center><a href="http://favo.in"><img src="http://favo.in/images/favob.gif" alt="Image" class="bbcode_img" /></a></center><br/>
And this is my first project. Its a favorite links manager. You can keep all your favorite links organized under several categories with Favo.in. You can add unlimited links. There is an option to add pre-defined links from a Favo gallery. 
<br/><br/>
 and about my college life, im in a single bed room now.. and currently working as User Interface designer for School of Information Technology and Engineering, VIT University Intranet Portal. We have to stay back in lab till 2 to 3am in the morning.. and every morning I reach class atleast 10 min late <img src="http://vishnus.name/blog/smilies/icon_wink.gif" alt=";)" /> but thats ok lol.. I failed again in Maths, 3rd sem.. also for Microprocessor.. have to write the suppli exam next month.. and btw, Riviera 2010 is from Jan 30 to Feb 2nd.. its gonna be ..]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/130/Ninaikkayil-and-Favoin" title="Ninaikkayil and Favo.in"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[How to get full-screen mode for 16-bit apps in Windows Vista and 7]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/128/How-to-get-fullscreen-mode-for-16bit-apps-in-Windows-Vista-and-7"/>
  <issued>2009-11-13T09:54:11+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/128</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[I am having lab exams for Datastructures and ALP and we are using the traditional softwares <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" /> so in Windows Vista and Windows 7, these compilers are shown very small. So i was experimenting how to get it full screen and finally found a solution. 
Go to device manager and disable the Display Driver. And after you use the compilers and other 16bit apps, just enable it back <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" />
You might need to use Alt+Enter to switch to fullscreen..

Enjoy <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" />]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/128/How-to-get-fullscreen-mode-for-16bit-apps-in-Windows-Vista-and-7" title="How to get full-screen mode for 16-bit apps in Windows Vista and 7"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[Firefox 3.7!! the sexiest firefox :)]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/127/Firefox-37-the-sexiest-firefox"/>
  <issued>2009-10-12T14:42:46+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/127</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[&nbsp;everyone talks about the interface of Chrome. Well here comes Firefox 3.7, the Firefox in which initially emphasis has been placed on Firefox's visual appearance on Windows.
<br /><img src="https://wiki.mozilla.org/images/f/f6/Fx-4.0-Direction-Phase-01.png" style="width: 479px; height: 149px;" alt="" /><br /><br />Its having lots of new features.. read more about it in the Mozilla Projects page: <br /><a target="_blank" href="https://wiki.mozilla.org/Firefox/Projects/3.7_and_4.0_Theme_and_UI_Revamp/Direction_and_Feedback">Click here</a><br />]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/127/Firefox-37-the-sexiest-firefox" title="Firefox 3.7!! the sexiest firefox :)"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[Im 19 !]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/126/Im-19"/>
  <issued>2009-09-01T02:52:21+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/126</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[its my b'day <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" /> Im 19.. happy birthday to me <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" />]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/126/Im-19" title="Im 19 !"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[My reply to Apples' answer to FCC]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/124/My-reply-to-Apples-answer-to-FCC"/>
  <issued>2009-08-22T11:15:45+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/124</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[Everyone know the issue of Apple blocking Google Voice App for iphone and some commented the Apples apple is rotten  <img src="http://vishnus.name/blog/smilies/icon_wink.gif" alt=";)" /> well, even I think the same way.. Now recently Apple answered to the questions of FCC. Heres the question and answer:
<br/><br/>
<img src="http://vishnus.name/blog/files/vishnu_googleandapple.jpg" alt="Image" class="bbcode_img" />
<br/><br/>[i]
 <strong>Question 1. Why did Apple reject the Google Voice application for iPhone and remove related third-party applications from its App Store? In addition to Google Voice, which related third-party applications were removed or have been rejected? Please provide the specific name of each application and the contact information for the developer.</strong> <br />
    Contrary to published reports, Apple has not rejected the Google Voice application, and continues to study it. The application has not been approved because, as submitted for review, it appears to alter the iPhone’s distinctive user experience by replacing the iPhone’s core mobile telephone functionality and Apple user interface with its own user interface for telephone calls, text messaging and voicemail. Apple spent a lot of time and effort developing this distinct and innovative way to seamlessly deliver core functionality of the iPhone. For example, on an iPhone, the “Phone” icon that is always shown at the bottom of the Home Screen launches Apple’s mobile telephone application, providing access to Favorites, Recents, Contacts, a Keypad, and Visual Voicemail. The Google Voice application replaces Apple’s Visual Voicemail by routing calls through a separate Google Voice telephone number that stores any voicemail, preventing voicemail from being stored on the iPhone, i.e., disabling Apple’s Visual Voicemail. Similarly, SMS text messages are managed through the Google hub—replacing the iPhone’s text messaging feature. In addition, the iPhone user’s entire Contacts database is transferred to Google’s servers, and we have yet to obtain any assurances from Google  ..]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/124/My-reply-to-Apples-answer-to-FCC" title="My reply to Apples' answer to FCC"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[What am I doing these days?]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/123/What-am-I-doing-these-days"/>
  <issued>2009-08-09T09:51:18+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/123</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[<div style="text-align: left;">
hm.. its been a while since I wrote something about me, what I am doing etc.. The last post I recall was about a video made by my seniors. So later that month, I had my second sem term-end exam which as usual I messed up!! and after April, starting from May 18th I was in the campus enjoying Summer Classes for the failed maths subject!! It was horrible. I had to change my room 5 times between 2 blocks! Anyways, later since I had an option and since it was not too expensive, I took Special Mess and single Non-AC room in International Hostel. It was awesome! Everyday morning fresh juice, cornflakes etc. and it was great.
<a href="http://vishnus.name/blog/files/vishnu_messbreakfast.jpg"><img align="left" src="http://vishnus.name/blog/files/vishnu_thumb_messbreakfast.jpg"></img></a>
 And everyday I had only 1 and a half hour class. It was boring like hell!!! and also hot too.. But there was rain most of the evenings. And for the first time!! I went to Chennai with my friend Parasuram and Sumangala. It was one of the best days coz I went to KFC and McDonalds for the first time in my life!! Thanks to Parasu and Suman.. 
I made some websites and also some gadgets during the summer. Also redesigned the Gadgets Website: <a href="http://gadgets.vishnus.name">http://gadgets.vishnus.name</a>. Also I made a website for my friends' birthday. I had a friend Robin Mathew, MBA final year, he and another guy Saroon from Mtech were the only friends during the summer.<a href="http://vishnus.name/blog/files/vishnu_robinsaroon.jpg"><img align="right" src="http://vishnus.name/blog/files/vishnu_thumb_robinsaroon.jpg"></a>
The final exam was just OKOK.. I only know how I studied.. lol
I had few issues with my friends Shivany and Zuberia regarding some stupid things. Its all cool now I guess. Then I had a vacation of 4 days. 4 Rocking days in Calicut! I had a great time with Vinayak, Sharo, Arjun PV, Shabbaz etc.. Vinay was there, but couldnt meet him. Everyday ri ..]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/123/What-am-I-doing-these-days" title="What am I doing these days?"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[New design for blog..]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/121/New-design-for-blog"/>
  <issued>2009-08-09T08:58:39+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/121</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[I was not happy with the old design. So thought of making a new one. And this one looks simple i guess, I dint get anything to write on that header image. But I loved this design <img src="http://vishnus.name/blog/smilies/icon_smile.gif" alt=":)" />]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/121/New-design-for-blog" title="New design for blog.."/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[Google Wave.... yay!! :D]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/120/Google-Wave-yay-D"/>
  <issued>2009-07-29T22:02:11+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/120</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[finally I got a Google Wave Sandbox account.. Im still testing.. Its not working well on my slow net <img src="http://vishnus.name/blog/smilies/icon_sad.gif" alt=":(" /> But my first impression is that.. Google Wave Rocks <img src="http://vishnus.name/blog/smilies/icon_biggrin.gif" alt=":D" /><img src="http://vishnus.name/blog/smilies/icon_biggrin.gif" alt=":D" />]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/120/Google-Wave-yay-D" title="Google Wave.... yay!! :D"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>
<entry>
  <title><![CDATA[Firefox 3.5 Launch Scheduled on June 30th]]></title>
  <link rel="alternate" type="text/html" href="http://vishnus.name/blog/post/index/118/Firefox-35-Launch-Scheduled-on-June-30th"/>
  <issued>2009-06-29T12:17:13+00:00</issued>
  <modified>2010-05-03T21:59:18+00:00</modified>
  <id>tag:vishnus.name,2010-05-03:/archives/1/118</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://vishnus.name/blog">
  <![CDATA[
Well.. the fastest firefox ever, the Firefox 3.5 is scheduled to be launched on June 30th, Tuesday. We are planning lot of things for the Launch..<br />&nbsp;<a target="_blank" href="http://www.mozilla.com/firefox/comingsoon">http://www.mozilla.com/firefox/comingsoon</a><br /><br /><img alt="" style="width: 162px; height: 35px;" src="http://people.mozilla.com/~faaborg/files/shiretoko/firefoxIcon/firefoxWordmark.png" /><br /><br /><font size="3"><span style="font-weight: bold;">Shiretoko Shock</span>:</font> We will send "shocks" by tweeting, blog posting, Facebook posts, Orkut etc... exactly at 3:50PM Local Time! <br />Also there will be a <span style="font-weight: bold;">SUPER SHOCK</span> which will be send exactly at 3:50 PM (BST) on Wednesday, July 1st. It will be a huge success if everyone of you helps to give SHOCKS!! 
<br /><a target="_blank" href="https://contribute.mozilla.org/Marketing/Firefox_3.5">https://contribute.mozilla.org/Marketing/Firefox_3.5</a><br />please have a look at this site and help us make the Firefox 3.5 launch a success.
]]>
  </content>
  <link rel="related" type="text/html" href="http://vishnus.name/blog/post/index/118/Firefox-35-Launch-Scheduled-on-June-30th" title="Firefox 3.5 Launch Scheduled on June 30th"/>
  <author>
    <name>vishnu</name>
    <url>http://vishnus.name/blog/profile.php?id=1</url>
  </author>
</entry>


</feed>