<?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-4858042003456568821</id><updated>2024-09-13T00:12:28.228-07:00</updated><title type='text'>Software Sarathi ( PHP Link Master )</title><subtitle type='html'>Get Connected with your expecting subject on PHP and Open Sources.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>143</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-5259300951531227866</id><published>2013-08-22T23:15:00.001-07:00</published><updated>2013-08-22T23:15:27.765-07:00</updated><title type='text'>Magento abandoned cart for guest/unconfirmed users</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/13584054/magento-abandoned-cart-for-guest-unconfirmed-users&quot;&gt;http://stackoverflow.com/questions/13584054/magento-abandoned-cart-for-guest-unconfirmed-users&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT entity_id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; customer_firstname&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; customer_email&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; items_count&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; grand_total&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; created_at
FROM sales_flat_quote
WHERE entity_id NOT IN &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT quote_item_id AS quote_id FROM sales_flat_order_item&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; 
AND items_count &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
AND customer_email IS NOT NULL
ORDER BY &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;`sales_flat_quote`&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;`created_at`&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; DESC&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/15148275/when-does-magento-consider-a-cart-to-be-abandoned-wheres-that-time-limit-set&quot;&gt;http://stackoverflow.com/questions/15148275/when-does-magento-consider-a-cart-to-be-abandoned-wheres-that-time-limit-set&lt;/a&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
As you probably know the setting is located here:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Admin =&amp;gt; system =&amp;gt; Configuration =&amp;gt; Sales =&amp;gt; Checkout =&amp;gt; Quote Lifetime (days)&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
This will add the setting to the database (core_config_data table) with path:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;checkout/cart/delete_quote_after&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
This path is used in the code on:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;app/code/core/Mage/Sales/Model/Observer.php line 54&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;http://kevinhoekman.com/output/nav.html?clean/app/code/core/Mage/Sales/Model/Observer.php.source.html&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; border: 0px; color: #4a6b82; cursor: pointer; margin: 0px; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot;&gt;Check the code here.&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
So when someone is adding something to a cart it will be updated. When a customer logs in and his cart is there it will be updated. When a cart is not updated for the last 30 days. It will be removed.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Extra information:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
In case you wonder when this code is used, It is used by the cronjob of magento.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
check:&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;App/code/core/Mage/Sales/etc/config.xml&lt;/strong&gt;&amp;nbsp;line 1732&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;http://kevinhoekman.com/output/nav.html?clean/app/code/core/Mage/Sales/etc/config.xml.source.html?#l1732&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; border: 0px; color: #4a6b82; cursor: pointer; margin: 0px; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot;&gt;Check code here.&lt;/a&gt;&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;crontab&gt;&lt;/crontab&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;jobs&gt;&lt;/jobs&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;sales_clean_quotes&gt;&lt;/sales_clean_quotes&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;schedule&gt;&lt;/schedule&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;cron_expr&gt;&lt;/cron_expr&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0 0 * * *&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;run&gt;&lt;/run&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;model&gt;&lt;/model&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sales/observer::cleanExpiredQuotes&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; margin-bottom: 1em; padding: 0px; vertical-align: baseline; white-space: normal; word-wrap: break-word;&quot;&gt;
Hope this helps.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/5259300951531227866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2013/08/magento-abandoned-cart-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/5259300951531227866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/5259300951531227866'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2013/08/magento-abandoned-cart-for.html' title='Magento abandoned cart for guest/unconfirmed users'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-2639344681002805303</id><published>2013-08-22T02:07:00.001-07:00</published><updated>2013-08-22T02:09:07.968-07:00</updated><title type='text'>Magento Shopping Cart Abandonment</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;post-text&quot;&gt;
All this can be done using Magento, but as you
 said, this is a very broad question. I&#39;ll give answers to the specific 
topics, but I suggest you take time to study the fundamentals of Magento
 module development. Here is an &lt;a href=&quot;http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-1-introduction-to-magento&quot;&gt;excellent tutorial&lt;/a&gt; by Alan Storm (read the whole series).&lt;br /&gt;
&lt;h2&gt;
Get list of abandoned carts&lt;/h2&gt;
In Magento, the cart is simply a wrapper for the &lt;code&gt;sales/quote&lt;/code&gt; object, so that is the entity you will be working with.&lt;br /&gt;
Instead of adding increments to a abandoned_duration attribute, I suggest simply checking against the &lt;code&gt;updated_at&lt;/code&gt; field.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-php prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;$adapter &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Mage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getSingleton&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;core/resource&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;sales_read&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$minutes &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$from &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $adapter&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getDateSubSql&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    $adapter&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;quote&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;now&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;()),&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; 
    $minutes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; 
    &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Varien_Db_Adapter_Interface&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;INTERVAL_MINUTE
&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$quotes &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Mage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getResourceModel&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;sales/quote_collection&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addFieldToFilter&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;converted_at&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $adapter&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getSuggestedZeroDate&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addFieldToFilter&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;updated_at&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;to&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $from&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
This will give you a collection (think of it as an array with 
methods) of all quotes that haven&#39;t been updated for 15 minutes. You can
 iterate over them like an array
&lt;br /&gt;
&lt;pre class=&quot;lang-php prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;kwd&quot;&gt;foreach&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$quotes &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $quote&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;/* @var $quote Mage_Sales_Model_Quote */&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;
Magento Cronjobs&lt;/h2&gt;
In Magento, all cron jobs are listed in the configuration structure. 
So first you need to add it to the config.xml of your module (refer to 
the linked tutorial for more information on Magento configuration).&lt;br /&gt;
This XML registers a cronjob with Magento.
&lt;br /&gt;
&lt;pre class=&quot;lang-php prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;tag&quot;&gt;&lt;crontab&gt;&lt;/crontab&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;jobs&gt;&lt;/jobs&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;process_abandoned_carts&gt;&lt;/process_abandoned_carts&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;schedule&gt;&lt;/schedule&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;cron_expr&gt;&lt;/cron_expr&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;*/15 * * * *&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;pln&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;run&gt;&lt;/run&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;model&gt;&lt;/model&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;your_module/observer::processAbandonedCarts&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;&lt;/span&gt;

Now, whenever Magento runs the cronjob, it will instantiate the class &lt;code&gt;your_module/observer&lt;/code&gt; and call the &lt;code&gt;processAbandonedCarts()&lt;/code&gt; method.&lt;br /&gt;
In order for Magento to process configured cronjobs, you need to set the
 system up to do so. This consists of two parts: the system 
configuration and the triggering of the cron jobs.  &lt;br /&gt;
The system configuration is done in the administrative interface under &lt;em&gt;System &amp;gt; Configuration &amp;gt; System &amp;gt; Cron (Scheduled Tasks)&lt;/em&gt;  &lt;br /&gt;
The triggering consists of setting up a way to periodically execute 
the cron.php (or cron.sh) script in the Magento root directory. This can
 be done using a regular crontab entry (&lt;code&gt;man 5 crontab&lt;/code&gt; on any decent unix system for more information). Another option preferred by many is to execute the cron.php script through a &lt;code&gt;curl&lt;/code&gt; or &lt;code&gt;wget&lt;/code&gt;
 call so the processing user ID matches the regular Magento user ID 
