<?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-6130174389520631537</id><updated>2024-09-25T19:31:56.585-07:00</updated><title type='text'>Bhupendra Kanojiya</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-8989606260764061772</id><published>2017-05-14T01:26:00.001-07:00</published><updated>2017-05-14T01:26:31.375-07:00</updated><title type='text'>How Drupal Cache Works..Varnish, Memcache, Drupal Internal Cache and CDN...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;How to do the performance tuning in your Drupal website ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Yep, everyone wants their site
to be loaded withing some millisecond. No one have to time to wait Correct.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;I was working on Acquia
environment and was really pissed off to understand why there are multilevel of
Cache. So guys first check the below diagram.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEjv21qqQb1Hq9NzCeVVDctlgEutVE2TvYyKCYSC37SkLCOMVH-Sjnh3hqLm1enZWBLeM3tBTlqu4zF4mhOi9lkIv7yFWrD5GgMKv2ybS_4G8k2JKJTg4lcA9xQ2AVcWCFubPmVnbVBMOE8/s1600/Cache_flow.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/AVvXsEjv21qqQb1Hq9NzCeVVDctlgEutVE2TvYyKCYSC37SkLCOMVH-Sjnh3hqLm1enZWBLeM3tBTlqu4zF4mhOi9lkIv7yFWrD5GgMKv2ybS_4G8k2JKJTg4lcA9xQ2AVcWCFubPmVnbVBMOE8/s1600/Cache_flow.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;b&gt;&lt;i&gt;What is CDN &amp;nbsp;and how does it works ?&lt;/i&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;CDN referred the domain name server(DNS) to their server once the end user access the
site. It’s a layer of caching before request reached the actual server. CDN
server located in different regions worldwide.&lt;u1:p&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;a.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Its consuming 60%-70% requests
every day of your site.&lt;u1:p&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;b.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;It can cache the static pages
html, css, javascript files, images, json etc. and dynamic request go to next
level of caching.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 13.5pt;&quot;&gt;When resources on
site are cached on CDN data centers, it allows CDN to send those resources to
our visitors from a location closest to them. This will increase our domain&#39;s
loading speed and save your origin server bandwidth. If no settings are changed
and no headers that prevent caching are sent from the origin server, then CDN
caches all static content with&amp;nbsp;the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;text-decoration-line: none;&quot;&gt;extensions that CDN will cache by default&lt;/span&gt;&lt;/span&gt;.
This includes images, CSS, and JavaScript.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEiGGIZBZaQW19rlZrjKpYLEKxCmc2MHrLgyksaa5K-C_HQvxK8dAODmWR11M_17UTdCBkZRC9AiAwv00-Pv0YU4YaFERTWABXJGamBr12K_yajvrIeZO2q6vTcCANdoDvazZfdeEAKGrYk/s1600/cloudflare.png&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/AVvXsEiGGIZBZaQW19rlZrjKpYLEKxCmc2MHrLgyksaa5K-C_HQvxK8dAODmWR11M_17UTdCBkZRC9AiAwv00-Pv0YU4YaFERTWABXJGamBr12K_yajvrIeZO2q6vTcCANdoDvazZfdeEAKGrYk/s1600/cloudflare.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;r&quot; style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-weight: normal; margin: 0px; overflow: hidden; padding: 0px; text-align: right; text-overflow: ellipsis; white-space: nowrap;&quot;&gt;
&lt;a href=&quot;https://www.cloudflare.com/&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Source&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc482211483&quot;&gt;&lt;/a&gt;&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc482211483&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc482126588&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;Varnish Cache&lt;/span&gt;&lt;/u&gt;&lt;/a&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt; &lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;This cache
stored in load balancer server in Acquia. So when the request come to load
balancer it check the cache if page exist in varnish it return the response.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;Single page
varnish purge is possible to clear through the site UI.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;Varnish
stores data in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Virtual_memory&quot; title=&quot;Virtual memory&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;virtual memory&lt;/span&gt;&lt;/a&gt;&amp;nbsp;and leaves the task of deciding what is stored in
memory and what gets paged out to disk to the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Operating_system&quot; title=&quot;Operating system&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;operating system&lt;/span&gt;&lt;/a&gt;. This helps avoid the situation where the operating system
starts caching data while it is moved to disk by the application&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;Varnish is
heavily&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Thread_(computer_science)&quot; title=&quot;Thread (computer science)&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;threaded&lt;/span&gt;&lt;/a&gt;, with
each client connection being handled by a separate worker thread. When the
configured limit on the number of active worker threads is reached, incoming
connections are placed in an overflow queue; when this queue reaches its
configured limit incoming connections will be rejected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;The principal
configuration mechanism is&amp;nbsp;Varnish Configuration Language&amp;nbsp;(VCL),
a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Domain-specific_language&quot; title=&quot;Domain-specific language&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;domain-specific language&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(DSL) used to write hooks that are called at critical points in
the handling of each request. Most policy decisions are left to VCL code,
making Varnish more configurable and adaptable than most other HTTP
accelerators. When a VCL script is loaded, it is translated to&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/C_(programming_language)&quot; title=&quot;C (programming language)&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;C&lt;/span&gt;&lt;/a&gt;, compiled to a
shared object by the system compiler, and loaded directly into the accelerator
which can thus be reconfigured without a restart.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;A number of
run-time parameters control things such as the maximum and minimum number of
worker threads, various timeouts, etc. A command-line management interface
allows these parameters to be modified, and new VCL scripts to be compiled,
loaded and activated, without restarting the accelerator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;In order to
reduce the number of system calls in the fast path to a minimum, log data is
stored in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;shared memory&lt;/span&gt;, and the task of monitoring, filtering, formatting and
writing log data to disk is delegated to a separate application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc482211484&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc482126589&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;Memchached&lt;/span&gt;&lt;/u&gt;&lt;/a&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Memchached
stored the database queries value in RAM memory so the data comes from cache
instead of db server. Memchached store in memory of application server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Memcached
is a general-purpose memory cache server daemon. It can improve Drupal
application performance by moving Drupal&#39;s standard caches out of the database
and by caching the results of other expensive database operations.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;“memcached
is an in-memory key value store for small chunks of arbitrary data (strings, object)
from result of database calls, API calls, or Page rendering”- Memcached.org &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;A
system to cache data in RAM rather in database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Replaces
Drupal’s default database cache.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white;&quot;&gt;









