<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Blog-bin &#187; php</title> <atom:link href="http://blog-bin.com/category/php/feed" rel="self" type="application/rss+xml" /><link>http://blog-bin.com</link> <description>A bin for my favorite articles</description> <lastBuildDate>Sun, 27 Nov 2011 14:44:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>PHP Get Current URL</title><link>http://blog-bin.com/php-get-current-url.html</link> <comments>http://blog-bin.com/php-get-current-url.html#comments</comments> <pubDate>Mon, 17 Oct 2011 08:58:07 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[My Likes]]></category> <category><![CDATA[php]]></category> <category><![CDATA[Tips and Tricks]]></category> <category><![CDATA[Computing]]></category> <category><![CDATA[http]]></category> <category><![CDATA[HTTP cookie]]></category> <category><![CDATA[HTTP Secure]]></category> <category><![CDATA[Hypertext Transfer Protocol]]></category> <category><![CDATA[Identifiers]]></category> <category><![CDATA[Microsoft SQL Server]]></category> <category><![CDATA[Technology/Internet]]></category> <category><![CDATA[Uniform Resource Locator]]></category> <category><![CDATA[URI scheme]]></category> <category><![CDATA[URL]]></category> <category><![CDATA[World Wide Web]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=9050</guid> <description><![CDATA[Sometimes it is not as straightforward as one may think to get the current url to use it inside your application. Here is a snippet that I use to fetch the current URL and use it in a script. The &#8230; <a
href="http://blog-bin.com/php-get-current-url.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/php-get-current-url.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP mysql Getting rid of magic quotes problem once and for all</title><link>http://blog-bin.com/php-mysql-getting-rid-of-magic-quotes-problem-once-and-for-all.html</link> <comments>http://blog-bin.com/php-mysql-getting-rid-of-magic-quotes-problem-once-and-for-all.html#comments</comments> <pubDate>Mon, 29 Aug 2011 20:10:14 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips and Tricks]]></category> <category><![CDATA[Magic quotes]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[PHP programming language]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=8221</guid> <description><![CDATA[Here is a simple solution that i have found recently. In you project at very start of your code may be in your conf file some where: This should solve all your magic quotes problems inshAllah. If you post data &#8230; <a
href="http://blog-bin.com/php-mysql-getting-rid-of-magic-quotes-problem-once-and-for-all.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/php-mysql-getting-rid-of-magic-quotes-problem-once-and-for-all.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>php mysql indented subcategory recursive loop</title><link>http://blog-bin.com/php-mysql-indented-subcategory-recursive-loop.html</link> <comments>http://blog-bin.com/php-mysql-indented-subcategory-recursive-loop.html#comments</comments> <pubDate>Sat, 20 Aug 2011 11:46:57 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Tips and Tricks]]></category> <category><![CDATA[category]]></category> <category><![CDATA[Logic]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[recursion]]></category> <category><![CDATA[sub category]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=8094</guid> <description><![CDATA[Here is my simple recursive function to create a category subcategory tree of unlimited subcategories. &#160; &#60;select name="parent_cat"&#62; &#60;option value="0"&#62;Root&#60;/option&#62; &#60;? function get_all_sub_cats($parent_cat_id, $level_string) { $return_str=''; if(!$level_string) { $level_string=''; } $db=new DB(); $db-&#62;open(); $db-&#62;query("select * from categories where parent_id='{$parent_cat_id}'"); $db-&#62;rsset(); &#8230; <a
href="http://blog-bin.com/php-mysql-indented-subcategory-recursive-loop.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/php-mysql-indented-subcategory-recursive-loop.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ob_start &#8211; save php output to a string variable &#8211; The PHP output buffering</title><link>http://blog-bin.com/ob_start-save-php-output-to-a-string-variable-the-php-output-buffering.html</link> <comments>http://blog-bin.com/ob_start-save-php-output-to-a-string-variable-the-php-output-buffering.html#comments</comments> <pubDate>Sat, 13 Aug 2011 06:16:22 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Tips and Tricks]]></category> <category><![CDATA[Buffers]]></category> <category><![CDATA[ob_end_flush]]></category> <category><![CDATA[ob_get_clean]]></category> <category><![CDATA[ob_start]]></category> <category><![CDATA[PHP programming language]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=7979</guid> <description><![CDATA[I want to share this great php utility: the output buffering, it is sometimes very usefull. So what it does ? The PHP output buffering will save all the server outputs ( html and php prints) to a string variable. &#8230; <a
href="http://blog-bin.com/ob_start-save-php-output-to-a-string-variable-the-php-output-buffering.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/ob_start-save-php-output-to-a-string-variable-the-php-output-buffering.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP MYSQL UTF-8</title><link>http://blog-bin.com/php-mysql-utf-8.html</link> <comments>http://blog-bin.com/php-mysql-utf-8.html#comments</comments> <pubDate>Sat, 22 Jan 2011 14:15:36 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[mysql]]></category> <category><![CDATA[php]]></category> <category><![CDATA[Web development]]></category> <category><![CDATA[Computing]]></category> <category><![CDATA[Cross-platform software]]></category> <category><![CDATA[DB Class V 200]]></category> <category><![CDATA[Entertainment_Culture]]></category> <category><![CDATA[Lincoln cent]]></category> <category><![CDATA[SQL]]></category> <category><![CDATA[Technology_Internet]]></category> <category><![CDATA[UTF-8]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=1177</guid> <description><![CDATA[[ad] Connection: SET NAMES 'utf8'; A PHP mysql connection (not totally confirmed, but see tests below) defaults to a latin1 connection, so, your first query after connection should be: mysql_query("SET NAMES 'utf8'"); In php versions 5.2 and later, use mysql_set_charset('utf8',$conn); [ad] &#8230; <a
href="http://blog-bin.com/php-mysql-utf-8.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/php-mysql-utf-8.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>10+ extremely useful PHP classes</title><link>http://blog-bin.com/10-extremely-useful-php-classes.html</link> <comments>http://blog-bin.com/10-extremely-useful-php-classes.html#comments</comments> <pubDate>Fri, 21 Jan 2011 11:03:03 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Web development]]></category> <category><![CDATA[Adobe]]></category> <category><![CDATA[ADOBE SYSTEMS INCORPORATED]]></category> <category><![CDATA[ADOdb]]></category> <category><![CDATA[Akismet]]></category> <category><![CDATA[API]]></category> <category><![CDATA[Blog software]]></category> <category><![CDATA[BSD]]></category> <category><![CDATA[Cache Manager]]></category> <category><![CDATA[Computing]]></category> <category><![CDATA[Content management systems]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Google Inc.]]></category> <category><![CDATA[HTML]]></category> <category><![CDATA[Microsoft Excel]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[MySQL AB]]></category> <category><![CDATA[Oracle]]></category> <category><![CDATA[Oracle Corporation]]></category> <category><![CDATA[pdf]]></category> <category><![CDATA[PHP programming language]]></category> <category><![CDATA[Spamming]]></category> <category><![CDATA[SQL]]></category> <category><![CDATA[Technology_Internet]]></category> <category><![CDATA[traffic site]]></category> <category><![CDATA[web apps]]></category> <category><![CDATA[web service]]></category> <category><![CDATA[WordPress]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=1165</guid> <description><![CDATA[[ad] PHP PSD Reader A few weeks ago, I wrote an article about this PHP which allow you to display any Adobe PSD file on screen. Very usefull to create preview of PSDs designed for clients, for example. Download Browser &#8230; <a
href="http://blog-bin.com/10-extremely-useful-php-classes.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/10-extremely-useful-php-classes.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to display PHP errors in My Script Code When display_errors is Disabled</title><link>http://blog-bin.com/how-to-display-php-errors-in-my-script-code-when-display_errors-is-disabled.html</link> <comments>http://blog-bin.com/how-to-display-php-errors-in-my-script-code-when-display_errors-is-disabled.html#comments</comments> <pubDate>Fri, 03 Dec 2010 13:22:34 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Computer programming]]></category> <category><![CDATA[Computing]]></category> <category><![CDATA[Cross-platform software]]></category> <category><![CDATA[Error message]]></category> <category><![CDATA[gallery site]]></category> <category><![CDATA[Initialisms]]></category> <category><![CDATA[Internet service provider]]></category> <category><![CDATA[ISP]]></category> <category><![CDATA[PHP programming language]]></category> <category><![CDATA[Software engineering]]></category> <category><![CDATA[web hosting isp]]></category> <category><![CDATA[webmaster]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=1111</guid> <description><![CDATA[[ad] If you are like many webmaster who are always making your website more secure, then you will benefit from this small simple tutorial guide on how to show your php errors. This helps when your web hosting isp or &#8230; <a
href="http://blog-bin.com/how-to-display-php-errors-in-my-script-code-when-display_errors-is-disabled.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/how-to-display-php-errors-in-my-script-code-when-display_errors-is-disabled.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>cscart payment installment module addon</title><link>http://blog-bin.com/cscart-payment-installment-module-addon.html</link> <comments>http://blog-bin.com/cscart-payment-installment-module-addon.html#comments</comments> <pubDate>Mon, 25 Oct 2010 21:15:00 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[cscart]]></category> <category><![CDATA[php]]></category> <category><![CDATA[addon]]></category> <category><![CDATA[installment]]></category> <category><![CDATA[module]]></category> <category><![CDATA[Paste]]></category> <category><![CDATA[payment]]></category> <category><![CDATA[Technology/Internet]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=923</guid> <description><![CDATA[[ad] If you are using proxypay as your payment gateway in cscart you can give you visitors/buyers option to pay in installments with this simple cscart module. to use this module/addon following changes in files needs to be done. firstly &#8230; <a
href="http://blog-bin.com/cscart-payment-installment-module-addon.html">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <wfw:commentRss>http://blog-bin.com/cscart-payment-installment-module-addon.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>print all smarty variables in a tpl file using php code in tpl file</title><link>http://blog-bin.com/print-all-smarty-variables-in-a-tpl-file-using-php-code-in-tpl-file.html</link> <comments>http://blog-bin.com/print-all-smarty-variables-in-a-tpl-file-using-php-code-in-tpl-file.html#comments</comments> <pubDate>Mon, 25 Oct 2010 21:02:16 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[a]]></category> <category><![CDATA[all]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Computer programming]]></category> <category><![CDATA[Computing]]></category> <category><![CDATA[file]]></category> <category><![CDATA[in]]></category> <category><![CDATA[print]]></category> <category><![CDATA[smarty]]></category> <category><![CDATA[Software engineering]]></category> <category><![CDATA[Technology/Internet]]></category> <category><![CDATA[Template engines]]></category> <category><![CDATA[TinyButStrong]]></category> <category><![CDATA[tpl]]></category> <category><![CDATA[using]]></category> <category><![CDATA[variables]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=919</guid> <description><![CDATA[[ad] You can use following code to pint all smarty variables accessible within a smarty file by using following php code in tpl file {php} print_r($this-&#62;_tpl_vars); $this-&#62;_tpl_vars[‘title’]=’aaaa’; {/php} [ad] No related content found.]]></description> <wfw:commentRss>http://blog-bin.com/print-all-smarty-variables-in-a-tpl-file-using-php-code-in-tpl-file.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Print all smarty vars</title><link>http://blog-bin.com/print-all-smarty-vars.html</link> <comments>http://blog-bin.com/print-all-smarty-vars.html#comments</comments> <pubDate>Fri, 02 Jul 2010 12:25:47 +0000</pubDate> <dc:creator>Zeeshan Ahmad</dc:creator> <category><![CDATA[php]]></category> <category><![CDATA[Print all smarty vars]]></category> <guid
isPermaLink="false">http://blog-bin.com/?p=692</guid> <description><![CDATA[{php} var_dump($Smarty->_tpl_vars); {/php} No related content found.]]></description> <wfw:commentRss>http://blog-bin.com/print-all-smarty-vars.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
