<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1707361340022590485</id><updated>2012-02-16T12:46:40.399-08:00</updated><category term='javascript'/><category term='php'/><category term='dhtml'/><title type='text'>DreamTechWorld</title><subtitle type='html'>This Blog is to fulfill your techinical need</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1707361340022590485.post-8123026633413852963</id><published>2008-01-04T02:01:00.000-08:00</published><updated>2008-01-04T02:03:03.478-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>phone no validation</title><content type='html'>function validatePhone(obj,msg)&lt;br /&gt;{&lt;br /&gt;var validNum =/^[\(]?(\d{0,3})[\)]?[\s]?[\-]?(\d{3})[\s]?[\-]?(\d{4})[\s]?[x]?(\d*)$/;&lt;br /&gt; if (validNum.test(obj.value) == false)&lt;br /&gt; {&lt;br /&gt;  alert(msg);&lt;br /&gt;  obj.focus();&lt;br /&gt;  obj.select();&lt;br /&gt;  return false;&lt;br /&gt; }&lt;br /&gt; return true;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1707361340022590485-8123026633413852963?l=dreamtechworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/8123026633413852963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1707361340022590485&amp;postID=8123026633413852963&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/8123026633413852963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/8123026633413852963'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/2008/01/phone-no-validation.html' title='phone no validation'/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1707361340022590485.post-7368733737596856270</id><published>2007-08-12T23:09:00.000-07:00</published><updated>2007-08-12T23:11:37.544-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'></title><content type='html'>Creating a popup&lt;br /&gt;&lt;br /&gt;Use the following script&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt;&lt;br /&gt;&lt;!-- function popitup(url) {  newwindow=window.open(url,'name','height=200,width=250');  if (window.focus) {newwindow.focus()}  return false; }  // --&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Then, you link to it by:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dreamtechworld.blogspot.com/" onclick="return popitup('http://dreamtechworld.blogspot.com/')"&gt;Link to popup&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1707361340022590485-7368733737596856270?l=dreamtechworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/7368733737596856270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1707361340022590485&amp;postID=7368733737596856270&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/7368733737596856270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/7368733737596856270'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/2007/08/creating-popup-use-following-script.html' title=''/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1707361340022590485.post-200127076667530907</id><published>2007-07-20T06:10:00.000-07:00</published><updated>2007-07-23T22:57:23.331-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dhtml'/><title type='text'>How to Make the Background of a Div Transparent?</title><content type='html'>In the HTML code, give a unique ID to the div with transparent background such as below:&lt;div id="transparency"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the stylesheet, define the style for this ID such as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;#transparency {filter: alpha(opacity=55); -moz-opacity: .55; background-color:#EEE; position:absolute; top:450px; left:110px; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;filter property works in internet explorer and -moz   is for firefox .&lt;br /&gt;&lt;br /&gt;&lt;a href="http://technorati.com/tag/dhtml%2F" rel="tag"&gt;&lt;img style="border:0;vertical-align:middle;margin-left:.4em" src="http://static.technorati.com/static/img/pub/icon-utag-16x13.png?tag=dhtml%2F" alt=" " /&gt;dhtml/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1707361340022590485-200127076667530907?l=dreamtechworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/200127076667530907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1707361340022590485&amp;postID=200127076667530907&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/200127076667530907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/200127076667530907'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/2007/07/how-to-make-background-of-div.html' title='How to Make the Background of a Div Transparent?'/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1707361340022590485.post-1061914271019592042</id><published>2007-07-12T23:38:00.000-07:00</published><updated>2007-07-13T00:17:46.423-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Php Server side security using  preg_match.</title><content type='html'>&lt;span style="width:460px;font-size:85%; text-align:justify; word-wrap"&gt;To avoid the cross side scripting  or make site safe from hacker attacks one  need to perform data validation before allowed data  insertion into database . We can achieve this using php preg_match which check data format to  see whether it  is in valid state or not. The following code snippet is standard validation example&lt;br /&gt;&lt;br /&gt; function isHackerSafeUsername($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z][\w\._]*[a-zA-Z0-9]$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafePassword($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/[^a-zA-Z0-9@._'-]/",$Subject)) return false;&lt;br /&gt;   else return true;&lt;br /&gt; } &lt;br /&gt; &lt;br /&gt; function isHackerSafeName($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafeEmail($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*&lt;br /&gt;      [a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafeLan($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z]{1}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafeNumber($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[0-9]{1,15}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; function isHackerSafeAddress($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z0-9\s,]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; function isHackerSafeTitle($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z0-9\s,]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; function isHackerSafeCityState($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z\s]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafeAnswer($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z0-9\s]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; function isHackerSafeQuestion($Subject)&lt;br /&gt; {&lt;br /&gt;   if( preg_match("/^[a-zA-Z]{1,}$/",$Subject)) return true;&lt;br /&gt;   else return false;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1707361340022590485-1061914271019592042?l=dreamtechworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/1061914271019592042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1707361340022590485&amp;postID=1061914271019592042&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/1061914271019592042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/1061914271019592042'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/2007/07/php-server-side-security-using.html' title='Php Server side security using  preg_match.'/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1707361340022590485.post-2047724873940104493</id><published>2007-06-14T11:38:00.000-07:00</published><updated>2007-06-14T13:00:23.261-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Welcome to your Dream world ! ! !</title><content type='html'>Hi Guys ,&lt;br /&gt;&lt;br /&gt; This is my test blog . To see how it looks .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1707361340022590485-2047724873940104493?l=dreamtechworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamtechworld.blogspot.com/feeds/2047724873940104493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1707361340022590485&amp;postID=2047724873940104493&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/2047724873940104493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1707361340022590485/posts/default/2047724873940104493'/><link rel='alternate' type='text/html' href='http://dreamtechworld.blogspot.com/2007/06/welcome-to-your-dream-world.html' title='Welcome to your Dream world ! ! !'/><author><name>Ramesh Javale</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