&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Just
one component of your high performance scalable architecture.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Why use memcached&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Improves
cache read/write performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Reduces
the number of database queries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Reduces
database load.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Can
improve page load performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Allows
distributing the cache load to separate servers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white;&quot;&gt;









&lt;/div&gt;
&lt;div style=&quot;background: white; margin-left: 72.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 13.5pt;&quot;&gt;ü&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Moves
the threshold for performance degradation to a higher number of concurrent
users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/8989606260764061772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/8989606260764061772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/8989606260764061772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/8989606260764061772'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2017/05/how-drupal-cache-worksvarnish-memcache.html' title='How Drupal Cache Works..Varnish, Memcache, Drupal Internal Cache and CDN...'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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/AVvXsEjv21qqQb1Hq9NzCeVVDctlgEutVE2TvYyKCYSC37SkLCOMVH-Sjnh3hqLm1enZWBLeM3tBTlqu4zF4mhOi9lkIv7yFWrD5GgMKv2ybS_4G8k2JKJTg4lcA9xQ2AVcWCFubPmVnbVBMOE8/s72-c/Cache_flow.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-6621871931031307878</id><published>2015-03-05T10:51:00.000-08:00</published><updated>2015-03-07T23:28:42.135-08:00</updated><title type='text'>Install PHPUnit using composer in 3 steps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Note : I am assuming composer already installed in your system, and composer environment variable added(Windows)&lt;br /&gt;
&lt;br /&gt;
1. Create a folder phpunit to install &quot;PHPUnit&quot;&lt;br /&gt;
C://phpunit/&lt;br /&gt;
create a composer.json file in phpunit folder and past below code&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;{
    &quot;&lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box;&quot;&gt;require-dev&lt;/span&gt;&quot;: &lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box;&quot;&gt;{
        &quot;&lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box;&quot;&gt;phpunit/phpunit&lt;/span&gt;&quot;: &lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #880000;&quot;&gt;&quot;4.5.*&quot;&lt;/span&gt;
    &lt;/span&gt;}
&lt;/span&gt;}&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;2. Open command prompt go to your phpunit folder path&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;cd C://phpunit&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;composer install&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;3. Create enviorment variable C:\phpunit\vendor\bin and test in command prompt&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;phpunit -v&lt;/pre&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/AVvXsEgeRwLo3qGdkptnB2Ka6nDAua3NN-mgJ-1btSppgH_IgFQfKSIwECrBTlr5Lh-eUtZ-PrSmXCeZYG0JfT5_gcv0xAyq_JWLuGAOdaz7ApfAzkLn3fECzP3fJ4kXsahzdo1Cqw2lVLYn_jw/s1600/phpunit.PNG&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/AVvXsEgeRwLo3qGdkptnB2Ka6nDAua3NN-mgJ-1btSppgH_IgFQfKSIwECrBTlr5Lh-eUtZ-PrSmXCeZYG0JfT5_gcv0xAyq_JWLuGAOdaz7ApfAzkLn3fECzP3fJ4kXsahzdo1Cqw2lVLYn_jw/s1600/phpunit.PNG&quot; height=&quot;204&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting hljs json&quot; style=&quot;background: rgb(240, 240, 240); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: &#39;Source Code Pro&#39;, sans-serif; font-size: 16px; line-height: 1.42857143; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/6621871931031307878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/6621871931031307878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/6621871931031307878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/6621871931031307878'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2015/03/install-phpunit-using-composer-in-3-step.html' title='Install PHPUnit using composer in 3 steps'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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/AVvXsEgeRwLo3qGdkptnB2Ka6nDAua3NN-mgJ-1btSppgH_IgFQfKSIwECrBTlr5Lh-eUtZ-PrSmXCeZYG0JfT5_gcv0xAyq_JWLuGAOdaz7ApfAzkLn3fECzP3fJ4kXsahzdo1Cqw2lVLYn_jw/s72-c/phpunit.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-5145410438987532016</id><published>2013-06-15T21:32:00.000-07:00</published><updated>2013-06-15T21:32:00.638-07:00</updated><title type='text'>BAKE CAKEPHP WINDOWS XAMPP STEP BY STEP</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;/div&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/AVvXsEh4fzoy3exHI8wNvoMGOFSxcT6RTf_-8V8guDevifynECB9R_-f7pUSnkzsLwrCHte6g8ty9KDL0jSXv2IwwAjvrUxWjnvGdpJuDP3cxmJbXf9Ev-zhPxWC24GuPBJLqEu_0k-pDsVJliw/s1600/bake_cake_xampp.PNG&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/AVvXsEh4fzoy3exHI8wNvoMGOFSxcT6RTf_-8V8guDevifynECB9R_-f7pUSnkzsLwrCHte6g8ty9KDL0jSXv2IwwAjvrUxWjnvGdpJuDP3cxmJbXf9Ev-zhPxWC24GuPBJLqEu_0k-pDsVJliw/s1600/bake_cake_xampp.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
1. Open the command prompt and move to the directory where you installed XAMPP. Usually people installed in C drive. I installed in E drive so write C: in stead of E:&lt;br /&gt;
&lt;br /&gt;
Step by step Bake cakephp windows XAMPP. &lt;br /&gt;
&lt;br /&gt;
2. C:\cd xampp&lt;br /&gt;
&lt;br /&gt;
3. C:\xampp&amp;gt;cd php&lt;br /&gt;
&lt;br /&gt;
4. C:\xampp/php&amp;gt;php.exe C:/xampp/htdocs/projectfolder/lib/cake/console/cake.php bake&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Happy Baking...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/5145410438987532016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/5145410438987532016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/5145410438987532016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/5145410438987532016'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/06/bake-cakephp-windows-xampp-step-by-step.html' title='BAKE CAKEPHP WINDOWS XAMPP STEP BY STEP'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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/AVvXsEh4fzoy3exHI8wNvoMGOFSxcT6RTf_-8V8guDevifynECB9R_-f7pUSnkzsLwrCHte6g8ty9KDL0jSXv2IwwAjvrUxWjnvGdpJuDP3cxmJbXf9Ev-zhPxWC24GuPBJLqEu_0k-pDsVJliw/s72-c/bake_cake_xampp.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-4029977896136955053</id><published>2013-05-16T03:13:00.000-07:00</published><updated>2013-06-15T21:40:00.020-07:00</updated><title type='text'>Bake CAKEPHP Linux in 4 lines</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
BAKE CAKEPHP LINUX&lt;br /&gt;
&lt;br /&gt;
1.You have to connect the server through terminal. example: ssh FTP Username@Host (ssh xyz@192.168.1.1)&lt;br /&gt;
&lt;br /&gt;
2. Please give your FTP password&lt;br /&gt;
&lt;br /&gt;
3. Please provide the PHP path and cakePHP console path.&lt;br /&gt;
&lt;br /&gt;
exp: /usr/bin/php lib/cake/console/cake.php bake all&lt;br /&gt;
/usr/bin/php -&amp;gt; The server PHP path&lt;br /&gt;
cake/console/cake.php -&amp;gt; The cakePHP console path&lt;br /&gt;
&lt;br /&gt;
4. You will get the message&lt;br /&gt;
Welcome to CakePHP v2.3.0.0 Console&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------&lt;br /&gt;
App : app&lt;br /&gt;
Path: /var/www/html/project/app&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
Interactive Bake Shell&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
[D]atabase Configuration&lt;br /&gt;
[M]odel&lt;br /&gt;
[V]iew&lt;br /&gt;
[C]ontroller&lt;br /&gt;
[P]roject&lt;br /&gt;
[F]ixture&lt;br /&gt;
[Q]uit&lt;br /&gt;
What would you like to Bake? (D/M/V/C/P/Q)&lt;br /&gt;
&amp;gt;&lt;br /&gt;
Here you will find the complete instruction how to Bake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/4029977896136955053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/4029977896136955053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4029977896136955053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4029977896136955053'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/05/bake-cakephp-23-linux-in-4-lines.html' title='Bake CAKEPHP Linux in 4 lines'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-9122416050733484235</id><published>2013-04-17T05:10:00.001-07:00</published><updated>2013-04-17T05:10:56.202-07:00</updated><title type='text'>Select Date Range From Jquery Date-Picker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;lt;input type=&quot;text&quot; name=&quot;txtdate_0&quot; id=&quot;dp1310711996720&quot; autocomplete=&quot;off&quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$(function(){&lt;br /&gt;
var cur = -1, prv = -1;&lt;br /&gt;
$( &quot;#dp1310711996720&quot; ).datepicker({&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;close:false,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;changeMonth: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; changeYear: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; showButtonPanel: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; beforeShowDay: function ( date ) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return [true, ( (date.getTime() &amp;gt;= Math.min(prv, cur) &amp;amp;&amp;amp; date.getTime() &amp;lt;= Math.max(prv, cur)) ? &#39;date-range-selected&#39; : &#39;&#39;)];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;onSelect: function ( dateText, inst ) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var d1, d2;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prv = cur;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cur = (new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay)).getTime();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( prv == -1 || prv == cur ) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;prv = cur;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(&#39;#dp1310711996720&#39;).val( dateText );&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;this._updateDatepicker(inst);&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;$(&quot;#dp1310711996720&quot;).datepicker( &quot;show&quot; );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d1 = $.datepicker.formatDate( &#39;mm/dd/yy&#39;, new Date(Math.min(prv,cur)), {} );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d2 = $.datepicker.formatDate( &#39;mm/dd/yy&#39;, new Date(Math.max(prv,cur)), {} );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(&#39;#dp1310711996720&#39;).val( d1+&#39; - &#39;+d2 );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;br /&gt;
&amp;nbsp;onClose: function(date,b){&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var dat=$(&quot;#dp1310711996720&quot;).val();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if(dat.length==&#39;10&#39;){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*alert(&quot;here&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return false;*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$(&quot;#dp1310711996720&quot;).datepicker(&quot;refresh&quot;).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;});&lt;br /&gt;
});&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/9122416050733484235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/9122416050733484235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/9122416050733484235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/9122416050733484235'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/04/time-range-jquery-date-picker.html' title='Select Date Range From Jquery Date-Picker'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-2925517922285942657</id><published>2013-03-11T22:52:00.000-07:00</published><updated>2013-03-11T22:52:08.136-07:00</updated><title type='text'>Get latitude and longitude from zip code google api</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Use this api for getting latitude and longitude from zip code&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://maps.googleapis.com/maps/api/geocode/json?address=482002&amp;amp;sensor=false&quot;&gt;http://maps.googleapis.com/maps/api/geocode/json?address=zipcode&amp;amp;sensor=false&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Example&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://maps.googleapis.com/maps/api/geocode/json?address=482002&amp;amp;sensor=false&quot;&gt;http://maps.googleapis.com/maps/api/geocode/json?address=482002&amp;amp;sensor=false&lt;/a&gt;&amp;nbsp; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/2925517922285942657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/2925517922285942657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2925517922285942657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2925517922285942657'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/03/get-latitude-and-longitude-from-zip.html' title='Get latitude and longitude from zip code google api'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-3210784950734229213</id><published>2013-03-01T04:54:00.004-08:00</published><updated>2013-03-01T04:54:39.157-08:00</updated><title type='text'>SIMPLE PIE CHART</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;// create image&lt;br /&gt;$image = imagecreatetruecolor(300, 300);&lt;br /&gt;&lt;br /&gt;$bg = imagecolorallocate ( $image, 255, 255, 255 );&lt;br /&gt;imagefill ( $image, 0, 0, $bg );&lt;br /&gt;&lt;br /&gt;// allocate some colors&lt;br /&gt;$white&amp;nbsp;&amp;nbsp;&amp;nbsp; = imagecolorallocate($image, 0xFF, 0xFF, 0xFF);&lt;br /&gt;$gray&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = imagecolorallocate($image, 0xC0, 0xC0, 0xC0);&lt;br /&gt;$darkgray = imagecolorallocate($image, 0x90, 0x90, 0x90);&lt;br /&gt;$navy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = imagecolorallocate($image, 0x00, 0x00, 0x80);&lt;br /&gt;$darknavy = imagecolorallocate($image, 0x00, 0x00, 0x50);&lt;br /&gt;$red&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = imagecolorallocate($image, 0xFF, 0x00, 0x00);&lt;br /&gt;$green&amp;nbsp; = imagecolorallocate($image, 116, 232, 70);&lt;br /&gt;&lt;br /&gt;$darkgreen&amp;nbsp; = imagecolorallocate($image, 19, 94, 6);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// make the 3D effect&lt;br /&gt;for ($i = 160; $i &amp;gt; 150; $i--) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; imagefilledarc($image, 150, $i, 250, 200, 0, 90, $darknavy, IMG_ARC_PIE);&lt;br /&gt;&amp;nbsp;&amp;nbsp; imagefilledarc($image, 150, $i, 250, 200, 45, 120 , $darkgray, IMG_ARC_PIE);&lt;br /&gt;&amp;nbsp; imagefilledarc($image, 150, $i, 250, 200, 120, 240 , $darkgreen, IMG_ARC_PIE);&lt;br /&gt;&amp;nbsp;&amp;nbsp; imagefilledarc($image, 150, $i, 250, 200, 240, 360 , $darkred, IMG_ARC_PIE);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;imagefilledarc($image, 150, 150, 250, 200, 0, 90, $navy, IMG_ARC_PIE);&lt;br /&gt;imagefilledarc($image, 150, 150, 250, 200, 45, 120 , $white, IMG_ARC_PIE);&lt;br /&gt;imagefilledarc($image, 150, 150, 250, 200, 120, 240 , $green, IMG_ARC_PIE);&lt;br /&gt;imagefilledarc($image, 150, 150, 250, 200, 240, 360 , $red, IMG_ARC_PIE);&lt;br /&gt;// Create a new image instance&lt;br /&gt;// $im = imagecreatetruecolor(50, 20);&lt;br /&gt;// $black = imagecolorallocate($im, 0, 0, 0);&lt;br /&gt;// $white = imagecolorallocate($im, 255, 255, 255);&lt;br /&gt;&lt;br /&gt;// // Make the background white&lt;br /&gt;// imagefilledrectangle($im, 0, 0, 49, 19, $white);&lt;br /&gt;&lt;br /&gt;// Load the gd font and write &#39;Hello&#39;&lt;br /&gt;$font = imageloadfont(&#39;./04b.gdf&#39;);&lt;br /&gt;imagestring($image, $font, 150, 120, &#39;Hello again&#39;, $green);&lt;br /&gt;imagestring($image, $font, 150, 180, &#39;Hello&#39;, $green);&lt;br /&gt;&lt;br /&gt;// Output to browser&lt;br /&gt;// header(&#39;Content-type: image/png&#39;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// flush image&lt;br /&gt;header(&#39;Content-type: image/png&#39;);&lt;br /&gt;imagepng($image);&lt;br /&gt;imagedestroy($image);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function hex2rgb($hex) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; $hex = str_replace(&quot;#&quot;, &quot;&quot;, $hex);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if(strlen($hex) == 3) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $r = hexdec(substr($hex,0,1).substr($hex,0,1));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $g = hexdec(substr($hex,1,1).substr($hex,1,1));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $b = hexdec(substr($hex,2,1).substr($hex,2,1));&lt;br /&gt;&amp;nbsp;&amp;nbsp; } else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $r = hexdec(substr($hex,0,2));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $g = hexdec(substr($hex,2,2));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $b = hexdec(substr($hex,4,2));&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; $rgb = array($r, $g, $b);&lt;br /&gt;&amp;nbsp;&amp;nbsp; //return implode(&quot;,&quot;, $rgb); // returns the rgb values separated by commas&lt;br /&gt;&amp;nbsp;&amp;nbsp; return $rgb; // returns an array with the rgb values&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
BKLibrary will release soon for pie chart....&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/3210784950734229213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/3210784950734229213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/3210784950734229213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/3210784950734229213'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/03/simple-pie-chart.html' title='SIMPLE PIE CHART'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-6524839074688478422</id><published>2013-02-27T23:39:00.001-08:00</published><updated>2013-02-27T23:39:30.970-08:00</updated><title type='text'>Split a huge file in parts : PHP SCRIPT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&amp;nbsp;I had&amp;nbsp; a file of more than 200mb which were unable to process even I was getting the problem while opening that. Below function will change you file to different parts. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;error_reporting(E_ALL);&lt;br /&gt;&lt;br /&gt;split_file(&#39;/images.txt&#39;);&lt;br /&gt;echo $filePath;&lt;br /&gt;exit;&lt;br /&gt;/**&lt;br /&gt;&amp;nbsp;*&lt;br /&gt;&amp;nbsp;* Split large files into smaller ones&lt;br /&gt;&amp;nbsp;* @param string $source Source file&lt;br /&gt;&amp;nbsp;* @param string $targetpath Target directory for saving files&lt;br /&gt;&amp;nbsp;* @param int $lines Number of lines to split&lt;br /&gt;&amp;nbsp;* @return void&lt;br /&gt;&amp;nbsp;*/&lt;br /&gt;function split_file($source, $targetpath=&#39;/split/&#39;, $lines=1000){&lt;br /&gt;// echo $source.&quot;/&quot;.$targetpath;&lt;br /&gt;// exit;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $i=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $j=1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $date = date(&quot;m-d-y&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $buffer=&#39;&#39;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $handle = fopen ($_SERVER[&#39;DOCUMENT_ROOT&#39;].$source, &quot;r&quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!feof ($handle)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $buffer .= fgets($handle, 4096);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $i++;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($i &amp;gt;= $lines) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $fname = $_SERVER[&#39;DOCUMENT_ROOT&#39;].$targetpath.&quot;part_&quot;.$date.$j.&quot;.txt&quot;;&lt;br /&gt;&lt;br /&gt;$fhandle = fopen($fname, &quot;w&quot;) or die($php_errormsg);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!$fhandle) {&lt;br /&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;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;Cannot open file ($fname)&quot;;&lt;br /&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;nbsp;&amp;nbsp;&amp;nbsp; //exit;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;// &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; chmod($fname,2); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!fwrite($fhandle, $buffer)) {&lt;br /&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;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;Cannot write to file ($fname)&quot;;&lt;br /&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;nbsp;&amp;nbsp;&amp;nbsp; //exit;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclose($fhandle);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $j++;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $buffer=&#39;&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $i=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $line+=10; // add 10 to $lines after each iteration. Modify this line as required&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclose ($handle);&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/6524839074688478422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/6524839074688478422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/6524839074688478422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/6524839074688478422'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/02/split-huge-file-in-parts-php-script.html' title='Split a huge file in parts : PHP SCRIPT'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-4258998427631134863</id><published>2013-02-06T22:06:00.000-08:00</published><updated>2013-02-28T02:15:40.852-08:00</updated><title type='text'> Import CSV file PHP EXAMPLE</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;br /&gt;
&lt;br /&gt;
&amp;nbsp;To import an Excel file through PHP, first export it as a CSV file. 
Remove the CSV headers from the generated CSV file along with empty data
 that Excel may have put at the end of the CSV file.&amp;nbsp; This php script will ignore the first row of CSV.&lt;br /&gt;
&lt;br /&gt;
/*PHP CODE in post section*/ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: white;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;echo $_FILES[&#39;import&#39;][&#39;tmp_name&#39;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $filename=mktime().&#39;_&#39;.$_FILES[&#39;import&#39;][&#39;name&#39;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $path=&#39;common/csv/&#39;.$filename;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(move_uploaded_file($_FILES[&#39;import&#39;][&#39;tmp_name&#39;],$path))&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(mysql_query(&quot;load data local infile &#39;&quot;.$path.&quot;&#39; INTO TABLE tbl_customer FIELDS TERMINATED BY &#39;,&#39; enclosed by &#39;\&quot;&#39; LINES TERMINATED BY &#39;\n&#39; IGNORE 1 LINES (`location`, `maildropdate`,`contact_number`,`first_name`,`mname`,`lastname`,`suffix`,`address`,`city`,`state`,`zip`)&quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;imported successfully&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;echo &quot;&amp;lt;br&amp;gt;&quot;.&quot;Uploaded Successfully&quot;.$path;&lt;br /&gt;}&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/4258998427631134863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/4258998427631134863' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4258998427631134863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4258998427631134863'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2013/02/import-csv-file-php-example.html' title=' Import CSV file PHP EXAMPLE'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-4813199081730631670</id><published>2012-12-12T02:25:00.000-08:00</published><updated>2012-12-13T23:22:20.829-08:00</updated><title type='text'>Clear cache of Ajax in IE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
$.ajaxSetup({ cache: false });&lt;br /&gt;
&lt;br /&gt;
Today while working in a simple ajax functionality feel too much frustration when the script was working fine on all browser except IE. I tried many times, then I remove the cache and got the output on IE.&lt;br /&gt;
&lt;br /&gt;
I try to remove browser cache using below meta&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;lt;meta http-equiv=&#39;cache-control&#39; content=&#39;no-cache&#39;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;meta http-equiv=&#39;expires&#39; content=&quot;-1&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;meta http-equiv=&#39;pragma&#39; content=&#39;no-cache&#39;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;
 
 

but didn&#39;t get success. Because I was using the ajax and got the solution in 1 line after spent 2 hours. So never forget if ajax not giving the updated result use

&lt;b&gt;$.ajaxSetup({ cache: false });&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/4813199081730631670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/4813199081730631670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4813199081730631670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/4813199081730631670'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2012/12/clear-cache-of-ajax-in-ie.html' title='Clear cache of Ajax in IE'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-1956709190732430246</id><published>2012-10-19T02:32:00.000-07:00</published><updated>2012-10-19T02:38:06.136-07:00</updated><title type='text'>Simple class to remove mobile number and email PHP </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;background-color:#FFF1EA;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
class removeEmailMob&lt;br /&gt;
{&lt;br /&gt;
function parseTextForEmail($text) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $email = array();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $invalid_email = array();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $text = ereg_replace(&quot;[^A-Za-z._0-9@ ]&quot;,&quot; &quot;,$text);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $token = trim(strtok($text, &quot; &quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while($token !== &quot;&quot;) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(strpos($token, &quot;@&quot;) !== false) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $token = ereg_replace(&quot;[^A-Za-z._0-9@]&quot;,&quot;&quot;, $token);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //checking to see if this is a valid email address&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($this-&amp;gt;is_valid_email($email) !== true) {&lt;br /&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; $email[] = strtolower($token);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br /&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; $invalid_email[] = strtolower($token);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $token = trim(strtok(&quot; &quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $email = array_unique($email);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $invalid_email = array_unique($invalid_email);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return $email;&lt;br /&gt;
// &amp;nbsp;&amp;nbsp;&amp;nbsp; return array(&quot;valid_email&quot;=&amp;gt;$email, &quot;invalid_email&quot; =&amp;gt; $invalid_email);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function is_valid_email($email) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (eregi(&quot;^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.([a-z]){2,4})$&quot;,$email)) return true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else return false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//$str = &#39;In My Cart : 11 12 items&#39;;&lt;br /&gt;
&lt;br /&gt;
function removeEmail($text)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
$emails=$this-&amp;gt;parseTextForEmail($text);&lt;br /&gt;
&lt;br /&gt;
/*Remove email*/&lt;br /&gt;
&lt;br /&gt;
if(!empty($emails))&lt;br /&gt;
{&lt;br /&gt;
$string=str_replace(array_values($emails),&quot;xxx@xxx.com&quot;,$text);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
preg_match_all(&#39;!\d+!&#39;, $string, $matches);&lt;br /&gt;
&lt;br /&gt;
/*Remove Mob Numbers*/&lt;br /&gt;
foreach($matches[&#39;0&#39;] as $mobNum)&lt;br /&gt;
{&lt;br /&gt;
$numbers=strlen($mobNum);&lt;br /&gt;
if($numbers &amp;gt;= 10 &amp;amp;&amp;amp; $numbers &amp;lt;=12 )&lt;br /&gt;
{&lt;br /&gt;
// echo &quot;its a mobile number&amp;lt;br&amp;gt;&quot;.$mobNum;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $string=str_replace($mobNum,&quot;XXXXXXXXXX&quot;,$string);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return $string;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
ini_set( &quot;display_errors&quot;, 0);&lt;br /&gt;
&lt;br /&gt;
$obj=new removeEmailMob;&lt;br /&gt;
echo $obj-&amp;gt;removeEmail(&#39; email@domain.com aaj 9827575817 testing 
content should write here bhupendrakanojiya@gmail.com 9425412535 123 
ravik@gmail.in&#39;);&lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Output&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
xxx@xxx.com aaj XXXXXXXXXX testing content should write here xxx@xxx.com XXXXXXXXXX 123 xxx@xxx.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/1956709190732430246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/1956709190732430246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/1956709190732430246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/1956709190732430246'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2012/10/simple-class-to-remove-mobile-number.html' title='Simple class to remove mobile number and email PHP '/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-2016033983139483681</id><published>2012-08-29T16:34:00.002-07:00</published><updated>2012-08-29T16:34:14.956-07:00</updated><title type='text'>li tag without bullets</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hide bullets of li&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ul li&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;list-style:none;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/2016033983139483681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/2016033983139483681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2016033983139483681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2016033983139483681'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2012/08/li-tag-without-bullets.html' title='li tag without bullets'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6130174389520631537.post-2683502222118744280</id><published>2012-08-02T13:22:00.002-07:00</published><updated>2012-08-02T13:22:27.499-07:00</updated><title type='text'>Resolve-Google Maps API SSL SEcuirty Alert message in IE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Getting SECURITY ALERT on IE 9 while displaying Google map&lt;br /&gt;
&lt;br /&gt;
use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script src=&quot;https://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;hl=en&amp;amp;tab=wl&amp;amp;z=6&amp;amp;sensor=true&amp;amp;key=&amp;lt;?php echo $key;?&amp;gt;&lt;br /&gt;
&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;instead of&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 21px;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-html&quot; style=&quot;background-color: #fafafa; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: #007000; font-family: inherit; font-size: 13px; font-style: inherit; font: normal normal normal 1em/normal &#39;Droid Sans Mono&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 10px; padding-right: 10px; padding-top: 6px; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;b&gt;&lt;span class=&quot;tag&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000088; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #660066; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666600; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;https://maps.googleapis.com/maps/api/js?key=&lt;/span&gt;&lt;var&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;YOUR_API_KEY&lt;/span&gt;&lt;/var&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;amp;sensor=&lt;/span&gt;&lt;var&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;SET_TO_TRUE_OR_FALSE&lt;/span&gt;&lt;/var&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #660066; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666600; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #008800; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000088; font-family: inherit; font-size: 13px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bhupendra-kanojiya.blogspot.com/feeds/2683502222118744280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6130174389520631537/2683502222118744280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2683502222118744280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6130174389520631537/posts/default/2683502222118744280'/><link rel='alternate' type='text/html' href='http://bhupendra-kanojiya.blogspot.com/2012/08/resolve-google-maps-api-ssl-secuirty.html' title='Resolve-Google Maps API SSL SEcuirty Alert message in IE'/><author><name>Bhupendra Kanojiya</name><uri>http://www.blogger.com/profile/01057922880339709405</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><thr:total>0</thr:total></entry></feed>