<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D04DR30-fCp7ImA9WxNXFEg.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913</id><updated>2009-10-02T08:59:36.354+05:00</updated><title>Asad Abbas</title><subtitle type="html">A blog about my web development, programming and every thing around me!</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://asad296.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/asad296" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;A0MMQX0yeip7ImA9WxVTFE8.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-4265266292617743318</id><published>2008-12-26T23:35:00.018+05:00</published><updated>2008-12-28T06:58:00.392+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-28T06:58:00.392+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Security" /><category scheme="http://www.blogger.com/atom/ns#" term="Php" /><title>Secure download-upload script in Php</title><summary type="html">Recently I have written a blog post on how to insert a file in mysql database as a blob data type. In this post I will explain how you can upload user submitted file securely to your server and make it available for download. I personally prefer this method as work load on a file system will be better than on a database system. But we'll still be using a mysql database to record details of an &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/LeVZo7KWQJw" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/4265266292617743318/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/12/secure-download-upload-script-in-php.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/4265266292617743318?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/4265266292617743318?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/LeVZo7KWQJw/secure-download-upload-script-in-php.html" title="Secure download-upload script in Php" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/12/secure-download-upload-script-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYMRHY5fCp7ImA9WxVTEkk.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-843716640129319245</id><published>2008-12-26T00:03:00.014+05:00</published><updated>2008-12-26T03:29:45.824+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T03:29:45.824+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Php" /><category scheme="http://www.blogger.com/atom/ns#" term="freebies" /><title>Free web hosts with php mail() function enabled</title><summary type="html">It is difficult to find a web host that is free and support php's mail() function. Following are my two favorite web hosts that freely supports php's mail() function.1)FreeWebHostingArea.comFeatures apart from mail include :Quad-processor server with 4GB RAMUnmetered traffic500 MB WebspacePHP 5 (v5.2.4) with GD2 library, Zend Optimizer, php curl, php magickwand (support for ImageMagick 6.3), php &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/7TR9jzT98ac" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/843716640129319245/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/12/free-web-hosts-with-php-mail-function.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/843716640129319245?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/843716640129319245?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/7TR9jzT98ac/free-web-hosts-with-php-mail-function.html" title="Free web hosts with php mail() function enabled" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/12/free-web-hosts-with-php-mail-function.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkADSH84fCp7ImA9WxVTEks.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-8434841520444089755</id><published>2008-12-23T06:09:00.047+05:00</published><updated>2008-12-26T08:06:19.134+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T08:06:19.134+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="JQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="AJAX" /><title>Ajax is so simple using JQuery</title><summary type="html">I recently started using JQuery and found that it has made JavaScript so simple and easy. For those of you who use Ajax simply , first you have to check if XmlHttpRequest object is available. If not then u try some ActiveX object untill to attain cross browser compatibility. This is all a very tiresome and repitative work.JQuery on the other hand handles all the issue and make our script cross &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/ZIBlM5s_F3k" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/8434841520444089755/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/12/ajax-is-so-simple-using-jquery.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/8434841520444089755?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/8434841520444089755?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/ZIBlM5s_F3k/ajax-is-so-simple-using-jquery.html" title="Ajax is so simple using JQuery" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/12/ajax-is-so-simple-using-jquery.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MFRnY4eyp7ImA9WxVTFE8.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-431894897345491058</id><published>2008-12-23T05:10:00.013+05:00</published><updated>2008-12-28T06:56:57.833+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-28T06:56:57.833+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Php" /><title>Inserting Binary data into MySQL database using Php</title><summary type="html">A simple script which can help to store any binary data to you MySQL database. You can add any type of binary data eg word document, Excel spreadsheet, PDF file , an image or a video in through it. I will use MySQL's LONGBLOB data type. it support at most a data of 4GB.schemaCREATE TABLE `mydata` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `data` LONGBLOB NOT NULL, `fname` VARCHAR(255) NOT NULL, &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/6bZjaCcMJDQ" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/431894897345491058/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/12/inserting-binary-data-into-mysql.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/431894897345491058?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/431894897345491058?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/6bZjaCcMJDQ/inserting-binary-data-into-mysql.html" title="Inserting Binary data into MySQL database using Php" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/12/inserting-binary-data-into-mysql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkICRXw8cSp7ImA9WxRaGUQ.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-2347892055194694309</id><published>2008-12-22T07:01:00.010+05:00</published><updated>2008-12-23T05:02:44.279+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-23T05:02:44.279+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Security" /><category scheme="http://www.blogger.com/atom/ns#" term="Php" /><title>Prevent your Php MySQL scripts from SQL injections</title><summary type="html">If your site uses data from user and operates its database functionalities over it then you are not safe. SQL injections are the most comman type of attack which a site faces. I would like to mention some common types of attacks and how to save your script from these attacks.Escape your input stringsConsider a query"select * from users where username = '{$userid}' "input : $userid = " 1'; delete &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/Y97-2tuUWw0" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/2347892055194694309/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/12/prevent-your-php-mysql-scripts-from-sql.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/2347892055194694309?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/2347892055194694309?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/Y97-2tuUWw0/prevent-your-php-mysql-scripts-from-sql.html" title="Prevent your Php MySQL scripts from SQL injections" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/12/prevent-your-php-mysql-scripts-from-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIEQHY7eCp7ImA9WxRTGEQ.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-6234942242367975525</id><published>2008-09-08T22:31:00.010+06:00</published><updated>2008-09-08T22:48:21.800+06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-08T22:48:21.800+06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Victory at Combat 08,PAF KIET in a Programming Competition  !!!!!!!</title><summary type="html">This is the first blog post by me … I was never a blogger but this event is worth writing and remembering  so I thought why not a blog post for it .So let me start from the beginning. Me, Amir Ali  and Abeer are a group and we use to participate in different programming competitions. So as usual we also participated in this event together.It was 23rd of August 2008. In the morning we started out &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/Dq7WPVFFqPI" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/6234942242367975525/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/09/victory-at-combat-08paf-kiet-in.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/6234942242367975525?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/6234942242367975525?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/Dq7WPVFFqPI/victory-at-combat-08paf-kiet-in.html" title="Victory at Combat 08,PAF KIET in a Programming Competition  !!!!!!!" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/09/victory-at-combat-08paf-kiet-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUFQHc8eip7ImA9WxRTF08.&quot;"><id>tag:blogger.com,1999:blog-7368812113688340913.post-4137990512949560433</id><published>2008-09-06T00:29:00.003+06:00</published><updated>2008-09-06T23:30:11.972+06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-06T23:30:11.972+06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="blog" /><title>Helloo World</title><summary type="html">Hello world ... This is my very own blog and its this is my first post ... !!! &lt;img src="http://feeds.feedburner.com/~r/asad296/~4/DW7OqvG8I1M" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://asad296.blogspot.com/feeds/4137990512949560433/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://asad296.blogspot.com/2008/09/helloo-world.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/4137990512949560433?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7368812113688340913/posts/default/4137990512949560433?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/asad296/~3/DW7OqvG8I1M/helloo-world.html" title="Helloo World" /><author><name>Asad Abbas</name><uri>http://www.blogger.com/profile/14242131077878491664</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="03311882051592148250" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://asad296.blogspot.com/2008/09/helloo-world.html</feedburner:origLink></entry></feed>