(i.e. the Apache user). This might be important if APC caching is 
configured, but this is getting off topic.&lt;br /&gt;
However, on topic is that &lt;strong&gt;you need to call it often enough so it matches the settings you specify in the administrative interface&lt;/strong&gt;!&lt;br /&gt;
I generally recommend executing the cron.php script every 5 minutes. If there is nothing scheduled it will simply exit.  &lt;br /&gt;
One really useful extension for Magento when working with cronjobs is &lt;a href=&quot;http://www.magentocommerce.com/magento-connect/aoe-scheduler.html&quot;&gt;Aoe_Scheduler&lt;/a&gt;. It adds much of the user interfaces for cronjobs and interactive functionality that should be part of the core system.&lt;br /&gt;
&lt;h2&gt;
Other&lt;/h2&gt;
Sending the data to a web service is not Magento specific, but rather regular PHP, so I&#39;ll wont go into more detail.  &lt;br /&gt;
To delete a cart, simple call &lt;code&gt;$quote-&amp;gt;delete()&lt;/code&gt; on the loaded &lt;code&gt;sales/quote&lt;/code&gt; instance.&lt;br /&gt;
Please ask mor specific questions for further information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/9223790/where-to-start-with-magento-shopping-cart-abandonment&quot;&gt;http://stackoverflow.com/questions/9223790/where-to-start-with-magento-shopping-cart-abandonment&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Related Link&lt;br /&gt;
&lt;a href=&quot;http://www.magentocommerce.com/magento-connect/anatta-design-abandoned-carts-2536.html&quot;&gt;http://www.magentocommerce.com/magento-connect/anatta-design-abandoned-carts-2536.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/2639344681002805303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2013/08/magento-shopping-cart-abandonment.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2639344681002805303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2639344681002805303'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2013/08/magento-shopping-cart-abandonment.html' title='Magento Shopping Cart Abandonment'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-1896575540645614141</id><published>2013-06-03T02:32:00.000-07:00</published><updated>2013-06-03T02:34:45.789-07:00</updated><title type='text'>Creating a Downloadable Product in OpenCart</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.inmotionhosting.com/support/edu/opencart/303-creating-a-downloadable-product-in-opencart&quot;&gt;http://www.inmotionhosting.com/support/edu/opencart/303-creating-a-downloadable-product-in-opencart&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.opencarttutorial.com/how-to-setup-your-opencart-catalog/downloadable-products/&quot;&gt;http://www.opencarttutorial.com/how-to-setup-your-opencart-catalog/downloadable-products/&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;page-header&quot; style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #232323; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin: 0px 0px 10px; padding-bottom: 10px;&quot;&gt;
&lt;h1 style=&quot;color: black; font-family: adelle, sans-serif; font-size: 24px; line-height: 33px; margin: 0px; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;
303: Creating a Downloadable Product in OpenCart&lt;/h1&gt;
Written by&amp;nbsp;&lt;a href=&quot;https://plus.google.com/115637383139876284145&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;Tim Sisson&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f9f9f9; color: #232323; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin-bottom: 11px;&quot;&gt;
At times, you may want to sell a digital product such as an image, audio file, or e-book. This can be easily accomplished in OpenCart. To offer a downloadable product, you&#39;ll first have to upload the file within OpenCart and then you&#39;ll need to link the file to a product.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;alert&quot; style=&quot;background-color: #fcf8e3; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(251, 238, 213); color: #c09853; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin-bottom: 22px; padding: 8px 35px 8px 14px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;&quot;&gt;
&lt;strong&gt;Important!&lt;/strong&gt;&amp;nbsp;Remember to uncheck the &quot;&lt;em&gt;Requires Shipping&lt;/em&gt;&quot; checkbox or your customers will be charged shipping fees by mistake.&lt;/div&gt;
&lt;h2 style=&quot;background-color: #f9f9f9; font-family: adelle, sans-serif; font-size: 22px; font-weight: 500; line-height: 24px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Uploading Your Digital Product&lt;/h2&gt;
&lt;ol style=&quot;background-color: #f9f9f9; color: #232323; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin: 0px 0px 11px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://www.inmotionhosting.com/support/edu/opencart/installing-opencart-and-adding-products/logging-into-the-opencart-dashboard&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;Log into your OpenCart Dashboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Go to&lt;strong&gt;&amp;nbsp;Catalog &amp;gt; Downloads&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click “&lt;strong&gt;Insert&lt;/strong&gt;” in the upper right corner&lt;/li&gt;
&lt;div style=&quot;margin-bottom: 11px;&quot;&gt;
&lt;a class=&quot;std_ss&quot; href=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_1.jpg&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;&lt;img alt=&quot;opencart_digital_1&quot; src=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_1.jpg&quot; style=&quot;background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(0, 0, 0); cursor: url(http://www.inmotionhosting.com/support/templates/imh_kb/images/magnify.cur), pointer; height: auto; max-height: 200px; max-width: 300px; padding: 2px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Fill in the fields with a download name, Select the file to upload on your local computer, and type in the number of downloads allowed per user purchase&lt;/li&gt;
&lt;div style=&quot;margin-bottom: 11px;&quot;&gt;
&lt;a class=&quot;std_ss&quot; href=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_2.jpg&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;&lt;img alt=&quot;opencart_digital_2&quot; src=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_2.jpg&quot; style=&quot;background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(0, 0, 0); cursor: url(http://www.inmotionhosting.com/support/templates/imh_kb/images/magnify.cur), pointer; height: auto; max-height: 200px; max-width: 300px; padding: 2px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Click “&lt;strong&gt;Save&lt;/strong&gt;”&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 style=&quot;background-color: #f9f9f9; font-family: adelle, sans-serif; font-size: 22px; font-weight: 500; line-height: 24px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Linking the download file to a product&lt;/h2&gt;
&lt;ol style=&quot;background-color: #f9f9f9; color: #232323; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin: 0px 0px 11px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://www.inmotionhosting.com/support/edu/opencart/installing-opencart-and-adding-products/logging-into-the-opencart-dashboard&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;Log into your OpenCart Dashboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Go to&amp;nbsp;&lt;strong&gt;Products&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click “&lt;strong&gt;Insert&lt;/strong&gt;” to create a new product or click “&lt;strong&gt;Edit&lt;/strong&gt;” next to an existing product&lt;/li&gt;
&lt;li&gt;Click on the “&lt;strong&gt;links&lt;/strong&gt;” tab&lt;/li&gt;
&lt;li&gt;Scroll towards the bottom of the page, go to the “&lt;strong&gt;Downloads&lt;/strong&gt;” section and select the file you want to be made available on this product&lt;/li&gt;
&lt;div style=&quot;margin-bottom: 11px;&quot;&gt;
&lt;a class=&quot;std_ss&quot; href=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_3.jpg&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;&lt;img alt=&quot;opencart_digital_3&quot; src=&quot;http://www.inmotionhosting.com/support/images/stories/opencart/opencart_digital_3.jpg&quot; style=&quot;background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(0, 0, 0); cursor: url(http://www.inmotionhosting.com/support/templates/imh_kb/images/magnify.cur), pointer; height: auto; max-height: 200px; max-width: 300px; padding: 2px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;While still editing this product, click on the “&lt;strong&gt;Data&lt;/strong&gt;” tab and scroll down to the section called “&lt;strong&gt;Weight&lt;/strong&gt;”. Enter a weight of “&lt;strong&gt;0&lt;/strong&gt;” (zero) in the field. This tells OpenCart it is a downloadable product&lt;/li&gt;
&lt;li&gt;Click on “&lt;strong&gt;Save&lt;/strong&gt;” in the upper right corner&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: #f9f9f9; color: #232323; font-family: adelle-sans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22px; margin-bottom: 11px;&quot;&gt;
If you need further assistance please feel free to&amp;nbsp;&lt;a href=&quot;http://www.inmotionhosting.com/support/community-support/&quot; style=&quot;color: #4ba0e1; text-decoration: initial;&quot;&gt;ask a question in our support center website&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/1896575540645614141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2013/06/creating-downloadable-product-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/1896575540645614141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/1896575540645614141'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2013/06/creating-downloadable-product-in.html' title='Creating a Downloadable Product in OpenCart'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-317633653898354704</id><published>2013-01-31T04:01:00.002-08:00</published><updated>2013-01-31T04:01:14.894-08:00</updated><title type='text'>Google DFP setup</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
http://www.labnol.org/internet/google-dfp-tutorial/14099/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/317633653898354704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2013/01/google-dfp-setup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/317633653898354704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/317633653898354704'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2013/01/google-dfp-setup.html' title='Google DFP setup'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-4428216904953481920</id><published>2013-01-04T02:28:00.001-08:00</published><updated>2013-01-04T02:28:31.156-08:00</updated><title type='text'> Compare directories via diff </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;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;diff -rq dirA dirB&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;diff -qr dirA dirB | grep -v -e &#39;DS_Store&#39; -e &#39;Thumbs&#39; | 
sort &amp;gt; diffs.txt&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; text-align: justify;&quot;&gt;&lt;code style=&quot;font-family: Monaco, Courier, monospace;&quot;&gt;&lt;a href=&quot;http://hints.macworld.com/article.php?story=20070408062023352&quot;&gt;http://hints.macworld.com/article.php?story=20070408062023352&lt;/a&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/4428216904953481920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2013/01/compare-directories-via-diff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4428216904953481920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4428216904953481920'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2013/01/compare-directories-via-diff.html' title=' Compare directories via diff '/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-2025284764283975825</id><published>2012-12-19T01:54:00.002-08:00</published><updated>2012-12-19T01:54:51.579-08:00</updated><title type='text'>YII framework dynamic Table Model</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;
&amp;nbsp;* CActiveRecord implementation that allows specifying&lt;br /&gt;
&amp;nbsp;* DB table name instead of creating a class for each table.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* Usage (assuming table &#39;user&#39; with columns &#39;id&#39; and &#39;name&#39;):&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$userModel = DynamicActiveRecord::forTable(&#39;user&#39;);&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//list existing users&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;foreach ($userModel-&amp;gt;findAll() as $user)&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo $user-&amp;gt;id . &#39;: &#39; . $user-&amp;gt;name . &#39;&lt;br /&gt;&#39;;&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//add new user&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$userModel-&amp;gt;name = &#39;Pavle Predic&#39;;&lt;br /&gt;
&amp;nbsp;* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$userModel-&amp;gt;save();&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* @author Pavle Predic &lt;https: github.com=&quot;github.com&quot; pavlepredic=&quot;pavlepredic&quot;&gt;&lt;/https:&gt;&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
class DynamicActiveRecord extends CActiveRecord&lt;br /&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; * Name of the DB table&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @var string&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;protected $_tableName;&lt;br /&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; * Table meta-data.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Must redeclare, as parent::_md is private&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @var CActiveRecordMetaData&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;protected $_md;&lt;br /&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; * Constructor&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param string $scenario (defaults to &#39;insert&#39;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param string $tableName&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;public function __construct($scenario = &#39;insert&#39;, $tableName = null)&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;$this-&amp;gt;_tableName = $tableName;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;parent::__construct($scenario);&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;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; * Overrides default instantiation logic.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Instantiates AR class by providing table name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @see CActiveRecord::instantiate()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @return DynamicActiveRecord&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;protected function instantiate($attributes)&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;return new DynamicActiveRecord(null, $this-&amp;gt;tableName());&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;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; * Returns meta-data for this DB table&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @see CActiveRecord::getMetaData()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @return CActiveRecordMetaData&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;public function getMetaData()&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;if ($this-&amp;gt;_md !== null)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return $this-&amp;gt;_md;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;else&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return $this-&amp;gt;_md = new CActiveRecordMetaData($this);&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;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; * Returns table name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @see CActiveRecord::tableName()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @return string&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;public function tableName()&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;if (!$this-&amp;gt;_tableName)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$this-&amp;gt;_tableName = parent::tableName();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return $this-&amp;gt;_tableName;&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;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; * Returns an instance of DynamicActiveRecord for the provided DB table.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * This is a helper method that may be used instead of constructor.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param string $tableName&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param string $scenario&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @return DynamicActiveRecord&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;public static function forTable($tableName, $scenario = &#39;insert&#39;)&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;return new DynamicActiveRecord($scenario, $tableName);&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;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/2025284764283975825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/yii-framework-dynamic-table-model.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2025284764283975825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2025284764283975825'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/yii-framework-dynamic-table-model.html' title='YII framework dynamic Table Model'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-5232349712989948793</id><published>2012-12-06T22:48:00.000-08:00</published><updated>2012-12-06T22:48:01.759-08:00</updated><title type='text'>YII Framework - Highcharts Extension - datetime issue Resolved</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
$this-&amp;gt;Widget(&#39;ext.highcharts.HighchartsWidget&#39;, array(&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&#39;options&#39;=&amp;gt;&#39;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;title&quot;: { &quot;text&quot;: &quot;MYSQL Replication&quot; },&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;xAxis&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;title&quot;: { &quot;text&quot;: &quot;Month&quot; },&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;type&quot;: &quot;datetime&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;dateTimeLabelFormats&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;day&quot;: &quot;%e&quot; &amp;nbsp;&lt;br /&gt;
&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; &quot;yAxis&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;title&quot;: { &quot;text&quot;: &quot;Time&quot; },&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;type&quot;: &quot;datetime&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;dateTimeLabelFormats&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;hour&quot;: &quot;%H&quot;&lt;br /&gt;
&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; &quot;tooltip&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;xDateFormat&quot;: &quot;%Y-%m-%d&quot;&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; &quot;series&quot;: [&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{ &quot;name&quot;: &quot;success&quot;, &quot;data&quot;: [[x_ms,y_ms],[x_ms,y_ms]],&quot;pointStart&quot;: utc_ms, &quot;pointInterval&quot;: date_ms},&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ &quot;name&quot;: &quot;failure&quot;, &quot;data&quot;: [[x_ms,y_ms],[x_ms,y_ms]],&quot;pointStart&quot;:&amp;nbsp;utc_ms, &quot;pointInterval&quot;:&amp;nbsp;date_ms}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&#39;&lt;br /&gt;
));&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script src=&quot;http://code.highcharts.com/highcharts.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/5232349712989948793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/yii-framework-highcharts-extension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/5232349712989948793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/5232349712989948793'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/yii-framework-highcharts-extension.html' title='YII Framework - Highcharts Extension - datetime issue Resolved'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-6957685555719679238</id><published>2012-12-04T05:32:00.000-08:00</published><updated>2012-12-04T05:32:07.896-08:00</updated><title type='text'>SoapUI for ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://askubuntu.com/questions/198896/what-is-a-simple-free-soap-client-gui&quot;&gt;http://askubuntu.com/questions/198896/what-is-a-simple-free-soap-client-gui&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can still use SOAPUI&lt;br /&gt;


download the script from &lt;a href=&quot;http://en.sourceforge.jp/projects/sfnet_soapui/downloads/soapui/4.0/soapUI-x32-4_0_0.sh/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and save it on the disk.&lt;br /&gt;


then from a terminal&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;cd /path-to-directory-where-you-downlaod-it
sudo chmod +x soapUI-x32-4_0_0.sh
sudo ./soapUI-x32-4_0_0.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/6957685555719679238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/soapui-for-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6957685555719679238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6957685555719679238'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/12/soapui-for-ubuntu.html' title='SoapUI for ubuntu'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-279645258668441776</id><published>2012-11-05T22:42:00.000-08:00</published><updated>2012-11-05T22:42:02.219-08:00</updated><title type='text'>Install and configure OAuth in Ubuntu </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://djpate.com/2010/10/07/how-to-install-oauth-support-for-php-on-ubuntu/&quot;&gt;http://djpate.com/2010/10/07/how-to-install-oauth-support-for-php-on-ubuntu/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
First of all you need to make sure you already have php-pear and php5-dev.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
If you are unsure just run&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter  &quot; id=&quot;highlighter_821481&quot; style=&quot;background-color: rgb(255, 255, 255) !important; background-image: none !important; border: 1px solid rgb(224, 224, 224) !important; bottom: auto !important; color: #333333; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 603.9000244140625px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background-image: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;number&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: 3em !important;&quot;&gt;&lt;code style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: block !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: 2.7em !important;&quot;&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;content&quot; style=&quot;background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;apt-get&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;install&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;php-pear php5-dev&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;make&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
now run&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter  &quot; id=&quot;highlighter_952427&quot; style=&quot;background-color: rgb(255, 255, 255) !important; background-image: none !important; border: 1px solid rgb(224, 224, 224) !important; bottom: auto !important; color: #333333; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 603.9000244140625px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background-image: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;number&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: 3em !important;&quot;&gt;&lt;code style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: block !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: 2.7em !important;&quot;&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;content&quot; style=&quot;background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;pecl&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;install&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;oauth&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
Personnaly I had an error while compiling&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter  &quot; id=&quot;highlighter_478963&quot; style=&quot;background-color: rgb(255, 255, 255) !important; background-image: none !important; border: 1px solid rgb(224, 224, 224) !important; bottom: auto !important; color: #333333; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 603.9000244140625px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background-image: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;number&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: 3em !important;&quot;&gt;&lt;code style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: block !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: 2.7em !important;&quot;&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;content&quot; style=&quot;background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h:&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
To fix that just install : libpcre3-dev&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter  &quot; id=&quot;highlighter_41590&quot; style=&quot;background-color: rgb(255, 255, 255) !important; background-image: none !important; border: 1px solid rgb(224, 224, 224) !important; bottom: auto !important; color: #333333; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 603.9000244140625px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background-image: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;number&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: 3em !important;&quot;&gt;&lt;code style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: block !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: 2.7em !important;&quot;&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;content&quot; style=&quot;background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;apt-get&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;functions&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;install&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background-image: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-shadow: rgb(255, 255, 255) 0px 1px 1px; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;libpcre3-dev&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.75em; margin-top: 0.25em; padding: 0px;&quot;&gt;
Once it’s done just add extension=oauth.so at the end of your php.ini (located in /etc/php5/apache2/php.ini) file and restart Apache.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/279645258668441776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/11/install-and-configure-oauth-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/279645258668441776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/279645258668441776'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/11/install-and-configure-oauth-in-ubuntu.html' title='Install and configure OAuth in Ubuntu '/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-754066153319522085</id><published>2012-09-26T03:33:00.002-07:00</published><updated>2012-09-26T03:33:35.675-07:00</updated><title type='text'>Drupal Blog Page Not Found </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you have the problem of not being able to see the Blog Module page 
after enabling it, and you are using Clean URL for your site, then it&#39;s 
*probably* because you have accidentally created a subdomain with the 
name &#39;blog&#39; (e.g. &lt;a href=&quot;http://blog.example.com/&quot;&gt;http://blog.example.com&lt;/a&gt;),
 or you have a subdirectory named &#39;blog&#39; on your website&#39;s root folder 
(www, htdocs or public_html). You should be able to see Drupal&#39;s Blog 
Module after you remove the subdomain / subdirectory with that same 
name.&lt;br /&gt;
&lt;br /&gt;
The reason you cannot view the Blog Module at your website&#39;s URL (e.g. &lt;a href=&quot;http://www.example.com/blog&quot;&gt;http://www.example.com/blog&lt;/a&gt;)
 when you have a subdomain / subdirectory with the same name is because 
when using Clean URL, Drupal rewrites the Blog Module address (&lt;a href=&quot;http://www.example.com/?q=blog&quot;&gt;http://www.example.com/?q=blog&lt;/a&gt; to &lt;a href=&quot;http://www.example.com/blog&quot;&gt;http://www.example.com/blog&lt;/a&gt;) using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;.htaccess&lt;/span&gt; file. This causes confusion on the webserver, because when we try to access &lt;a href=&quot;http://www.example.com/blog&quot;&gt;http://www.example.com/blog&lt;/a&gt;,
 it doesn&#39;t know which URL it is suppose to display. It could be the URL
 that Drupal has rewritten, or it could also be the subdirectory that 
you have in your web root folder.&lt;br /&gt;
&lt;br /&gt;
The same concept also apply with all the URL Aliases that you have 
created with your Drupal. Make sure you don&#39;t have a folder with the 
same name as your aliases, or else you will get a Page Not Found error.&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://phplinkmaster.blogspot.com/feeds/754066153319522085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/drupal-blog-page-not-found.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/754066153319522085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/754066153319522085'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/drupal-blog-page-not-found.html' title='Drupal Blog Page Not Found '/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-4611594021471300926</id><published>2012-09-06T22:52:00.001-07:00</published><updated>2012-09-06T22:52:19.511-07:00</updated><title type='text'>Wordpress - Exclude images from showing in the_content() - Resolved</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;
&amp;nbsp; &amp;nbsp;ob_start();&lt;br /&gt;
&amp;nbsp; &amp;nbsp;the_content(&#39;Read the full post&#39;,true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;$postOutput = preg_replace(&#39;/&amp;lt;img[^&amp;gt;]+./&#39;,&#39;&#39;, ob_get_contents());&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ob_end_clean();&lt;br /&gt;
&amp;nbsp; &amp;nbsp;echo $postOutput;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ref. Link:&amp;nbsp;&lt;a href=&quot;http://wordpress.org/support/topic/exclude-images-from-showing-in-the_content&quot;&gt;http://wordpress.org/support/topic/exclude-images-from-showing-in-the_content&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/4611594021471300926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/wordpress-exclude-images-from-showing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4611594021471300926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4611594021471300926'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/wordpress-exclude-images-from-showing.html' title='Wordpress - Exclude images from showing in the_content() - Resolved'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-2512844307040870373</id><published>2012-09-05T03:29:00.000-07:00</published><updated>2012-09-05T03:32:34.128-07:00</updated><title type='text'>XML Sitemap generation with php and mysql</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;lt;?php&lt;br /&gt;
$host = &quot;localhost&quot;; // host name&lt;br /&gt;
$user = &quot;user&quot;; // database user name&lt;br /&gt;
$pass = &quot;password&quot;; // database password&lt;br /&gt;
$database = &quot;dbname&quot;; // database name&lt;br /&gt;
// connecting to database&lt;br /&gt;
$connect = @mysql_connect($host,$user,$pass)or die (@mysql_error());&lt;br /&gt;
// selecting database&lt;br /&gt;
@mysql_select_db($database,$connect) or die (@mysql_error());&lt;br /&gt;
&lt;br /&gt;
// default header(don&#39;t delete)&lt;br /&gt;
header(&quot;Content-Type: text/xml;charset=iso-8859-1&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;echo &#39;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;urlset xmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
// mytable = your content table name&lt;br /&gt;
$query = @mysql_query(&quot;SELECT * FROM mytable&quot;);&lt;br /&gt;
while($row = @mysql_fetch_array($query)){&lt;br /&gt;
// [url] = content url&lt;br /&gt;
$url = $row[&#39;url&#39;];&lt;br /&gt;
// [time] = content date&lt;br /&gt;
$date = date(&quot;Y-m-d&quot;, $row[&#39;time&#39;]);&lt;br /&gt;
&lt;br /&gt;
// NO CHANGES BELOW&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;echo&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &#39;&amp;lt;url&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;loc&amp;gt;&#39; . $url .&#39;&amp;lt;/loc&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;lastmod&amp;gt;&#39;. $date .&#39;&amp;lt;/lastmod&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;changefreq&amp;gt;daily&amp;lt;/changefreq&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;priority&amp;gt;0.8&amp;lt;/priority&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/url&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &#39;;&lt;br /&gt;
}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;echo &#39;&amp;lt;/urlset&amp;gt;&#39;;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.htaccess code ( Optional )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IfModule mod_rewrite.c&amp;gt;&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
RewriteRule (.*)\.xml(.*) $1.php$2 [nocase]&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;Ref: Link:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://www.urphp.com/php-and-mysql-google-sitemap/&quot;&gt;http://www.urphp.com/php-and-mysql-google-sitemap/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/2512844307040870373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/xml-sitemap-generation-with-php-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2512844307040870373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2512844307040870373'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/09/xml-sitemap-generation-with-php-and.html' title='XML Sitemap generation with php and mysql'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-729934531758886882</id><published>2012-08-21T06:24:00.003-07:00</published><updated>2012-08-21T06:24:45.589-07:00</updated><title type='text'>Reset Mysql Root Password in Xampp -- Resolved</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;ul&gt;
&lt;li&gt;Go to your xampp\mysql\bin\ folder&lt;/li&gt;
&lt;li&gt;Edit &lt;em&gt;my.ini&lt;/em&gt; and insert &lt;code&gt;skip-grant-tables&lt;/code&gt; below &lt;code&gt;[mysqld]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart MySQL&lt;/li&gt;
&lt;li&gt;Set new password for your root user by running &lt;code&gt;UPDATE mysql.user SET Password=PASSWORD(&#39;new_password&#39;) WHERE User=&#39;root&#39;&lt;/code&gt; in phpMyAdmin in the &lt;em&gt;mysql&lt;/em&gt; database (or just leave it like this if MySQL cannot be accessed from remote hosts)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/729934531758886882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/08/reset-mysql-root-password-in-xampp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/729934531758886882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/729934531758886882'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/08/reset-mysql-root-password-in-xampp.html' title='Reset Mysql Root Password in Xampp -- Resolved'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-4839841288176702452</id><published>2012-07-17T07:03:00.002-07:00</published><updated>2012-07-17T07:03:43.890-07:00</updated><title type='text'>XAMPP Apache server not working on internal network</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
The problem was that the Windows Firewall had port 80 blocked. To fix
 this, I opened Windows Firewall, clicked Change Settings, went to the 
Exceptions tab, and then &quot;Add Port&quot;. I set Name to &quot;Web Server (TCP 
80)&quot;, Port Number to 80, and Protocol to TCP and that was it.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/4839841288176702452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/07/xampp-apache-server-not-working-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4839841288176702452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4839841288176702452'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/07/xampp-apache-server-not-working-on.html' title='XAMPP Apache server not working on internal network'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-2055865305690603620</id><published>2012-06-28T22:34:00.000-07:00</published><updated>2012-06-28T22:34:00.717-07:00</updated><title type='text'>Theming the contact form in Drupal 6</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;div style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;3 Different Ways&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
1)So I copy page.tpl.php to page-contact.tpl.php and did changes&lt;/div&gt;
&lt;div style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
2)A different method would be to theme the contact form not the whole page.&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;!--?php&lt;/span--&gt;&lt;br /&gt;&lt;span style=&quot;color: #007700;&quot;&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;YOURTHEMENAME_theme&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;() {&lt;br /&gt;&amp;nbsp; return array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;contact_mail_page&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;gt; array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;arguments&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;form&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&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;&amp;nbsp;&lt;br /&gt;&amp;nbsp; );&lt;br /&gt;}function&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;YOURTHEMENAME_contact_mail_page&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$output&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;drupal_render&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$output&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;&lt;div class=&quot;additional-text&quot;&gt;
&#39;&lt;span style=&quot;color: #007700;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;Text to add to bottom of form&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;) .&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;&lt;/span&gt;&lt;/div&gt;
&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp; return&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$output&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;color: #323232; font-family: Arial, Helvetica, &#39;Bitstream Vera Sans&#39;, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;
&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;3)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;a href=&quot;http://11heavens.com/theming-the-contact-form-in-Drupal-6&quot; style=&quot;color: #9e2323; text-decoration: none;&quot;&gt;Theming the contact form in Drupal 6&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/2055865305690603620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/theming-contact-form-in-drupal-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2055865305690603620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/2055865305690603620'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/theming-contact-form-in-drupal-6.html' title='Theming the contact form in Drupal 6'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-7738886088200081051</id><published>2012-06-16T01:07:00.001-07:00</published><updated>2012-06-16T01:07:16.826-07:00</updated><title type='text'>PHP Mail Function header to avoid spam issue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
$headers = &quot;From: \&quot;&quot;.$from_name.&quot;\&quot; &amp;lt;&quot;.$from_email.&quot;&amp;gt;\n&quot;;&lt;br /&gt;
$headers .= &quot;To: \&quot;&quot;.$to_name.&quot;\&quot; &amp;lt;&quot;.$to_email.&quot;&amp;gt;\n&quot;;&lt;br /&gt;
$headers .= &quot;Return-Path: &amp;lt;&quot;.$from_email.&quot;&amp;gt;\n&quot;;&lt;br /&gt;
$headers .= &quot;MIME-Version: 1.0\n&quot;;&lt;br /&gt;
$headers .= &quot;Content-Type: text/HTML; charset=ISO-8859-1\n&quot;;&lt;br /&gt;
&lt;br /&gt;
mail($to, $subject, $message, $headers);&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/7738886088200081051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/php-mail-function-header-to-avoid-spam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7738886088200081051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7738886088200081051'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/php-mail-function-header-to-avoid-spam.html' title='PHP Mail Function header to avoid spam issue'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-4961503314287656679</id><published>2012-06-14T03:45:00.001-07:00</published><updated>2012-06-14T03:45:23.052-07:00</updated><title type='text'>editor auto adds  paragraph tag after save article or mod</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In the administrator, go to Extentsions -&amp;gt; Plugin Manager -&amp;gt; Editor-TinyMCE&lt;br /&gt;In &quot;Parameters&quot; panel, find &quot;New Lines&quot;&lt;br /&gt;Change it to &quot;BR Elements&quot;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/4961503314287656679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/editor-auto-adds-paragraph-tag-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4961503314287656679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4961503314287656679'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/editor-auto-adds-paragraph-tag-after.html' title='editor auto adds &lt;p&gt; paragraph tag after save article or mod'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-7574060469089107143</id><published>2012-06-03T23:27:00.001-07:00</published><updated>2012-06-03T23:27:09.580-07:00</updated><title type='text'>Web Application Development Process</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Ref:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://www.comentum.com/web-application-development-process.html&quot;&gt;http://www.comentum.com/web-application-development-process.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;

         &lt;br /&gt;
&lt;h2&gt;
Requirements for Developing Web Applications&lt;/h2&gt;
by Bernard Kohan &lt;br /&gt;

         &lt;h3 class=&quot;red&quot;&gt;
1. Roadmap Document: Defining Web Application, Purpose, Goals and Direction&lt;/h3&gt;
(Performed by client / project owner) &lt;br /&gt;
           This initial task is an important part of the process. It requires putting 
           together the Web Application project goals and purpose. &lt;br /&gt;

          This step establishes your project&#39;s clear direction and helps you focus on setting and achieving your goal. &lt;br /&gt;

          The Roadmap Document will specify the Web Application&#39;s future plan and objectives with approximate timelines. &lt;br /&gt;

         &lt;h3 class=&quot;red&quot;&gt;
2. Researching and Defining Audience Scope and Security Documents&lt;/h3&gt;
(Performed by client / project owner, or by Comentum, as a fee service) &lt;br /&gt;
           This task requires researching the audience/users, and prospective clients (if any), and creating an Analytic 
           Report which includes the following approximate assessments: &lt;br /&gt;

          &lt;strong&gt;- Type of audience for usability purposes:&lt;/strong&gt; &lt;br /&gt;
           Creating Statistic Reports on the percentage of users: elementary, average, advanced,
           the audience ages, and gender &lt;br /&gt;

          &lt;strong&gt;- Type and level of access:&lt;/strong&gt; &lt;br /&gt;
           Creating an Access Report, specifying users&#39; access of Intranet, Internet, 
           Extranet - single-level, multi-level &lt;br /&gt;

          &lt;strong&gt;- Type of audience for planning the security level:&lt;/strong&gt; &lt;br /&gt;
           Creating a Risk Statistical Document based on users&#39; characteristics, zone&#39;s fraud 
           level, application&#39;s industry security breaches, and history of the audience&#39;s 
           security breaches &lt;br /&gt;

          &lt;strong&gt;- Quantitative statistics on audience:&lt;/strong&gt; &lt;br /&gt;
           Creating a Potential Visitors Report, broken down by reasonable periodic time frames &lt;br /&gt;

         &lt;h3 class=&quot;red&quot;&gt;
3. Creating Functional Specifications or Feature Summary Document&lt;/h3&gt;
(Performed by client / project owner) &lt;br /&gt;
           A Web Application Functionality Specifications Document is the key document in any Web
           Application project. This document will list all of the functionalities and technical
           specifications that a web application will require to accomplish. Technically, this document
           can become overwhelming if one has to follow the Functional Specifications rule and detail
           out each type of user&#39;s behavior on a very large project. However, it is worth putting forth
           the effort to create this document which will help prevent any future confusion or
           misunderstanding of the project features and functionalities, by both the project owner and
           developer. A typical functional specification will list every user&#39;s behavior, for example: &lt;br /&gt;

         &lt;ul&gt;
&lt;li&gt; When a visitor clicks on the &quot;Add to Cart&quot; button from the Product Showcase page, the 
                item is added to the visitor&#39;s shopping cart, the Product Showcase page closes and the user 
                is taken to the Shopping Cart page which shows the new item in the cart. &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
             If creating a functional specification document is overwhelming to you, I recommend starting
              out by creating a Specification Document or Feature Summary Document by either creating the
              sample screen shots of the web application screens or creating a document that includes a
              summary list of the application&#39;s features, for example: &lt;br /&gt;

            &lt;ul class=&quot;pad1&quot;&gt;
&lt;li&gt; Product / Inventory Summary Showcase: displays a summary of items for sale, stock
                number, item name, short description, one photo, price, and Add to Cart button. &lt;/li&gt;
&lt;li&gt; Product / Inventory One Item Showcase: displays the detail of one inventory item:
                stock number, item name, long description, multiple photos (up to 10 photos), price, 
                and Add to Cart button. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 class=&quot;red&quot;&gt;
4. Third Party Vendors Identification, Analysis and Selection&lt;/h3&gt;
(Performed by client / project owner) &lt;br /&gt;
              This task requires researching, identifying and selection of third
              party vendors, products and services such as: &lt;br /&gt;

            &lt;ul&gt;
&lt;li&gt; Web Application Development Company - for detail information: &lt;a href=&quot;http://www.comentum.com/how-to-hire-web-application-development-company.html&quot;&gt;How to Hire a Good Web Application Development Company&lt;/a&gt;&lt;/li&gt;
&lt;li&gt; Merchant Account and Payment Gateway - for detail information: &lt;a href=&quot;http://www.comentum.com/guide-to-merchant-accounts-payment-gateways.html&quot;&gt;Guide to Merchant Accounts and Payment Gateways&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SSL Certificate (example providers: Verisign, GeoTrust)&lt;/li&gt;
&lt;li&gt;Managed Server / Colocation Server Provider - for detail information: &lt;a href=&quot;http://www.comentum.com/dedicated-managed-hosting-comparison.html&quot;&gt;Managed Hosting Comparison&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Server, Network, Firewall, Load Balancer Equipment 
(may not needed if using a managed server - example: DELL, Cisco 5520 
Load Balancer)&lt;/li&gt;
&lt;li&gt;Fulfillment Centers (example: Shipwire)&lt;br /&gt;
                  &lt;br /&gt;
              &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 class=&quot;red&quot;&gt;
5. Technology Selection, Technical Specifications, Web Application Structure and Timelines&lt;/h3&gt;
(Performed by Comentum) &lt;br /&gt;
              This document is the blueprint of the technology and platform selection, development 
              environment, web application development structure and framework. &lt;br /&gt;

             The Technical Specifications Document will detail out the technology used, licenses, versions and forecasts. &lt;br /&gt;

             The Timeline Document will identify the completion dates for the Web Application&#39;s features or modules. &lt;br /&gt;

            &lt;h3 class=&quot;red&quot;&gt;
6. Application Visual Guide, Design Layout, Interface Design, Wire framing&lt;/h3&gt;
(Created by the collaboration of the project owner and Comentum) &lt;br /&gt;
              One of the main ingredients to a successful project is to put together a web application
              that utilizes a user&#39;s interactions, interface and elements that have a proven record for
              ease of use, and provide the best user experience. &lt;br /&gt;

             This process starts out by creating the visual guide, wire framing or simply sketching out
              the user interface and interactions of the web applications by Comentum&#39;s Creative and
              Usability teams of experts. &lt;br /&gt;

             Once the Application Interface and Interaction Models are approved, Comentum&#39;s creative team design 
              the interface for the web application. &lt;br /&gt;

            &lt;h3 class=&quot;red&quot;&gt;
7. Web Application Development&lt;/h3&gt;
(Executed by Comentum&#39;s Development Team) &lt;br /&gt;
              The application&#39;s Design Interface is turned over to Comentum&#39;s Development Team who take the 
              following steps to develop the project: &lt;br /&gt;

            &lt;ul style=&quot;list-style-type: decimal;&quot;&gt;
&lt;li&gt;Create the Web Application Architecture and Framework&lt;/li&gt;
&lt;li&gt;Design the Database Structure&lt;/li&gt;
&lt;li&gt;Develop / Customize the Web Application Module, Libraries and Classes&lt;/li&gt;
&lt;li&gt;Complete the Development and Implement all Functionalities - Version 1.0&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
            &lt;h3 class=&quot;red&quot;&gt;
8. Beta Testing and Bug Fixing&lt;/h3&gt;
(Executed by Comentum&#39;s Beta Testers) &lt;br /&gt;
              Comentum&#39;s vigorous quality assurance testing help produce the most secure 
              and reliable web applications. &lt;br /&gt;

             Version 1.0 of the Web Application is thoroughly tested and any program bugs are addressed and fixed.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/7574060469089107143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/web-application-development-process.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7574060469089107143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7574060469089107143'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/06/web-application-development-process.html' title='Web Application Development Process'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-6617465575597694251</id><published>2012-05-31T04:21:00.003-07:00</published><updated>2012-05-31T04:21:39.494-07:00</updated><title type='text'>World map in Flash</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://backspace.com/mapapp/#download&quot;&gt;http://backspace.com/mapapp/#download&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/6617465575597694251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/world-map-in-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6617465575597694251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6617465575597694251'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/world-map-in-flash.html' title='World map in Flash'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-7792941331093007333</id><published>2012-05-14T04:14:00.002-07:00</published><updated>2012-05-14T04:14:18.660-07:00</updated><title type='text'>Security Checklist for PHP website - Input from $_GET, $_POST, $_COOKIE, and $_REQUEST is considered tainted.</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;a href=&quot;http://markjaquith.wordpress.com/2009/09/21/php-server-vars-not-safe-in-forms-or-links/&quot;&gt;http://markjaquith.wordpress.com/2009/09/21/php-server-vars-not-safe-in-forms-or-links/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Common example:&lt;br /&gt;

&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  htmlscript&quot; id=&quot;highlighter_525772&quot;&gt;
&lt;div class=&quot;lines&quot;&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;htmlscript plain&quot;&gt;&amp;lt;&lt;/code&gt;&lt;code class=&quot;htmlscript keyword&quot;&gt;form&lt;/code&gt; &lt;code class=&quot;htmlscript plain&quot;&gt;action=&quot;&lt;/code&gt;&lt;code class=&quot;htmlscript script&quot;&gt;&lt;!--?&lt;/code--&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;php &lt;/code&gt;&lt;code class=&quot;htmlscript functions&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;htmlscript variable&quot;&gt;$_SERVER&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;[&lt;/code&gt;&lt;code class=&quot;htmlscript string&quot;&gt;&#39;PHP_SELF&#39;&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;]; &lt;/code&gt;&lt;code class=&quot;htmlscript script&quot;&gt;?&amp;gt;&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;&quot;&amp;gt;&lt;/code&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;

Another example:&lt;br /&gt;

&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  htmlscript&quot; id=&quot;highlighter_783788&quot;&gt;
&lt;div class=&quot;lines&quot;&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;htmlscript plain&quot;&gt;&amp;lt;&lt;/code&gt;&lt;code class=&quot;htmlscript keyword&quot;&gt;a&lt;/code&gt; &lt;code class=&quot;htmlscript plain&quot;&gt;href=&quot;&lt;/code&gt;&lt;code class=&quot;htmlscript script&quot;&gt;&lt;!--?&lt;/code--&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;php &lt;/code&gt;&lt;code class=&quot;htmlscript functions&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;htmlscript variable&quot;&gt;$_SERVER&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;[&lt;/code&gt;&lt;code class=&quot;htmlscript string&quot;&gt;&#39;PHP_SELF&#39;&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;]&#39; &lt;/code&gt;&lt;code class=&quot;htmlscript script&quot;&gt;?&amp;gt;&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;?foo=bar&quot;&amp;gt;link title&lt;!--&lt;/code--&gt;&lt;code class=&quot;htmlscript keyword&quot;&gt;a&lt;/code&gt;&lt;code class=&quot;htmlscript plain&quot;&gt;&amp;gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;

Here are my two rules regarding &lt;code&gt;$_SERVER[&#39;PHP_SELF&#39;]&lt;/code&gt; or &lt;code&gt;$_SERVER[&#39;REQUEST_URI&#39;]&lt;/code&gt; in forms:&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;Do not use them&lt;/li&gt;
&lt;li&gt;If you use one of them, escape it with &lt;code&gt;esc_url()&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/7792941331093007333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/security-checklist-for-php-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7792941331093007333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/7792941331093007333'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/security-checklist-for-php-website.html' title='Security Checklist for PHP website - Input from $_GET, $_POST, $_COOKIE, and $_REQUEST is considered tainted.'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-8024006691557150846</id><published>2012-05-10T04:12:00.000-07:00</published><updated>2012-05-10T04:13:28.201-07:00</updated><title type='text'>Setting Up Virtual Hosts for XAMPP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Ref:&amp;nbsp;&lt;a href=&quot;http://sawmac.com/xampp/virtualhosts/&quot;&gt;http://sawmac.com/xampp/virtualhosts/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;strong&gt;Launch  Notepad  and open the &lt;em&gt;hosts&lt;/em&gt; file located at C:\windows\system32\drivers\etc\hosts.&lt;/strong&gt; (You may not be able to see the windows folder–some files are hidden by default under Windows. Here are&lt;a href=&quot;http://www.bleepingcomputer.com/tutorials/tutorial62.html&quot; target=&quot;_blank&quot;&gt; instructions to make those files visible.&lt;/a&gt;)
On Vista, you’ll also need to have access to change the hosts file. 
To do that, launch Notepad by right clicking on Notepad from the Start 
menu and choosing &quot;Run As Administrator.&quot; This will give you permission 
to edit and save the file.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;At the end of that file type:&lt;br /&gt;
      127.0.0.1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clientA.local &lt;/strong&gt;&lt;br /&gt;

127.0.0.1 is how a computer refers to itself—it’s an IP address that 
points  back to the computer, kind of like a computer’s way of saying 
&quot;ME.&quot; The second part (clientA.local) is the &quot;domain&quot; of the virtual 
host. To visit this domain in a Web browser you’d type 
http://clientA.local. You don’t have to add the .local part to the hosts
 files—you could just as easily add &lt;strong&gt;127.0.0.1 clientA&lt;/strong&gt; and access the site in your Web browser with&lt;strong&gt; http://clientA&lt;/strong&gt;—but I find it helpful for differentiating between a real Web site out on the Internet like &lt;strong&gt;clientA.com&lt;/strong&gt;, and the test sites I have running on my own computer.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Save and close the &lt;em&gt;hosts&lt;/em&gt; file. &lt;/strong&gt;
That finishes the first part of this task. You’ve prepared your 
computer to handle requests to http://clientA.local. Now you need to 
tell the Web server, Apache, how to handle those requests.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;In Notepad open the Apache configuration file located at C:\xampp\apache\conf\extra\httpd-vhosts.conf &lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;At the bottom of that file add:&lt;/strong&gt;
&lt;pre&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;virtualhost *=&quot;&quot;&gt;&lt;directory &quot;c:\documents=&quot;&quot; and=&quot;&quot; documents\clienta\website&quot;=&quot;&quot; settings\me\my=&quot;&quot;&gt;NameVirtualHost *
  &amp;lt;VirtualHost *&amp;gt;
    DocumentRoot &quot;C:\xampp\htdocs&quot;
    ServerName localhost
  &amp;lt;/VirtualHost&amp;gt;
  &amp;lt;VirtualHost *&amp;gt;
    DocumentRoot &quot;C:\Documents and Settings\Me\My Documents\clientA\website&quot;
    ServerName clientA.local
  &amp;lt;Directory &quot;C:\Documents and Settings\Me\My Documents\clientA\website&quot;&amp;gt;
    Order allow,deny
    Allow from all
  &amp;lt;/Directory&amp;gt;
&amp;lt;/VirtualHost&amp;gt;
  &lt;/directory&gt;
&lt;/virtualhost&gt;&lt;/span&gt;
  &lt;/pre&gt;
The first five lines of code turn on the Virtual Host feature on 
Apache, and set up the C:\xampp\htdocs folder as the default location 
for http://localhost. That’s important since you need to be able to 
access the XAMPP web pages at http://localhost/ so that you can use 
PHPMyAdmin.&lt;br /&gt;

The stuff in yellow represents a single Virtual Host. You’ll add one 
chunk of code just like this for each Virtual Host (or Web site) on your
 computer&lt;br /&gt;

You’ll need to modify the stuff highlighted in blue. The first item —
 DocumentRoot — indicates where the files for this site are located on 
your computer. The second part–ServerName — is the name you provided in 
step 2 above: the virtual host name. For example, &lt;strong&gt;clientA.local&lt;/strong&gt;.
 The third item — the &lt;directory&gt; part — is the same path you 
provided for the DocumentRoot. This is required to let your Web browser 
have clearance to access these files.&lt;/directory&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Save and close the Apache configuration file, and restart Apache from the XAMPP control panel. &lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Start a Web browser and type a URL for the virtual host. For example: http://clientA.local/.&lt;/strong&gt;&lt;br /&gt;
    You should now see the home page for your site.&lt;/li&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/8024006691557150846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/setting-up-virtual-hosts-for-xampp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/8024006691557150846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/8024006691557150846'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/setting-up-virtual-hosts-for-xampp.html' title='Setting Up Virtual Hosts for XAMPP'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-1270671895433063129</id><published>2012-05-06T23:57:00.001-07:00</published><updated>2012-05-06T23:57:54.813-07:00</updated><title type='text'>Xampp with PHP and Oracle from Mysql</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Oracle Based Changes&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Install oracle any version&lt;br /&gt;
2. configure with database creation ( database will create automatically )&lt;br /&gt;
3. import mysql tables to oracle&lt;br /&gt;
4. Note hostname, username, password and SID.&lt;br /&gt;
5. While start the xampp if NLS_LANG error will come for oci8 follow the below steps&lt;br /&gt;
a.) run --&amp;gt; regedit --&amp;gt; hkey local machine --&amp;gt; softwares --&amp;gt; oracle --&amp;gt; NLS_LANG key rename or delete&lt;br /&gt;
&lt;br /&gt;
b.) restart system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PHP Based Changes After Installed Xampp&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. In your XAMPP Start Page, go to phpinfo, look for string oci8. If 
string found it indicate that connection to oracle is available, 
otherwise to activate connection do the following steps:&lt;br /&gt;
   2. Open the currently used php.ini file by looking at the phpinfo, from the XAMPP folder.&lt;br /&gt;
   3. Find string ;extension=php_oci8.dll. Remove the semicolon (;) ahead of the string to activate the oracle extension.&lt;br /&gt;
   4. Save the php.ini file.&lt;br /&gt;
   5. Download the “Instant Client Package – Basic” for Windows from the
 OTN Instant Client page. Unzip it to c:\instantclient_11_1&lt;br /&gt;
   6. Edit the PATH environment setting and add c:\instantclient_11_1 
before any other Oracle directories. For example, on Windows XP, follow 
Start -&amp;gt; Control Panel -&amp;gt; System -&amp;gt; Advanced -&amp;gt; Environment 
Variables and edit PATH in the System variables list.&lt;br /&gt;
   7. Set desired Oracle globalization language environment variables 
such as NLS_LANG. If nothing is set, a default local environment will be
 assumed. See An Overview on Globalizing Oracle PHP Applications for 
more details.&lt;br /&gt;
   8. Unset Oracle variables such as ORACLE_HOME and ORACLE_SID, which 
are unnecessary with Instant Client (if they are set previously).&lt;br /&gt;
   9. Restart XAMPP (or Start if its not already started).&lt;br /&gt;
  10. To make sure that connection to oracle database has successfully activated, go to phpinfo. Find string: &lt;strong&gt;oci8&lt;/strong&gt;. If found, then XAMPP can now communicate with Oracle Database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PHP Based sample connection&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;$conn = oci_connect(&#39;username&#39;, &#39;password&#39;, &#39;host:port/servicename&#39;);&lt;br /&gt;
$query = &#39;select table_name from user_tables&#39;;&lt;br /&gt;
$stid = oci_parse($conn, $query);&lt;br /&gt;
oci_execute($stid, OCI_DEFAULT);&lt;br /&gt;
while ($row = oci_fetch_array($stid, OCI_ASSOC)) {&lt;br /&gt;
foreach ($row as $item) {&lt;br /&gt;
echo $item.&quot; | &quot;;&lt;br /&gt;
}&lt;br /&gt;
echo &quot;&lt;br /&gt;\n&quot;;&lt;br /&gt;
}&lt;br /&gt;
oci_free_statement($stid);&lt;br /&gt;
oci_close($conn);&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;ADODB Based Sample Connection&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$DB = NewADOConnection(&quot;oci8&quot;);&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$DB-&amp;gt;Connect(&#39;localhost&#39;, &#39;system&#39;, &#39;system&#39;, &#39;orasrv&#39;);&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/1270671895433063129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/xampp-with-php-and-oracle-from-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/1270671895433063129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/1270671895433063129'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/05/xampp-with-php-and-oracle-from-mysql.html' title='Xampp with PHP and Oracle from Mysql'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-6916350660349713142</id><published>2012-04-18T23:05:00.002-07:00</published><updated>2012-04-18T23:05:46.932-07:00</updated><title type='text'>Titanium Appcelerator How to disable separatorColor in table view ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Problem resolved in Android windows7&lt;br /&gt;
&lt;br /&gt;
var tableview = Ti.UI.createTableView({&lt;br /&gt;
&amp;nbsp;separatorColor: &#39;transparent&#39;&lt;br /&gt;
});&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/6916350660349713142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-appcelerator-how-to-disable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6916350660349713142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/6916350660349713142'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-appcelerator-how-to-disable.html' title='Titanium Appcelerator How to disable separatorColor in table view ?'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-4556360126928067909</id><published>2012-04-18T06:33:00.002-07:00</published><updated>2012-04-18T06:33:53.959-07:00</updated><title type='text'>Titanium MVC Framework</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://johnkalberer.com/2011/09/08/mvc-for-appcelerator/&quot;&gt;http://johnkalberer.com/2011/09/08/mvc-for-appcelerator/&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/4556360126928067909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-mvc-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4556360126928067909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/4556360126928067909'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-mvc-framework.html' title='Titanium MVC Framework'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4858042003456568821.post-3726689157476869223</id><published>2012-04-17T06:36:00.000-07:00</published><updated>2012-04-17T06:36:01.847-07:00</updated><title type='text'>Titanium Studio install and configure in Windows 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. Download and install Java JDK 1.6.x&lt;br /&gt;
2. Download and install android SDK version any with android2.1 API Level 7 ( then you can choose all additional apis )&lt;br /&gt;
3. Environmental Variable PATH setup as given below&lt;br /&gt;
&amp;nbsp;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_29\bin;C:\Program Files\Android\android-sdk\tools;&lt;br /&gt;
&lt;br /&gt;
SystemRoot --&amp;gt; Windows will take automatically&lt;br /&gt;
4. Download and Install Titanium Studio ( Titanium mobile-sdk will install&amp;nbsp;continually&amp;nbsp;with this )&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phplinkmaster.blogspot.com/feeds/3726689157476869223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-studio-install-and-configure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/3726689157476869223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4858042003456568821/posts/default/3726689157476869223'/><link rel='alternate' type='text/html' href='http://phplinkmaster.blogspot.com/2012/04/titanium-studio-install-and-configure.html' title='Titanium Studio install and configure in Windows 7'/><author><name>visvasolutions</name><uri>http://www.blogger.com/profile/15832192292856831263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6x7_xMRBlyix7gWcmyCPHqP9hvASBs0eCaD5qSVmL5fn-dmcRz6T43nyO3lnk965ZtCpOT5UuOTm3KbXuPtxSs6D01KPhV7LToazg7dSBs6OVUOicrz_cIJOyrXPAQ/s220/01+JPG.JPG'/></author><thr:total>0</thr:total></entry></feed>