<?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-3992717931532519331</id><updated>2011-11-27T16:22:51.618-08:00</updated><title type='text'>Open Source matter</title><subtitle type='html'>"opensource" a part of your life style...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-7742981021507812170</id><published>2011-03-31T21:26:00.000-07:00</published><updated>2011-03-31T21:26:01.503-07:00</updated><title type='text'>You love open source applications ?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;If you love open source&amp;nbsp;applications, then please respect the coder of that application.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;This thing is that nothing you will get FREE in this world, even if you want to die then also you must have to buy the&amp;nbsp;poison.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;So how you people's are thinking that open source applications are free. As you all know open source applications gives you the followings.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;1) Cost reduction&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;2) ready to use a wonderful&amp;nbsp;application&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;3) Code ownership&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;4) Earning Money&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;After getting all still you are looking for free support ?&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Please guys, i think you&amp;nbsp;should&amp;nbsp;pay even for getting support.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Suppose if you are a coder then don't pay money, but you can give your valuable support. And don't tell me you have no time.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;that's it for now.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-7742981021507812170?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/7742981021507812170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=7742981021507812170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/7742981021507812170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/7742981021507812170'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2011/03/you-love-open-source-applications.html' title='You love open source applications ?'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-821444266974770536</id><published>2010-03-30T10:35:00.000-07:00</published><updated>2010-03-30T10:37:48.470-07:00</updated><title type='text'>Wordpress Really good for new business startup</title><content type='html'>During development of a shopping cart site using wp, i have seen many useful things. so i will recommend all who are planing to startup there own business.&lt;br /&gt;&lt;br /&gt;just go with wp.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-821444266974770536?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/821444266974770536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=821444266974770536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/821444266974770536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/821444266974770536'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2010/03/wordpress-really-good-for-new-business.html' title='Wordpress Really good for new business startup'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-8464847813667051605</id><published>2009-08-24T22:28:00.000-07:00</published><updated>2009-08-24T22:30:07.145-07:00</updated><title type='text'>Now its PHP 5 with you</title><content type='html'>&lt;a href="http://gophp5.org/" title="Support GoPHP5.org"&gt;&lt;br /&gt;&lt;img src="http://gophp5.org/sites/gophp5.org/buttons/goPHP5-200x65.png" alt="Support GoPHP5.org" height="65" width="200" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-8464847813667051605?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/8464847813667051605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=8464847813667051605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/8464847813667051605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/8464847813667051605'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2009/08/now-its-php-5-with-you.html' title='Now its PHP 5 with you'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-3605110165617974688</id><published>2008-12-25T01:41:00.000-08:00</published><updated>2008-12-25T01:50:39.812-08:00</updated><title type='text'>Littel more about session</title><content type='html'>&lt;p&gt;  &lt;strong&gt;Client-side sessions&lt;/strong&gt;—&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt; &lt;span style="font-family:verdana;"&gt;                           Client-side sessions encompass techniques that require all or most of the session-state data to be passed between the client and server on every request. Client-side sessions may seem rather low-tech, and they are some- times called heavyweight in reference to the amount of client/server data transmission required. Heavyweight sessions excel where the amount of state data that needs to be maintained is small.They require little to no back-end support. (They have no backing store.) Although they are heavyweight in terms of content transmitted, they are very database/back-end efficient.This also means that they fit with little modification into a distributed system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Server-side sessions&lt;/strong&gt;—&lt;/p&gt;&lt;p align="justify"&gt;Server-side sessions are techniques that involve little  client/server data transfer.These techniques typically involve assigning an ID to a session and then simply transmitting that ID. On the server side, state is managed         in some sort of session cache (typically in a database or file-based handler), and the         session ID is used to associate a particular request with its set of state information. &lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;          Some server-side session techniques do not extend easily to run in a distributed&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;          architecture.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-3605110165617974688?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/3605110165617974688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=3605110165617974688' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/3605110165617974688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/3605110165617974688'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/12/littel-more-about-session.html' title='Littel more about session'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-829486605981414976</id><published>2008-06-07T03:33:00.000-07:00</published><updated>2008-06-07T03:38:32.311-07:00</updated><title type='text'>So what do you think ?</title><content type='html'>&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rURIE0LTQiI/SEpkMl6KW8I/AAAAAAAAACc/UjV1HkMM6Ho/s1600-h/cycling.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rURIE0LTQiI/SEpkMl6KW8I/AAAAAAAAACc/UjV1HkMM6Ho/s320/cycling.jpg" alt="" id="BLOGGER_PHOTO_ID_5209086086504668098" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-829486605981414976?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/829486605981414976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=829486605981414976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/829486605981414976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/829486605981414976'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/06/so-what-do-you-think.html' title='So what do you think ?'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rURIE0LTQiI/SEpkMl6KW8I/AAAAAAAAACc/UjV1HkMM6Ho/s72-c/cycling.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-6114786726868528003</id><published>2008-05-26T21:38:00.000-07:00</published><updated>2008-05-26T21:40:53.514-07:00</updated><title type='text'>Fundamentals of PHP sessions.</title><content type='html'>One of the most vast misconceptions in the PHP world is how sessions really do work. I'm fairly confident most of us know how to start sessions, terminate sessions, regenerate session IDs and easily pass data from 1 page to another. But do you really know how they work inside out?&lt;br /&gt;&lt;br /&gt;A common question I get asked is:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         Should you really be storing the users' flags in a session? That's dangerous!       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;Why is it dangerous? Where else would you store it? Storing crucial information in a session is what sessions are all about. They strive on being able to provide the information without leaving it open to tampering or interception. Giving a session some important information is like giving a Jack Russell a bone - it's not letting go of it anytime soon and if any other sod tries to take the bone, well, I'll leave that up to your gruesome imagination.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Where are Sessions stored?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is the question that will quash all those questions on are sessions safe. Anything can be unsafe in PHP if the programming is not up to par. Generally speaking, however, sessions are 1 section of the PHP language that is difficult to mess up.&lt;br /&gt;&lt;br /&gt;Sessions are conveniently stored server-side. There is no exception to this rule. Many people become confused because sessions use cookies, and cookies, rightfully so, are stored client-side. Sessions, however, are not cookies in the truest form. Cookies are just 1 of the methods of delivering the unique session ID to retrieve the session data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Core of a Session File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Remember the times when you used to crack open the cereal boxes to retrieve the free plastic toy from inside? Well, sessions are not quite as exciting as that. In fact, sessions are pretty uneventful on the inside. Let's take the following PHP code and execute it normally:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;PHP Code:&lt;/div&gt;  &lt;div class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 82px; text-align: left;"&gt;   &lt;code style="white-space: nowrap;"&gt;    &lt;!-- php buffer start --&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;span style="color: rgb(0, 0, 187);"&gt;session_start&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$_SESSION&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'myWebsite'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] = &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'http://www.php.com/'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$_SESSION&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'mySessionId'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] = &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;session_id&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(); &lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;/span&gt; &lt;/span&gt; &lt;/code&gt;&lt;!-- php buffer end --&gt;   &lt;/code&gt;  &lt;/div&gt; &lt;/div&gt;As simple as it may be, it does the job. It creates us a session file which contains our session information. The file is stored as the following filename which is made up of 2 parts: it has prefixed us the word &lt;i&gt;sess_&lt;/i&gt; which is then followed by our unique session ID.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         sess_4ca08c0050893704ec5cf01e8eeef3b9       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;If I open up this file it contains the following information which is simply my array which has been serialized &lt;i&gt;(see &lt;a href="http://www.php.net/serialize" target="_blank"&gt;serialize&lt;/a&gt; for further information)&lt;/i&gt; and stored.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         myWebsite|s:23:"http://www.php.com/";mySessionId&lt;br /&gt;|s:32:"4ca08c0050893704ec5cf01e8eeef3b9";       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;This is nothing more than my array broken down into a string. When I execute my file again the session ID will be used to retrieve the above data from the relevant session file and unserialized &lt;i&gt;(see &lt;a href="http://www.php.net/unserialize" target="_blank"&gt;unserialize&lt;/a&gt; for further information)&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;That's all there really is to a session file. Remember that the session file is stored server-side so there is absolutely no need to transfer any information you do not publish in the HTML over the insecure medium we like to call the Internet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Point of the Session ID&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now, this is where our delivery method comes in. Cookies are the most frequently used due to the extra security they add &lt;i&gt;(not much, but just enough to be the favoured method)&lt;/i&gt;. The other possible methods are GET &lt;i&gt;(which is sometimes used)&lt;/i&gt; and POST &lt;i&gt;(which I've never seen used but essentially it could be used with a little difficulty)&lt;/i&gt;. Unlike GET and POST which can be used in such attacks as CSRF &lt;i&gt;(&lt;a href="http://www.talkphp.com/advanced-php-programming/1063-cross-site-request-forgeries.html" target="_blank"&gt;see our article on CSRF for further information&lt;/a&gt;)&lt;/i&gt; and passed around to potential victims with far too much ease, cookies are just that little more difficult to install on a victim's computer.&lt;br /&gt;&lt;br /&gt;I could quite easily send a link to you and have you either hijack a session on my behalf, or the most common reason would be to fixate your session ID &lt;i&gt;(&lt;a href="http://www.talkphp.com/tips-tricks/1024-tips-php-security-post1813.html#post1813" target="_blank"&gt;see the following post for more information about session fixation&lt;/a&gt;)&lt;/i&gt;. Although, if I am unable to pass you the session ID easily then it's going to be more difficult for me to breach the target website's security and assume your identity. Consider the following link and how easily it can be passed around:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         &lt;a rel="nofollow" href="http://www.talkphp.com/index.php?session=4f4ae" target="_blank"&gt;http://www.php.com/index.php?session=4f4ae&lt;/a&gt;       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;You would more than likely click on that link believing it to be perfectly innocuous. The trouble is that I have just set your session ID to &lt;i&gt;4f4ae&lt;/i&gt; - and without any regenerating of the ID you would carry that ID around for the lifetime of your session giving me ample amount of time to assume your role and have almost limitless access to your account.&lt;br /&gt;&lt;br /&gt;So where has this all been leading? Well, there is an important setting that is set to 1 by default &lt;i&gt;(and should always be set to 1 unless you wish to also support users who do not have cookies enabled - which is not recommended)&lt;/i&gt; that prevents the session IDs from being transferred via a GET and to use only cookies - the safest delivery method. That setting is:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         session.use_only_cookies       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;From my earlier example let's take a look at the cookie that has been created on my computer:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         4ca08c0050893704ec5cf01e8eeef3b9       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;The cookie's name is PHPSESSID which is the default name given to a session cookie that is stored client-side. The number you see above is my session ID which will stay with me for the lifetime of my session or until it is regenerated for security purposes.&lt;br /&gt;&lt;br /&gt;Upon loading the website where my session ID was created, the cookie is sent to the website and parsed by PHP. The session ID is correctly linked to the session file stored server-side and is then unserialized and placed into the pre-populated PHP array, &lt;i&gt;$_SESSION&lt;/i&gt;. Once I have issued the &lt;i&gt;session_start()&lt;/i&gt; command to begin my session I am able to access all the information - even crucial and highly sensitive information, from the &lt;i&gt;$_SESSION&lt;/i&gt; array.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Note:&lt;/b&gt; Although you may store highly insensitive information in sessions, be aware that displaying it on your website will mean that crucial information is being sent over the pipes of the Internet. Without using SSL this would be a very insecure method of delivery which would be crying out to be intercepted by Harry the hacker.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Basic Session Security Example&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Assume that our banking system has absolutely no extra security implemented. &lt;i&gt;This is exceedingly unlikely so don't be frightened!&lt;/i&gt;. You have logged in and been issued a cookie containing your session ID, our banking system also erroneously accepts the GET method of delivery though to ensure everybody can use their system. Remember, all Harry the hacker &lt;i&gt;(not Harry the hamster)&lt;/i&gt; needs to assume your role is your session ID. Nothing more, in this example.&lt;br /&gt;&lt;br /&gt;Harry decides to go down the route of session fixation and thus sends you the following crafty link:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         &lt;a href="http://www.myonlinebank.com/index.php?sess_id=5aff2" target="_blank"&gt;http://www.myOnlineBank.com/index.php?sess_id=5aff2&lt;/a&gt;       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;You click on it and login. Harry, already knowing your session ID is&lt;br /&gt;&lt;i&gt;5aff2&lt;/i&gt;, clicks on the link himself and is able to withdraw your entire life savings of 67 pence.&lt;br /&gt;&lt;br /&gt;As sessions do absolutely no extra security checks on your behalf, the system simply thinks it is you because the session ID is correct. It is up to &lt;b&gt;YOU&lt;/b&gt; to implement the extra security to prevent such instances from occurring.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Locks up your Daughters&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Some mean looking guy approaches your door after trampling on all your pretty flowers without a care in the world, loudly knocks on the door and demands to see your daughter. He may well know your daughter's name but who is he? The &lt;i&gt;who is he&lt;/i&gt; part is crucial - it's as crucial as not assuming that because someone has the correct session ID that you should let them in. Until the mean looking guy can answer some of your questions, you're not letting him see your daughter. Oh no, no!&lt;br /&gt;&lt;br /&gt;To give a simple question of what you can ask the end user when it comes to sessions is:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         Are you using the same browser as you were previously?       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;This can stop a fair amount of session security breaches but should not be the only method as mentioned later on. If I login to my online banking account using Mozilla Firefox 2.0.0.6, and Harry, after clicking on the exact same link I did, is using Internet Explorer 7.0 or even Mozilla Firefox 2.0.0.5, then you can safely assume 1 of either 2 things have occurred:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; You have switched your browser half way through and would like to continue your session seamlessly.&lt;/li&gt;&lt;li&gt; Somebody is attempting to hijack your session using your session ID that they have acquired from somewhere&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Which point, 1 or 2, would you rather assume was true? Surely assuming the former and allowing a user to carry on their session seamlessly would be less likely than the latter? Assuming the latter will also save any embarrassing security hiccups. By destroying the user's session and asking them to re-login has to be the better option just in case. Any legitimate user will not mind this slight inconvenience if they know their 67 pence is safe. After all, once the security has been breached, it is difficult to return that level of trust back to its normal levels.&lt;br /&gt;&lt;br /&gt;Nonetheless, the browser name, version, language, etc. are all sent by the end user's browser during the HTTP call. This means that this data may not even be sent at all. It is optional. As long as you know it is optional you can check for if the intended array even exists before using it. This is important because a blank string will &lt;b&gt;always&lt;/b&gt; produce the same MD5 or SHA1 (etcetera...) hash. A null string MD5'd will always be &lt;i&gt;d41d8cd98f00b204e9800998ecf8427e&lt;/i&gt; no matter how many times you use MD5. Whilst SHA1 will be different to the MD5 string, it will still be the same for every single time you hash the null string using SHA1.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Shared Hosts can be Little Buggers&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now that you fully understand the following:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;[Session File]&lt;/b&gt; &lt;span style="font-size:78%;"&gt;(Server)&lt;/span&gt; -&gt; &lt;b&gt;[Cookie File]&lt;/b&gt; &lt;span style="font-size:78%;"&gt;(Client)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You may think your session file, because it is server side, is safe. That simply isn't the case, I'm afraid. A session file can simply be opened by anybody who has access to your file system. For instance, my sessions are stored in the following directory as plain files:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         C:\wamp\www       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;Anybody who has access to that directory can read my session files and read the session IDs from the filenames. This is why shared hosts can be bad. Typically everybody on a shared hosts shares the same temp folder. This is the most common place where session files are stored. As you can see it is a potential downfall to what I've been teaching you in this article &lt;i&gt;(fear not, you haven't just wasted 10 minutes reading a pointless article)&lt;/i&gt;. Sessions, although server side, are not safe from prying eyes.&lt;br /&gt;&lt;br /&gt;Luckily the directory can be moved elsewhere or you can even use a table inside a database to store all your session data. The latter is best saved for another article to keep this 1 short and sweet (ok, short&lt;b&gt;ish&lt;/b&gt; and sweet&lt;b&gt;ish&lt;/b&gt;). The following setting can be changed to alter the destination of our session files:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Quote:&lt;/div&gt;  &lt;table border="0" cellpadding="6" cellspacing="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td class="alt2" style="border: 1px inset ;"&gt;         session.save_path       &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;Remember though that when your website becomes very large and important, storing crucial information. Nothing beats a dedicated host. That means &lt;b&gt;ONLY&lt;/b&gt; the people &lt;b&gt;YOU&lt;/b&gt; want on your server to have access to your session files can see them, read them and even abuse them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-6114786726868528003?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/6114786726868528003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=6114786726868528003' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/6114786726868528003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/6114786726868528003'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/fundamentals-of-php-sessions.html' title='Fundamentals of PHP sessions.'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-444644924085139707</id><published>2008-05-24T02:27:00.000-07:00</published><updated>2008-05-24T02:30:18.908-07:00</updated><title type='text'>Importance of system Architecture</title><content type='html'>&lt;p&gt;  No ethical civil engineer would build a high rise without first having a solid architecture in place. Strangely enough, many organizations undertake morphing their Web sites into Web applications with little thought for architecture. In my experience, the presence (or absence) of a meaningful architecture is an essential predictor to the success (or failure) of a project.&lt;/p&gt;&lt;p&gt; Building upon the work of Mary Shaw and David Garlan, I define architecture as encompassing the set of significant decisions about the organization of a software system, including:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Selection of the structural elements and their interfaces by which a     system is composed&lt;/li&gt;&lt;li&gt;Behavior as specified in collaborations among those elements&lt;/li&gt;&lt;li&gt;Composition of these structural and behavioral elements into larger     subsystems&lt;/li&gt;&lt;li&gt;An architectural style that guides this organization&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; As someone much wiser than I observed, a system's architecture is not finished until there's nothing left to take away. In other words, a system's architecture represents the necessary strategic design decisions sufficient to form that system. A stable architecture is essential to every successful system for two reasons. First, the creation of a stable architecture helps drive the highest risks out of the project. Second, the presence of a stable architecture provides the basis upon which the system may be continuously evolved with minimal scrap and rework.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-444644924085139707?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/444644924085139707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=444644924085139707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/444644924085139707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/444644924085139707'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/importance-of-system-architecture.html' title='Importance of system Architecture'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-6090588746338591295</id><published>2008-05-24T02:24:00.000-07:00</published><updated>2008-05-24T02:26:17.083-07:00</updated><title type='text'>You want to make a website ? very easy...</title><content type='html'>Building a Web site is easy: learn a little HTML, find yourself a server, and you are in business. However, a static site is a dead site, and so every meaningful business will quickly realize the need for a more sophisticated solution. Whereas those simple sites can be built by a single person with minimal modeling, simple tools, and a simple process, creating a complex Web site requires a team using a greater degree of modeling, more sophisticated tools, and a well defined, repeatable process. Unfortunately, it's easy to take a successful Web site and try to morph it into a successful Web application by adding more and more moving parts (Perl is ultimately the duct tape of the software world). Many sites today are essentially high rises that are a combination of many hundreds of dog houses strapped together. However, those simple sites just don't scale to Web applications without some energy applied. As Scott Peterson, of PC Week, once observed, "most of us are running Web sites or networks built of straw or sticks." What worked for a small site doesn't usually scale, and so a large application will often come crashing down around your heads if you don't apply that energy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-6090588746338591295?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/6090588746338591295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=6090588746338591295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/6090588746338591295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/6090588746338591295'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/you-want-to-make-website-very-easy.html' title='You want to make a website ? very easy...'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-4972438228571096997</id><published>2008-05-14T22:03:00.000-07:00</published><updated>2008-05-14T22:10:21.638-07:00</updated><title type='text'>Be smart in Mysql database</title><content type='html'>&lt;h2 class="title"&gt;&lt;span style="font-family: verdana;"&gt;* &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Use Triggers.&lt;/span&gt;&lt;/h2&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;font-size:78%;" &gt;        [version need MySQL 5.0.2]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;A     trigger is a named database object that is associated with a table     and that is activated when a particular event occurs for the table.     For example, the following statements create a table and an     &lt;code class="literal"&gt;INSERT&lt;/code&gt; trigger. The trigger sums the values     inserted into one of the table's columns:&lt;br /&gt;&lt;br /&gt;Create syntax :&lt;br /&gt;&lt;/span&gt;&lt;pre class="programlisting"&gt;&lt;strong class="userinput"&gt;&lt;code&gt;CREATE TRIGGER ins_sum BEFORE INSERT ON account&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;    &lt;strong class="userinput"&gt;&lt;code&gt;FOR EACH ROW SET @sum = @sum + NEW.amount;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Drop syntax :&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;DROP TRIGGER [IF EXISTS] [&lt;/span&gt;&lt;em style="font-weight: bold;" class="replaceable"&gt;&lt;code&gt;schema_name&lt;/code&gt;&lt;/em&gt;&lt;span style="font-weight: bold;"&gt;.]&lt;/span&gt;&lt;em style="font-weight: bold;" class="replaceable"&gt;&lt;code&gt;trigger_name&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/em&gt;&lt;/pre&gt;&lt;h1 class="page_header"&gt;&lt;span style="font-size:100%;"&gt;* Stored Procedure&lt;/span&gt;&lt;/h1&gt;&lt;p&gt;A stored procedure is a procedure (like a subprogram in a regular computing language) that is stored (in the database). Correctly speaking, MySQL supports "routines" and there are two kinds of routines: stored procedures which you call, or functions whose return values you use in other SQL statements the same way that you use pre-installed MySQL functions like pi(). I'll use the word "stored procedures" more frequently than "routines" because it's what we've used in the past, and what people expect us to use.&lt;/p&gt;  &lt;p&gt;A stored procedure has a name, a parameter list, and an SQL statement, which can contain many more SQL statements. There is new syntax for local variables, error handling, loop control, and IF conditions. Here is an example of a statement that creates a stored procedure.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;CREATE PROCEDURE procedure1                /* name */&lt;br /&gt;(IN parameter1 INTEGER)                    /* parameters */&lt;br /&gt;BEGIN                                      /* start of block */&lt;br /&gt; DECLARE variable1 CHAR(10);                /* variables */&lt;br /&gt; IF parameter1 = 17 THEN                    /* start of IF */&lt;br /&gt;   SET variable1 = 'birds';                   /* assignment */&lt;br /&gt; ELSE&lt;br /&gt;   SET variable1 = 'beasts';                  /* assignment */&lt;br /&gt; END IF;                                   /* end of IF */&lt;br /&gt; INSERT INTO table1 VALUES (variable1);    /* statement */&lt;br /&gt;END                                       /* end of block */&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre class="programlisting"&gt;&lt;br /&gt;&lt;strong class="userinput"&gt;&lt;code&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&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/3992717931532519331-4972438228571096997?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/4972438228571096997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=4972438228571096997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/4972438228571096997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/4972438228571096997'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/be-smart-in-mysql-database.html' title='Be smart in Mysql database'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-7429898376755113874</id><published>2008-05-09T04:46:00.000-07:00</published><updated>2008-05-09T05:07:44.833-07:00</updated><title type='text'>PHP Coding includes Hacking - Cracking - Fun</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Do You Know ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. &lt;/span&gt;&lt;span class="tdvamseebig"&gt;&lt;span style="font-weight: bold;"&gt;How can you avoid execution time out error while fetching record from mysql ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ans.&lt;/span&gt;  &lt;/span&gt;&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;set_time_limit(0);If you set to 0 you say that there is not limit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="tdvamseebig"&gt;&lt;span style="font-weight: bold;"&gt;How do you create subdomains using PHP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ans.&lt;/span&gt; Hope this will works.&lt;/span&gt;&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;&lt;p&gt;*Create the appropriate web root directory, for example /home/sites/username/web , and any subdirectories you wish&lt;br /&gt;* Edit httpd.conf -  add a new virtual host section&lt;br /&gt;* Restart httpd &lt;/p&gt;&lt;p&gt;&lt;br /&gt;In a normal Linux server setup, php/Apache does not have the necessary permissions to do all this. &lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-7429898376755113874?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/7429898376755113874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=7429898376755113874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/7429898376755113874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/7429898376755113874'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/php-coding-includes-hacking-cracking.html' title='PHP Coding includes Hacking - Cracking - Fun'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-2607328309898987771</id><published>2008-05-02T04:22:00.000-07:00</published><updated>2008-05-02T04:28:40.732-07:00</updated><title type='text'>Web Applications</title><content type='html'>I have did more then 100 web applications using php-Mysql, and few applications in ASP.net-Mssql server 2005.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-2607328309898987771?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/2607328309898987771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=2607328309898987771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/2607328309898987771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/2607328309898987771'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/web-applications.html' title='Web Applications'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3992717931532519331.post-2993320548715939639</id><published>2008-05-01T22:18:00.000-07:00</published><updated>2011-03-31T21:44:33.772-07:00</updated><title type='text'>About me</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: verdana; font-size: 85%;"&gt;Working as a Senior Analyst programmer.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;i&gt;Facing&amp;nbsp;problems in complex coding.... come to me, this is the right place.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-size: x-small;"&gt;&lt;i&gt;Planning to&amp;nbsp;implement&amp;nbsp;your concepts using various technology ...... This is the write place for you.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: verdana;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Some times i am a freelancer, for Web, Desktop and Embedded Application.&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-size: 85%;"&gt;//GS&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 85%;"&gt;----------------&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: xx-small;"&gt;Call @ +91 9925865877&lt;br /&gt;&lt;br /&gt;email: gsboss007@gmail.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: xx-small;"&gt;Skype @ gsboss007&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 85%;"&gt; ______________&lt;/span&gt;&lt;span style="font-family: verdana; font-size: 85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3992717931532519331-2993320548715939639?l=gscreation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gscreation.blogspot.com/feeds/2993320548715939639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3992717931532519331&amp;postID=2993320548715939639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/2993320548715939639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3992717931532519331/posts/default/2993320548715939639'/><link rel='alternate' type='text/html' href='http://gscreation.blogspot.com/2008/05/about-me.html' title='About me'/><author><name>GS</name><uri>http://www.blogger.com/profile/13040432918810339214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='23' src='http://bp3.blogger.com/_rURIE0LTQiI/SCq5KZCGEuI/AAAAAAAAACQ/4dV1ViJdSIA/S220/gs7.JPG'/></author><thr:total>0</thr:total></entry></feed>
