<?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-7093961263244590535</id><updated>2024-09-20T20:15:44.582-07:00</updated><title type='text'>PHP Queries</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7093961263244590535.post-5028871454562140061</id><published>2012-08-23T09:41:00.000-07:00</published><updated>2012-08-23T09:41:35.178-07:00</updated><title type='text'>PHP exe Calling</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Steps to Call exe file through php application:&lt;br /&gt;
&lt;br /&gt;
Step 1: exec(&quot;path&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; eg: exec(&quot;c:/windows/system32/calc.exe&quot;);&lt;br /&gt;
&lt;br /&gt;
Step 2: Goto Start Run -- services.msc&lt;br /&gt;
&lt;br /&gt;
Step 3: If you are running Wamp server -- search &quot;wamppapache server&quot; on services.msc popup window.&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; then right click and select properties -- goto &quot;log on&quot; Tab.&lt;br /&gt;
&lt;br /&gt;
Step 4: Check them allow services to interact with desktop then apply them.&lt;br /&gt;
&lt;br /&gt;
Step 5: If all these steps are completed, then goto wamp server control panel and restart the services.&lt;br /&gt;
&lt;br /&gt;
Step 6: Finally all the steps are done, run the script.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/5028871454562140061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-exe-calling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/5028871454562140061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/5028871454562140061'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-exe-calling.html' title='PHP exe Calling'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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-7093961263244590535.post-230537493504308628</id><published>2012-08-13T09:28:00.000-07:00</published><updated>2012-08-13T09:28:01.943-07:00</updated><title type='text'>PHP Language Detection </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3&gt;
The PHP Code&lt;/h3&gt;
This code simply detects what language header is set (if there is 
one) and redirects the user to the relevant subdomain. English speaking 
users get re-directed to en.mysite.com etc. In the variable $site we’re 
building an array of all the languages and subdomains supported. This 
means that down the line if you want to add more support for different 
languages for instance German ‘de’ you could just append a value and key
 to the $sites array.&lt;br /&gt;

the $lang variable takes our PHP superglobal ‘HTTP_ACCEPT_LANGUAGE’ 
and you’ll notice that this is wrapped in the PHP function substr(); 
which takes 3 parameters. The string, which in our case is 
$_SERVER[&#39;HTTP_ACCEPT_LANGUAGE&#39;]; we then specify the start and the 
length values. So as we want to return and match just the first two 
characters of the string we specify 0,2.&lt;br /&gt;

The next section of code is an if statement that basically says if 
the language code doesn’t exist in the array then we either don’t 
support that language or a language code wasn’t set so it defaults to 
‘en’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;plain&quot;&gt;&amp;lt;?php&amp;nbsp; &lt;/code&gt;&lt;code class=&quot;comments&quot;&gt;// List of available localised versions as &#39;lang code&#39; =--&amp;gt; &#39;url&#39; map&lt;/code&gt;&lt;br /&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;variable&quot;&gt;$sites&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;keyword&quot;&gt;array&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;(&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;spaces&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;en&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;=&amp;gt; &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;http://en.mysite.com/&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;,&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;spaces&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;es&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;=&amp;gt; &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;http://es.mysite.com/&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;,&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;spaces&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;fr&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;=&amp;gt; &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;http://fr.mysite.com/&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;,&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;plain&quot;&gt;);&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;comments&quot;&gt;// Get 2 char lang code&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;variable&quot;&gt;$lang&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;functions&quot;&gt;substr&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$_SERVER&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;[&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&#39;HTTP_ACCEPT_LANGUAGE&#39;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;], 0, 2);&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;comments&quot;&gt;// Set default language if a &#39;$lang&#39; version of site is not available&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;if&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;(!in_array(&lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$lang&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;functions&quot;&gt;array_keys&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$sites&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;))){&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;spaces&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$lang&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;= &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&#39;en&#39;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;plain&quot;&gt;}&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;comments&quot;&gt;// Finally redirect to desired location&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;code class=&quot;plain&quot;&gt;header(&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&#39;Location: &#39;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;. &lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$sites&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;[&lt;/code&gt;&lt;code class=&quot;variable&quot;&gt;$lang&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;]);&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;code class=&quot;plain&quot;&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/230537493504308628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-language-detection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/230537493504308628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/230537493504308628'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-language-detection.html' title='PHP Language Detection '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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-7093961263244590535.post-1056040027259834235</id><published>2012-08-13T09:02:00.001-07:00</published><updated>2012-08-13T09:02:35.714-07:00</updated><title type='text'></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;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span&gt;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;How To Install Cake php :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;1. Download the Cake Zip file from http://cakephp.org&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;2. Extract the Zip folder and put it into Xampp/htdocs folder&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;3. Run the file , then pages should like this&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br style=&quot;font-family: Arial,Helvetica,sans-serif;&quot; /&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijSP7OHubxA9RvPOIAm1Fz0_TdOS-pcNKLCHdKqwwDL4YqRSJYqhcRvrQdlYWaqt5v3DOnj-uNDgQWEcVXiKiHQzhQCYTJ3z_dooE1tcNwSl8Gad2bgE_vW3CbwVwfIoQJNF5RXnoC5IRt/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijSP7OHubxA9RvPOIAm1Fz0_TdOS-pcNKLCHdKqwwDL4YqRSJYqhcRvrQdlYWaqt5v3DOnj-uNDgQWEcVXiKiHQzhQCYTJ3z_dooE1tcNwSl8Gad2bgE_vW3CbwVwfIoQJNF5RXnoC5IRt/s400/1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;

&lt;/h3&gt;
&lt;h3 class=&quot;MsoListParagraph&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;.&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;After
change run this page then page should like this&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;MsoListParagraph&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizxZckUPQEwEFM4C2W_08S8FhX_9FpvbOhTgU-lanxS59Vy72ECZ335v3OYVEfZSer2Km_uKHDEzxfrTGiJ8G0NJSPOkAojKR3X3o0Zv5Iiq4EghUKnSteTfgMJZOXHjSwukVkUw4RK4Hl/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizxZckUPQEwEFM4C2W_08S8FhX_9FpvbOhTgU-lanxS59Vy72ECZ335v3OYVEfZSer2Km_uKHDEzxfrTGiJ8G0NJSPOkAojKR3X3o0Zv5Iiq4EghUKnSteTfgMJZOXHjSwukVkUw4RK4Hl/s400/2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5.&amp;nbsp;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;Now
page should like this&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;

&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu4f0uxGkNndbmoBAMHa9CXqZ5yi-XiqJlpY4AvRgzS3DuB5F6H2bZtTrngxbbZmsM0m7pALrj87DxSxvtlRUhv3Phyphenhyphen1D2O74lBm5l50KFiNv7Ou8IxiBnje7A-utI8hY2jMZBNVOSQYOC/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu4f0uxGkNndbmoBAMHa9CXqZ5yi-XiqJlpY4AvRgzS3DuB5F6H2bZtTrngxbbZmsM0m7pALrj87DxSxvtlRUhv3Phyphenhyphen1D2O74lBm5l50KFiNv7Ou8IxiBnje7A-utI8hY2jMZBNVOSQYOC/s400/3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-bidi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt; 6. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 8.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnJ4gre_8rnhO4QPJpquTIpdRS4nuBdJ-hWNIZdY-gNKsWM7vmGkOEsX2K9obby49_y_P9iXF2n5DOPj7vqhUOTm2PGKVzt4zCE9FywJWIj0tRRoqPYTmUKsu20XwQJ75lUD5lD1sYnWMh/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnJ4gre_8rnhO4QPJpquTIpdRS4nuBdJ-hWNIZdY-gNKsWM7vmGkOEsX2K9obby49_y_P9iXF2n5DOPj7vqhUOTm2PGKVzt4zCE9FywJWIj0tRRoqPYTmUKsu20XwQJ75lUD5lD1sYnWMh/s400/4.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;7. &lt;/span&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;Now open app\config\database.php for will give
database detail&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;8.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtXBvyVCRz6yJZ4wUpEv9OjQPctRzn4-0L_fBeV1h6nHYumzpIQKJJISs3CqC7iTJrlhuC8LN8QZmH828TxnOoBWksgYcXX-GDrbk_ACDpo-BOO1RMUgopgstt_uiYMMMcRzr74K5SQAjP/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtXBvyVCRz6yJZ4wUpEv9OjQPctRzn4-0L_fBeV1h6nHYumzpIQKJJISs3CqC7iTJrlhuC8LN8QZmH828TxnOoBWksgYcXX-GDrbk_ACDpo-BOO1RMUgopgstt_uiYMMMcRzr74K5SQAjP/s400/5.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 8pt; line-height: 115%;&quot;&gt;&amp;nbsp;9.&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnJ4gre_8rnhO4QPJpquTIpdRS4nuBdJ-hWNIZdY-gNKsWM7vmGkOEsX2K9obby49_y_P9iXF2n5DOPj7vqhUOTm2PGKVzt4zCE9FywJWIj0tRRoqPYTmUKsu20XwQJ75lUD5lD1sYnWMh/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnJ4gre_8rnhO4QPJpquTIpdRS4nuBdJ-hWNIZdY-gNKsWM7vmGkOEsX2K9obby49_y_P9iXF2n5DOPj7vqhUOTm2PGKVzt4zCE9FywJWIj0tRRoqPYTmUKsu20XwQJ75lUD5lD1sYnWMh/s400/4.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;&amp;nbsp;10.&lt;/b&gt;&lt;/h3&gt;
&lt;h3 class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8mNdDn42ncCpZonmcTkzmY6lbL0jcFOLE9oR_9c-7zsFKFEaZfyZVd65KZhuD_BbInLjkzHezTvfaEJPzScYNOtO2vu0nHbhhrnyurG3Y5O2HGgUg3nV4DEYDcoqvsbzNdWnquR4VjdSB/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8mNdDn42ncCpZonmcTkzmY6lbL0jcFOLE9oR_9c-7zsFKFEaZfyZVd65KZhuD_BbInLjkzHezTvfaEJPzScYNOtO2vu0nHbhhrnyurG3Y5O2HGgUg3nV4DEYDcoqvsbzNdWnquR4VjdSB/s400/7.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/1056040027259834235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phpquries.blogspot.com/2012/08/how-to-install-cake-php-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/1056040027259834235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/1056040027259834235'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/2012/08/how-to-install-cake-php-1.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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/AVvXsEijSP7OHubxA9RvPOIAm1Fz0_TdOS-pcNKLCHdKqwwDL4YqRSJYqhcRvrQdlYWaqt5v3DOnj-uNDgQWEcVXiKiHQzhQCYTJ3z_dooE1tcNwSl8Gad2bgE_vW3CbwVwfIoQJNF5RXnoC5IRt/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7093961263244590535.post-2619660202321352958</id><published>2012-08-13T08:19:00.002-07:00</published><updated>2012-08-13T08:19:49.367-07:00</updated><title type='text'>PHP - Decrypt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Decrypt in Php - sample script&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
function hex2bin($val)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; $len = strlen($val);&lt;br /&gt;&amp;nbsp; return pack(&quot;H&quot; . $len, $val);&lt;br /&gt;}&lt;br /&gt;
&lt;br /&gt;
$key = &quot;keyvalue&quot;;&lt;br /&gt;
$iv = &quot;testvalue&quot;;&lt;br /&gt;&lt;br /&gt;$decryptedVal=mcrypt_cbc(MCRYPT_3DES, $key, hex2bin($encryptedVal), MCRYPT_DECRYPT, $iv);&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/2619660202321352958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-decrypt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/2619660202321352958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/2619660202321352958'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-decrypt.html' title='PHP - Decrypt'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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-7093961263244590535.post-3936883011440578791</id><published>2012-08-13T08:16:00.001-07:00</published><updated>2012-08-13T08:16:29.066-07:00</updated><title type='text'>PHP - Encrypt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Encryprt in php sample script&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ini_set(&#39;display_errors&#39;, 1);&lt;br /&gt;error_reporting(E_ALL);&lt;br /&gt;&lt;br /&gt;// I blantantly stole, tweaked and happily used this code from: &lt;br /&gt;// Lord of Ports http://www.experts-exchange.com/M_1736399.html&lt;br /&gt;&lt;br /&gt;$ky = &#39;lkirwf897+22#bbtrm8814z5qq=498j5&#39;; // 32 * 8 = 256 bit key&lt;br /&gt;$iv = &#39;741952hheeyy66#cs!9hjv887mxx7@8y&#39;; // 32 * 8 = 256 bit iv&lt;br /&gt;&lt;br /&gt;$text = &quot;Here is my data to encrypt!!!&quot;;&lt;br /&gt;&lt;br /&gt;$from_vb = &quot;QBlgcQ2+v3wd8RLjhtu07ZBd8aQWjPMfTc/73TPzlyA=&quot;;&amp;nbsp;&amp;nbsp; // enter value from vb.net app here to test&lt;br /&gt;&lt;br /&gt;$etext = encryptRJ256($ky, $iv, $text);&lt;br /&gt;$dtext = decryptRJ256($ky, $iv, $etext);&lt;br /&gt;$vtext = decryptRJ256($ky, $iv, $from_vb);&lt;br /&gt;&lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;orignal string: $text&quot;;&lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;encrypted in php: $etext&quot;;&lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;decrypted in php: $dtext&quot;;&lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;encrypted in vb: $from_vb&quot;;&lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;from vb decrypted in php: $vtext&quot;; &lt;br /&gt;echo &quot;&amp;lt;HR&amp;gt;If you like it say thanks! richard dot varno at gmail dot com&quot;;&lt;br /&gt;&lt;br /&gt;exit;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;function decryptRJ256($key,$iv,$string_to_decrypt)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $string_to_decrypt = base64_decode($string_to_decrypt);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $rtn = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $string_to_decrypt, MCRYPT_MODE_CBC, $iv);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $rtn = rtrim($rtn, &quot;\0\4&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return($rtn);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function encryptRJ256($key,$iv,$string_to_encrypt)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $rtn = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $string_to_encrypt, MCRYPT_MODE_CBC, $iv);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $rtn = base64_encode($rtn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return($rtn);&lt;br /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phpquries.blogspot.com/feeds/3936883011440578791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-encrypt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/3936883011440578791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7093961263244590535/posts/default/3936883011440578791'/><link rel='alternate' type='text/html' href='http://phpquries.blogspot.com/2012/08/php-encrypt.html' title='PHP - Encrypt'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07152379238160295510</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>