<?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-2362416511527913002</id><updated>2011-07-29T01:57:49.270-07:00</updated><category term='Google Public DNS'/><category term='Unix'/><category term='Web Design Dubai'/><category term='Windows 2003'/><category term='Emirates'/><category term='Internet'/><category term='UAE'/><category term='Space'/><category term='Domain Registration'/><category term='SQL Injection'/><category term='Reliable Servers'/><category term='ccTLD'/><category term='itech.ae'/><category term='Extension'/><category term='Dubai Website Design'/><category term='Webs Site Design Dubai'/><category term='USA'/><category term='Preventing SQL Injection with PHP'/><category term='Web Development Dubai'/><category term='Web Hosting'/><title type='text'>Website Design Dubai / UAE</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://web-design-dubai-uae.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://web-design-dubai-uae.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Five Ocean Computers</name><uri>http://www.blogger.com/profile/13696799178977311340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_ALPjAKS5tZY/SaVLt8hA1aI/AAAAAAAAAAM/cgw6Re6wkBc/S220/five_logo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2362416511527913002.post-7415476581165554077</id><published>2010-01-07T09:27:00.000-08:00</published><updated>2010-01-07T09:30:01.973-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Design Dubai'/><category scheme='http://www.blogger.com/atom/ns#' term='Dubai Website Design'/><category scheme='http://www.blogger.com/atom/ns#' term='itech.ae'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Public DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='Webs Site Design Dubai'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Switch to Google Public DNS for a faster internet experience</title><content type='html'>Earlier this week, Google announced a new service – Google Public DNS. &lt;br&gt;&lt;br /&gt;For the uniniated, DNS is a system that converts simple website addresses like www.google.com to IP addresses like 209.85.231.99. &lt;br&gt;&lt;br /&gt;So for every website you visit, your browser requests the DNS to resolve the IP address before it can show you the actual page content.&lt;br&gt;&lt;br /&gt;&lt;a href="http://code.google.com/speed/public-dns/" target="_blank"&gt;Click to view Google page for DNS (More Details)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2362416511527913002-7415476581165554077?l=web-design-dubai-uae.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://web-design-dubai-uae.blogspot.com/feeds/7415476581165554077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2010/01/switch-to-google-public-dns-for-faster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/7415476581165554077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/7415476581165554077'/><link rel='alternate' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2010/01/switch-to-google-public-dns-for-faster.html' title='Switch to Google Public DNS for a faster internet experience'/><author><name>Five Ocean Computers</name><uri>http://www.blogger.com/profile/13696799178977311340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_ALPjAKS5tZY/SaVLt8hA1aI/AAAAAAAAAAM/cgw6Re6wkBc/S220/five_logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2362416511527913002.post-6226800937083693365</id><published>2009-09-14T16:00:00.000-07:00</published><updated>2009-09-14T16:04:02.273-07:00</updated><title type='text'>jquery drag and drop</title><content type='html'>Please check this code&lt;br /&gt;&lt;br /&gt;its little modification in jquery Drag and Drop DEMO&lt;br /&gt;&lt;br /&gt;&amp;lt;!doctype html&amp;gt;&lt;br /&gt;&amp;lt;html lang="en"&amp;gt;&lt;br /&gt; &amp;lt;head&amp;gt;&lt;br /&gt;  &amp;lt;title&amp;gt;jQuery UI Droppable - Simple photo manager&amp;lt;/title&amp;gt;&lt;br /&gt;  &amp;lt;link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" /&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../jquery-1.3.2.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../ui/ui.core.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../ui/ui.draggable.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../ui/ui.droppable.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../ui/ui.resizable.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;script type="text/javascript" src="../../ui/ui.dialog.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;link type="text/css" href="../demos.css" rel="stylesheet" /&amp;gt;&lt;br /&gt;  &amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;   #gallery { float: left; width: 65%; min-height: 12em; } * html #gallery { height: 12em; } /* IE6 */&lt;br /&gt;   .gallery.custom-state-active { background: #eee; }&lt;br /&gt;   .gallery li { float: left; width: 96px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; }&lt;br /&gt;   .gallery li h5 { margin: 0 0 0.4em; cursor: move; }&lt;br /&gt;   .gallery li a { float: right; }&lt;br /&gt;   .gallery li a.ui-icon-zoomin { float: left; }&lt;br /&gt;   .gallery li img { width: 100%; cursor: move; }&lt;br /&gt;&lt;br /&gt;   #trash { float: right; width: 32%; min-height: 18em; padding: 1%;} * html #trash { height: 18em; } /* IE6 */&lt;br /&gt;   #trash h4 { line-height: 16px; margin: 0 0 0.4em; }&lt;br /&gt;   #trash h4 .ui-icon { float: left; }&lt;br /&gt;   #trash .gallery h5 { display: none; }&lt;br /&gt;   &lt;br /&gt;   #trash2 { float: left; width: 32%; min-height: 18em; padding: 1%;} * html #trash { height: 18em; } /* IE6 */&lt;br /&gt;   #trash2 h4 { line-height: 16px; margin: 0 0 0.4em; }&lt;br /&gt;   #trash2 h4 .ui-icon { float: left; }&lt;br /&gt;   #trash2 .gallery h5 { display: none; }&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;#  &amp;lt;/style&amp;gt;&lt;br /&gt;#  &amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;   $(function() {&lt;br /&gt;    // there's the gallery and the trash&lt;br /&gt;    var $gallery = $('#gallery'), $trash = $('#trash'), $trash2 = $('#trash2');&lt;br /&gt;&lt;br /&gt;    // let the gallery items be draggable&lt;br /&gt;    $('li',$gallery).draggable({&lt;br /&gt;     cancel: 'a.ui-icon',// clicking an icon won't initiate dragging&lt;br /&gt;     revert: 'invalid', // when not dropped, the item will revert back to its initial position&lt;br /&gt;     containment: $('#demo-frame').length ? '#demo-frame' : 'document', // stick to demo-frame if present&lt;br /&gt;     helper: 'clone',&lt;br /&gt;     cursor: 'move'&lt;br /&gt;    });&lt;br /&gt;&lt;br /&gt;    // let the trash be droppable, accepting the gallery items&lt;br /&gt;    $trash.droppable({&lt;br /&gt;     accept: '#gallery &amp;gt; li',&lt;br /&gt;     activeClass: 'ui-state-highlight',&lt;br /&gt;     drop: function(ev, ui) {&lt;br /&gt;     deleteImage(ui.draggable);&lt;br /&gt;     }&lt;br /&gt;    });&lt;br /&gt;    // let the trash2 be droppable, accepting the gallery items&lt;br /&gt;    $trash2.droppable({&lt;br /&gt;     accept: '#gallery &amp;gt; li',&lt;br /&gt;     activeClass: 'ui-state-highlight',&lt;br /&gt;     drop: function(ev, ui) {&lt;br /&gt;      deleteImage1(ui.draggable);&lt;br /&gt;     }&lt;br /&gt;    });    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    // let the gallery be droppable as well, accepting items from the trash&lt;br /&gt;    $gallery.droppable({&lt;br /&gt;     accept: '#trash2 li',&lt;br /&gt;     activeClass: 'custom-state-active',&lt;br /&gt;     drop: function(ev, ui) {&lt;br /&gt;      recycleImage(ui.draggable);&lt;br /&gt;     }&lt;br /&gt;    });&lt;br /&gt;    &lt;br /&gt;    // image deletion function&lt;br /&gt;    var recycle_icon = '&amp;lt;a href="link/to/recycle/script/when/we/have/js/off" title="Recycle this image" class="ui-icon ui-icon-refresh"&amp;gt;Recycle image&amp;lt;/a&amp;gt;';&lt;br /&gt;    function deleteImage($item) {&lt;br /&gt;     $item.fadeOut(function() {&lt;br /&gt;      var $list = $('ul',$trash).length ? $('ul',$trash) : $('&amp;lt;ul class="gallery ui-helper-reset"/&amp;gt;').appendTo($trash);&lt;br /&gt;&lt;br /&gt;      $item.find('a.ui-icon-trash').remove();&lt;br /&gt;      $item.append(recycle_icon).appendTo($list).fadeIn(function() {&lt;br /&gt;       $item.animate({ width: '48px' }).find('img').animate({ height: '36px' });&lt;br /&gt;      });&lt;br /&gt;     });&lt;br /&gt;    }&lt;br /&gt;    //// 2ND IMAGE FUNCTION /////&lt;br /&gt;    function deleteImage1($item) {&lt;br /&gt;     $item.fadeOut(function() {&lt;br /&gt;      var $list = $('ul',$trash2).length ? $('ul',$trash2) : $('&amp;lt;ul class="gallery ui-helper-reset"/&amp;gt;').appendTo($trash2);&lt;br /&gt;&lt;br /&gt;      $item.find('a.ui-icon-trash').remove();&lt;br /&gt;      $item.append(recycle_icon).appendTo($list).fadeIn(function() {&lt;br /&gt;       $item.animate({ width: '48px' }).find('img').animate({ height: '36px' });&lt;br /&gt;      });&lt;br /&gt;     });&lt;br /&gt;    }&lt;br /&gt;    /////////////////////////////////////&lt;br /&gt;&lt;br /&gt;    // image recycle function&lt;br /&gt;    var trash_icon = '&amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt;';&lt;br /&gt;    function recycleImage($item) {&lt;br /&gt;     $item.fadeOut(function() {&lt;br /&gt;      $item.find('a.ui-icon-refresh').remove();&lt;br /&gt;      $item.css('width','96px').append(trash_icon).find('img').css('height','72px').end().appendTo($gallery).fadeIn();&lt;br /&gt;     });&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    // image preview function, demonstrating the ui.dialog used as a modal window&lt;br /&gt;    function viewLargerImage($link) {&lt;br /&gt;     var src = $link.attr('href');&lt;br /&gt;     var title = $link.siblings('img').attr('alt');&lt;br /&gt;     var $modal = $('img[src$="'+src+'"]');&lt;br /&gt;&lt;br /&gt;     if ($modal.length) {&lt;br /&gt;      $modal.dialog('open')&lt;br /&gt;     } else {&lt;br /&gt;      var img = $('&amp;lt;img alt="'+title+'" width="384" height="288" style="display:none;padding: 8px;" /&amp;gt;')&lt;br /&gt;       .attr('src',src).appendTo('body');&lt;br /&gt;      setTimeout(function() {&lt;br /&gt;       img.dialog({&lt;br /&gt;         title: title,&lt;br /&gt;         width: 400,&lt;br /&gt;         modal: true&lt;br /&gt;        });&lt;br /&gt;      }, 1);&lt;br /&gt;     }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    // resolve the icons behavior with event delegation&lt;br /&gt;    $('ul.gallery &amp;gt; li').click(function(ev) {&lt;br /&gt;     var $item = $(this);&lt;br /&gt;     var $target = $(ev.target);&lt;br /&gt;&lt;br /&gt;     if ($target.is('a.ui-icon-trash')) {&lt;br /&gt;      deleteImage($item);&lt;br /&gt;     } else if ($target.is('a.ui-icon-zoomin')) {&lt;br /&gt;      viewLargerImage($target);&lt;br /&gt;     } else if ($target.is('a.ui-icon-refresh')) {&lt;br /&gt;      recycleImage($item);&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;     return false;&lt;br /&gt;    });&lt;br /&gt;   });&lt;br /&gt;  &amp;lt;/script&amp;gt;&lt;br /&gt; &amp;lt;/head&amp;gt;&lt;br /&gt; &amp;lt;body&amp;gt;&lt;br /&gt;  &amp;lt;div class="demo ui-widget ui-helper-clearfix"&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix"&amp;gt;&lt;br /&gt;    &amp;lt;li class="ui-widget-content ui-corner-tr"&amp;gt;&lt;br /&gt;                  &amp;lt;h5 class="ui-widget-header"&amp;gt;High Tatras 4&amp;lt;/h5&amp;gt;&lt;br /&gt;      &amp;lt;img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" /&amp;gt; &amp;lt;a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin"&amp;gt;View larger&amp;lt;/a&amp;gt; &amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt; &amp;lt;/li&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;li class="ui-widget-content ui-corner-tr"&amp;gt;&lt;br /&gt;     &amp;lt;h5 class="ui-widget-header"&amp;gt;High Tatras 4&amp;lt;/h5&amp;gt;&lt;br /&gt;     &amp;lt;img src="inessa_avatar.jpg" alt="On top of Kozi kopka" width="96" height="72" /&amp;gt;&lt;br /&gt;     &amp;lt;a href="inessa_avatar.jpg" title="View larger image" class="ui-icon ui-icon-zoomin"&amp;gt;View larger&amp;lt;/a&amp;gt;&lt;br /&gt;     &amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt;    &amp;lt;/li&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;li class="ui-widget-content ui-corner-tr"&amp;gt;&lt;br /&gt;     &amp;lt;h5 class="ui-widget-header"&amp;gt;High Tatras 2&amp;lt;/h5&amp;gt;&lt;br /&gt;     &amp;lt;img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" /&amp;gt;&lt;br /&gt;     &amp;lt;a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin"&amp;gt;View larger&amp;lt;/a&amp;gt;&lt;br /&gt;     &amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt;    &amp;lt;/li&amp;gt;&lt;br /&gt;    &amp;lt;li class="ui-widget-content ui-corner-tr"&amp;gt;&lt;br /&gt;     &amp;lt;h5 class="ui-widget-header"&amp;gt;High Tatras 3&amp;lt;/h5&amp;gt;&lt;br /&gt;     &amp;lt;img src="images/high_tatras3_min.jpg" alt="Planning the ascent" width="96" height="72" /&amp;gt;&lt;br /&gt;     &amp;lt;a href="images/high_tatras3.jpg" title="View larger image" class="ui-icon ui-icon-zoomin"&amp;gt;View larger&amp;lt;/a&amp;gt;&lt;br /&gt;     &amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt;    &amp;lt;/li&amp;gt;&lt;br /&gt;    &amp;lt;li class="ui-widget-content ui-corner-tr"&amp;gt;&lt;br /&gt;     &amp;lt;h5 class="ui-widget-header"&amp;gt;High Tatras 4&amp;lt;/h5&amp;gt;&lt;br /&gt;     &amp;lt;img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" /&amp;gt;&lt;br /&gt;     &amp;lt;a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin"&amp;gt;View larger&amp;lt;/a&amp;gt;&lt;br /&gt;     &amp;lt;a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash"&amp;gt;Delete image&amp;lt;/a&amp;gt;    &amp;lt;/li&amp;gt;&lt;br /&gt;   &amp;lt;/ul&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;div id="trash" class="ui-widget-content ui-state-default"&amp;gt;&lt;br /&gt;    &amp;lt;h4 class="ui-widget-header"&amp;gt;&amp;lt;span class="ui-icon ui-icon-trash"&amp;gt;Trash&amp;lt;/span&amp;gt; Trash&amp;lt;/h4&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id="trash2" class="ui-widget-content ui-state-default"&amp;gt;&lt;br /&gt;&amp;lt;h4 class="ui-widget-header"&amp;gt; Album&amp;lt;/h4&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&amp;lt;!-- End demo --&amp;gt;&lt;br /&gt; &amp;lt;!-- End demo-description --&amp;gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2362416511527913002-6226800937083693365?l=web-design-dubai-uae.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://web-design-dubai-uae.blogspot.com/feeds/6226800937083693365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/09/jquery-drag-and-drop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/6226800937083693365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/6226800937083693365'/><link rel='alternate' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/09/jquery-drag-and-drop.html' title='jquery drag and drop'/><author><name>Five Ocean Computers</name><uri>http://www.blogger.com/profile/13696799178977311340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_ALPjAKS5tZY/SaVLt8hA1aI/AAAAAAAAAAM/cgw6Re6wkBc/S220/five_logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2362416511527913002.post-6945902390701337398</id><published>2009-09-13T12:36:00.000-07:00</published><updated>2009-09-13T12:53:05.380-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dubai Website Design'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Injection'/><category scheme='http://www.blogger.com/atom/ns#' term='Webs Site Design Dubai'/><category scheme='http://www.blogger.com/atom/ns#' term='Preventing SQL Injection with PHP'/><title type='text'>Preventing SQL Injection with PHP</title><content type='html'>SQL injection refers to the act of someone inserting a MySQL statement to be run on your database without your knowledge. Injection usually occurs when you ask a user for input, like their name, and instead of a name they give you a MySQL statement that you will unknowingly run on your database.&lt;br /&gt;&lt;br /&gt;From Wikiedpia.com:&lt;br /&gt;&lt;br /&gt;    SQL injection is a technique that exploits a security vulnerability occurring in the database layer of an application. The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is in fact an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another. &lt;br /&gt;&lt;br /&gt;&lt;span style="fonthttp://www.blogger.com/img/blank.gif-weight:bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt; FORM NAME="frm1" METHOD="POST" ACTION="process.php &amp;gt;&lt;br /&gt;    NAME: &amp;lt;INPUT NAME="name"&amp;gt;&amp;lt;BR&amp;gt; "&lt;br /&gt;"    PASSWORD: &amp;lt;INPUT NAME="pwd"&amp;gt;&lt;br /&gt;" &amp;lt;INPUT TYPE="SUBMIT" VALUE="LOGIN"&amp;gt;&lt;br /&gt;&amp;lt;/FORM&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;process.php&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;$name = $_POST[‘name’];&lt;br /&gt;&lt;br /&gt;$pwd  = $_POST[‘pwd’];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$str_sql = "SELECT * from `tbl_users` WHERE " .&lt;br /&gt;           "usr_name=’" . $name . "’ AND " .&lt;br /&gt;           "usr_pwd=’" . $pwd . "’";&lt;br /&gt;$result = mysql_query( $str_sql ) or die ( mysql_error() );&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The normal query is no problem.&lt;br /&gt;&lt;br /&gt;However, the injection attack has actually made our query behave differently than we intended. By using a single quote (') they have ended the string part of our MySQL query&lt;br /&gt;&lt;br /&gt;    * usr_pwd = ' '&lt;br /&gt;&lt;br /&gt;and then added on to our WHERE statement with an OR clause of 1 (always true).&lt;br /&gt;&lt;br /&gt;    * usr_pwd = ' ' OR 1&lt;br /&gt;&lt;br /&gt;This OR clause of 1 will always be true!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;HOW DO I PREVENT A SQL INJECTION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;use &lt;a href="http://www.php.net/manual/pt_BR/function.mysql-real-escape-string.php"&gt;mysql_real_escape_string()&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;so our form will be now&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;$name = mysql_real_escape_string( $_POST[‘name’] );&lt;br /&gt;$pwd  = mysql_real_escape_string( $_POST[‘pwd’] );&lt;br /&gt;&lt;br /&gt;....................&lt;br /&gt;....................&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope This will help you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2362416511527913002-6945902390701337398?l=web-design-dubai-uae.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://web-design-dubai-uae.blogspot.com/feeds/6945902390701337398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/09/preventing-sql-injection-with-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/6945902390701337398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/6945902390701337398'/><link rel='alternate' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/09/preventing-sql-injection-with-php.html' title='Preventing SQL Injection with PHP'/><author><name>Five Ocean Computers</name><uri>http://www.blogger.com/profile/13696799178977311340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_ALPjAKS5tZY/SaVLt8hA1aI/AAAAAAAAAAM/cgw6Re6wkBc/S220/five_logo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2362416511527913002.post-4231608029635189263</id><published>2009-03-11T09:43:00.000-07:00</published><updated>2009-03-11T09:44:06.741-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ccTLD'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='Domain Registration'/><category scheme='http://www.blogger.com/atom/ns#' term='Space'/><category scheme='http://www.blogger.com/atom/ns#' term='Reliable Servers'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Design Dubai'/><category scheme='http://www.blogger.com/atom/ns#' term='USA'/><category scheme='http://www.blogger.com/atom/ns#' term='Emirates'/><category scheme='http://www.blogger.com/atom/ns#' term='Extension'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2003'/><category scheme='http://www.blogger.com/atom/ns#' term='UAE'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development Dubai'/><title type='text'>Importance of web site.?</title><content type='html'>&lt;p&gt;Needless to say, having a &lt;a href="http://fiveocean.net/web_design.asp" target="_blank"&gt;web site&lt;/a&gt; to promote your business or ideas is imperative nowadays. Nearly all households have access to the internet, sometimes even on more than one computer. The great thing about the internet is that it can reach the whole world, and not just your neighbourhood. Thus, if you have anything to sell or anything to say, everyone can get to know about it.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Your web site is your shop window and it is open 24/7. It needs to be eye catching and transmit your message in a few seconds. It needs to have enough content that explains your message and what you do. It needs to load fast, be reliable and look professional. The impression your web site should give is that of a company or professional who knows what they want to sell, or the message they want to send.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Having a web site is not just a commodity for businesses nowadays, but a must. A company or a professional without a web site is like a salesman without his business card. The web site needs to be your profile and what’s good about it is that there is limitless information you can put on it. Another good thing is that static content on your site can be changed very easily. Even better, you can opt to go for a dynamic site which will automatically change your content based on changes to your business, like stock items, prices, articles, services and more.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Your web site is your identity, make sure you have one!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://fiveocean.net/about_us.asp" target="_blank"&gt;Five Ocan Computers&lt;/a&gt; is web Solution Company. We are specialized in cutting edge websites with style, interactive flash animation, High end multimedia, robust database applications/e-commerce. Web design, deploy and manage websites of highest quality for forward thinking clients that demand on return on their internet solutions investment. We can measurably drive sales, reduce manpower, improve communication and enable a higher level of collaboration between you and your customer. We ensure that all our sites are accessible to the widest possible audience, easily updatable, and meet your business objectives by offering creative and productive solutions on internet web site design. Our team of web site design and maintenance has expertise to meet your online goals and effectively establish your presence in cyber space through your web site. What distinguishes us along with other agencies and companies ? We treat each project as a challenge. We are not afraid to say ,that we are still learning. In fact , the ability to learn is better advantageous than fixed, no matter how big, knowledge we constantly follow new solutions and techniques to be up to date and to give the customer the proof of our care. Five Ocean Computers offers a variety of best-in-class services from &lt;a href="http://fiveocean.net/domain_hosting.asp"&gt;Domain Name registration&lt;/a&gt;, &lt;a href="http://fiveocean.net/seo_marketing.asp"&gt;SEO&lt;/a&gt;, &lt;a href="http://fiveocean.net/web_design.asp"&gt;basic website design&lt;/a&gt; services to &lt;a href="http://fiveocean.net/web_development.asp"&gt;complete e-commerce&lt;/a&gt; web site development. Over the years we have created and launched successful websites. Five Ocean Computers is providing affordable web design services to all our clients ranging from start ups, small businesses to leading corporations.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;Why Choose Five Ocean Computers?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.                                 Years Of Expertise In &lt;a href="http://fiveocean.net/web_design.asp"&gt;Web Design&lt;/a&gt; And &lt;a href="http://fiveocean.net/web_development.asp"&gt;Development&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://fiveocean.net/portfolio.asp"&gt;Ordering&lt;/a&gt; from our Five ocean Computers, you get clean, fast loading, informative and &lt;a href="http://fiveocean.net/seo_marketing.asp"&gt;Search Engine friendly&lt;/a&gt; &lt;a href="http://fiveocean.net/web_design.asp"&gt;website designs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;3. We have the best and brightest , &lt;a href="http://fiveocean.net/web_design.asp"&gt;web designers&lt;/a&gt;, &lt;a href="http://fiveocean.net/web_development.asp"&gt;professional web                                   developers&lt;/a&gt;, talented and                                 detail-oriented project-managers.&lt;br /&gt;&lt;br /&gt;4. Excellent &lt;a href="http://fiveocean.net/contact.asp"&gt;Customer Service&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please check our YouTube Video&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yDsOPy6Tt_Q&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;embed src="http://www.youtube.com/v/yDsOPy6Tt_Q&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://domainregisteruae.com/"&gt;Domain Name , Domain Name U.A.E&lt;br /&gt;Domain Name Dubai&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2362416511527913002-4231608029635189263?l=web-design-dubai-uae.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://web-design-dubai-uae.blogspot.com/feeds/4231608029635189263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/03/importance-of-web-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/4231608029635189263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2362416511527913002/posts/default/4231608029635189263'/><link rel='alternate' type='text/html' href='http://web-design-dubai-uae.blogspot.com/2009/03/importance-of-web-site.html' title='Importance of web site.?'/><author><name>Five Ocean Computers</name><uri>http://www.blogger.com/profile/13696799178977311340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_ALPjAKS5tZY/SaVLt8hA1aI/AAAAAAAAAAM/cgw6Re6wkBc/S220/five_logo.jpg'/></author><thr:total>0</thr:total></entry></feed>
