<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://www.php-suit.com">
<channel>
 <title>PHP Suit</title>
 <link>http://www.php-suit.com</link>
 <description>The PHP isn't terrible... but programmers are.</description>
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/phpsuit" /><feedburner:info uri="phpsuit" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
 <title>PHP scripts minifier</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/FpYKl6Kenz4/php-scripts-minifier</link>
 <description>&lt;p&gt;Nothing special. Just a little online tool for &lt;a href="http://tools.php-suit.com/mini/"&gt;compressing PHP scripts&lt;/a&gt;. This tool strips whitespace and comments from your PHP script, exactly in the same way as the PHP interpreter does.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/FpYKl6Kenz4" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/php-scripts-minifier#comments</comments>
 <category domain="http://www.php-suit.com/category/freetags/compress">compress</category>
 <category domain="http://www.php-suit.com/category/freetags/minify">minify</category>
 <category domain="http://www.php-suit.com/category/freetags/php">PHP</category>
 <category domain="http://www.php-suit.com/category/freetags/tools">Tools</category>
 <category domain="http://www.php-suit.com/category/category/useful-scripts">Useful scripts</category>
 <pubDate>Sun, 12 Jul 2009 14:31:55 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">55 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/php-scripts-minifier</feedburner:origLink></item>
<item>
 <title>Blog: Tips and tricks from other pages IX</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/wZ8lWq2zvKU/blog-tips-and-tricks-other-pages-ix</link>
 <description>&lt;p&gt;About REST and CSS compression.&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;I recently threw together a script that cleans up stylesheets before they are used for production use. Essentially, the css file is re-written to have the smallest possible size, while still remaining fairly readable.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://calv.in/2008/06/how-to-compress-css-files-using-php/"&gt;How to compress .css files using php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;REST is an architectural style, or set of conventions, for web applications and services that centers itself around resource manipulation and the HTTP spec. Web apps have traditionally ignored the HTTP spec and moved forward using a subset of the protocol: GET and POST, 200 OKs and 404 NOT FOUNDs. As we entered a programmable web of applications with APIs the decision to ignore HTTP gave us problems we’re still dealing with today.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.recessframework.org/page/towards-restful-php-5-basic-tips"&gt;Towards RESTful PHP - 5 Basic Tips&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/wZ8lWq2zvKU" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/blog-tips-and-tricks-other-pages-ix#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/freetags/compression">compression</category>
 <category domain="http://www.php-suit.com/category/freetags/css">CSS</category>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/freetags/rest">REST</category>
 <pubDate>Sun, 31 May 2009 13:55:14 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">54 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/blog-tips-and-tricks-other-pages-ix</feedburner:origLink></item>
<item>
 <title>PHP functions in JavaScript</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/L-egBRtuAZY/php-functions-javascript</link>
 <description>&lt;p&gt;If you're frustrated with JavaScript and its "higher-level function support", remembering the rich PHP library, try this. &lt;a href="http://phpjs.org/"&gt;PHP.JS&lt;/a&gt; is an open source project in which we try to port PHP functions to JavaScript. By including the PHP.JS library in your own projects, you can use your favorite PHP functions on the client-side.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/L-egBRtuAZY" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/php-functions-javascript#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/freetags/javascript">JavaScript</category>
 <category domain="http://www.php-suit.com/category/freetags/js">JS</category>
 <category domain="http://www.php-suit.com/category/freetags/php">PHP</category>
 <category domain="http://www.php-suit.com/category/category/useful-scripts">Useful scripts</category>
 <pubDate>Sun, 12 Apr 2009 22:03:51 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">53 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/php-functions-javascript</feedburner:origLink></item>
<item>
 <title>Blog: Self-extracting archives in PHP</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/venRJs64fLc/blog-self-extracting-archives-php</link>
 <description>&lt;p&gt;How to create a self-extracting PHP script?&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;The __halt_compiler(); function in php enables to store some additional data in a php-file without blowing up the memory. A very nice possibility is to use this for a self-extracting php file as installation-packages of your php application.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.cookiepattern.com/search/label/extracting?max-results=100"&gt;Cookie Pattern: Self-extracting PHP archive&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/venRJs64fLc" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/blog-self-extracting-archives-php#comments</comments>
 <category domain="http://www.php-suit.com/category/freetags/archive">Archive</category>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/freetags/idea">idea</category>
 <category domain="http://www.php-suit.com/category/freetags/scripts">scripts</category>
 <category domain="http://www.php-suit.com/category/freetags/tar">TAR</category>
 <pubDate>Sun, 01 Mar 2009 09:32:36 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">51 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/blog-self-extracting-archives-php</feedburner:origLink></item>
<item>
 <title>Paypal Direct Payment Component Using cURL</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/TNqv2j7UuYk/paypal-direct-payment-component-using-curl</link>
 <description>&lt;p&gt;Another PayPal component for your pages.&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;Looking for a lightweight, easy to use, Paypal credit card processing script? You have found it! This is for Cake 1.2. All you need is cURL and a Paypal API account! Pre-requisites: cURL and Paypal Account with API keys and such&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bakery.cakephp.org/articles/view/paypal-direct-payment-component-using-curl"&gt;Paypal Direct Payment Component Using cURL&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;See also &lt;a href="http://www.php-suit.com/paypal"&gt;my PayPal implementation&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/TNqv2j7UuYk" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/paypal-direct-payment-component-using-curl#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/freetags/paypal">PayPal</category>
 <category domain="http://www.php-suit.com/category/category/useful-scripts">Useful scripts</category>
 <pubDate>Tue, 17 Feb 2009 09:23:51 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">50 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/paypal-direct-payment-component-using-curl</feedburner:origLink></item>
<item>
 <title>Creating system daemon in PHP</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/c4IPc2EGOF4/creating-system-daemon-php</link>
 <description>&lt;p&gt;Kevin van Zonneveld shows how to create daemons (services) in PHP.&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;A daemon is a Linux program that run in the background, just like a 'Service' on Windows. It can perform all sorts of tasks that do not require direct user input. Apache is a daemon, so is MySQL. All you ever hear from them is found in somewhere in /var/log, yet they silently power over 40% of the Internet.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;Everyone knows PHP can be used to create websites. But it can also be used to create desktop applications and commandline tools. And now with a class called System_Daemon, you can even create daemons using nothing but PHP.&lt;cite&gt;&lt;/cite&gt;&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/"&gt;Create daemons in PHP&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/c4IPc2EGOF4" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/creating-system-daemon-php#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/freetags/daemon">Daemon</category>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/freetags/system">System</category>
 <pubDate>Fri, 16 Jan 2009 10:23:59 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">49 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/creating-system-daemon-php</feedburner:origLink></item>
<item>
 <title>Blog: Tips and tricks from other pages VIII</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/Rj2yl_H4ndo/blog-tips-and-tricks-other-pages-viii</link>
 <description>&lt;p&gt;How to validate a credit card number and how to use SSL with cURL?&lt;/p&gt;
&lt;p&gt;Here is the simple &lt;a href="http://www.softwareprojects.com/resources/programming/t-validate-a-credit-card-1682.html"&gt;credit card validating routine&lt;/a&gt; - just only helps validating a given credit card number is legit.&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;Using cURL (in PHP) to access https url is often not as simple as using the proper url. Using it for authentication is also not very clearly documented. This is a mini tutorial for both accessing https url's as well as for http authentication.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.taragana.com/index.php/archive/how-to-use-curl-in-php-for-authentication-and-ssl-communication/"&gt;How To Use cURL (in PHP) For Authentication And SSL Communication&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/Rj2yl_H4ndo" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/blog-tips-and-tricks-other-pages-viii#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/freetags/cards">Cards</category>
 <category domain="http://www.php-suit.com/category/freetags/credit-card">Credit Card</category>
 <category domain="http://www.php-suit.com/category/freetags/curl">CURL</category>
 <category domain="http://www.php-suit.com/category/freetags/https">https</category>
 <category domain="http://www.php-suit.com/category/freetags/mastercard">MasterCard</category>
 <category domain="http://www.php-suit.com/category/freetags/ssl">SSL</category>
 <category domain="http://www.php-suit.com/category/category/useful-scripts">Useful scripts</category>
 <category domain="http://www.php-suit.com/category/freetags/visa">VISA</category>
 <pubDate>Wed, 14 Jan 2009 19:10:38 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">48 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/blog-tips-and-tricks-other-pages-viii</feedburner:origLink></item>
<item>
 <title>Export Database Schema as XML</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/sBIOsR1vsRc/export-database-schema-xml</link>
 <description>&lt;p&gt;Sometimes it can be useful to have a dump of the current database schema. This script&amp;nbsp;reads the schema from a MySQL database and outputs XML that describes the schema.&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;At first we connect to a MySQL database and use the SHOW TABLES command to return all the tables in the database. Next, we iterate over each table and return the fields for each table using the SHOW FIELDS command. Finally, we put all of the returned information into XML. &lt;/cite&gt;&lt;br /&gt;
&lt;a href="http://www.webcheatsheet.com/php/export_database_schema_xml.php"&gt;PHP: Export Database Schema as XML&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/sBIOsR1vsRc" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/export-database-schema-xml#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/freetags/database">database</category>
 <pubDate>Wed, 24 Dec 2008 19:14:00 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">47 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/export-database-schema-xml</feedburner:origLink></item>
<item>
 <title>Three tips to write PHP code defensively</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/fgBPRL3i5IY/three-tips-write-php-code-defensively</link>
 <description>&lt;p&gt;A&amp;nbsp;&lt;a href="http://www.brownphp.com/2008/12/three-important-tips-to-write-php-code-defensively/"&gt;few helpful hints&lt;/a&gt; to help you write your PHP code defensively, protecting your code from malicious attackers&lt;/p&gt;
&lt;p&gt;&lt;cite&gt;The phenomenal growth of PHP applications has also led to a mushrooming of increased quantum of malicious activity. It thus becomes imperative that you write secure PHP code to protect your website. Here are some tips for the same.The three most vulnerable aspects of PHP that can become easily accessible to anyone are XSS (Cross Site Scripting), Global Variables and SQL code.&lt;/cite&gt;&lt;br /&gt;
&lt;a href="http://www.brownphp.com/2008/12/three-important-tips-to-write-php-code-defensively/"&gt;Three Important Tips to Write PHP Code Defensively : Brown PHP&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/fgBPRL3i5IY" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/three-tips-write-php-code-defensively#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <pubDate>Wed, 24 Dec 2008 10:03:42 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">46 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/three-tips-write-php-code-defensively</feedburner:origLink></item>
<item>
 <title>BlogAPI Drupal filter</title>
 <link>http://feedproxy.google.com/~r/phpsuit/~3/UA5G07C9BIA/blogapi-drupal-filter</link>
 <description>&lt;p&gt;Using blog clients such as &lt;a href="http://www.codingrobots.com/blogjet/"&gt;BlogJet&lt;/a&gt; or Windows Live Writer with Drupal can produce some unwanted things, such as ignoring the perex/article break or curious formatting. There is very simple module to solve.&lt;/p&gt;
&lt;p&gt;Someone says at &lt;a href="http://drupal.org/"&gt;Drupal pages&lt;/a&gt;:&lt;br /&gt;
&lt;cite&gt;(&amp;hellip;) WLW's "split post" feature, which is available when using the Movable Type API but not with the Metaweblog API, does not produce the &amp;lt;!--break--&amp;gt; tags that Drupal expects. Instead it produces &amp;lt;!--pagebreak--&amp;gt; sometimes and &amp;lt;!--extended--&amp;gt; other times, despite the fact that before posting, the HTML source within WLW shows &amp;lt;!--more--&amp;gt;. Supporting all of these possible page-breaking tags in Drupal would require hacking the core.&lt;/cite&gt;&lt;br /&gt;
&lt;a href="http://drupal.org/node/295"&gt;BlogApi: post from blog tools | drupal.org&lt;/a&gt;&lt;br /&gt;
I&amp;rsquo;ve extended the module from this discussion and rewrite it for Drupal 5 too. Updated module can convert P and BR tags to NL.&lt;br /&gt;
You can download it here:&lt;/p&gt;
&lt;div class="tablewrapper"&gt;&lt;table class="webfm-attach-list" class="tableclass"&gt;
 &lt;thead&gt;&lt;tr&gt;&lt;th&gt;Attachment&lt;/th&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt; &lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
 &lt;tr class="odd"&gt;&lt;td class="att-title"&gt;&lt;a href="/webfm_send/8/1" title="Download blogapi_break_converter_5.zip" target="_blank"&gt;&lt;img src="http://www.php-suit.com/modules/webfm/image/icon/zip.gif" alt="[file]" title="Download blogapi_break_converter_5.zip"/&gt; &lt;/a&gt;&lt;a href="/webfm_send/8" title="Open blogapi_break_converter_5.zip" target="_blank"&gt;blogapi_break_converter_5.zip&lt;/a&gt;&lt;/td&gt;&lt;td class="att-time"&gt;14/12/08 9:20 am&lt;/td&gt;&lt;td class="att-size"&gt;884 bytes&lt;/td&gt; &lt;/tr&gt;
 &lt;tr class="even"&gt;&lt;td class="att-title"&gt;&lt;a href="/webfm_send/9/1" title="Download blogapi_break_converter.zip" target="_blank"&gt;&lt;img src="http://www.php-suit.com/modules/webfm/image/icon/zip.gif" alt="[file]" title="Download blogapi_break_converter.zip"/&gt; &lt;/a&gt;&lt;a href="/webfm_send/9" title="Open blogapi_break_converter.zip" target="_blank"&gt;blogapi_break_converter.zip&lt;/a&gt;&lt;/td&gt;&lt;td class="att-time"&gt;14/12/08 9:18 am&lt;/td&gt;&lt;td class="att-size"&gt;892 bytes&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/phpsuit/~4/UA5G07C9BIA" height="1" width="1"/&gt;</description>
 <comments>http://www.php-suit.com/blogapi-drupal-filter#comments</comments>
 <category domain="http://www.php-suit.com/category/tags/blog">Blog</category>
 <category domain="http://www.php-suit.com/category/freetags/blogjet">BlogJet</category>
 <category domain="http://www.php-suit.com/category/freetags/drupal">Drupal</category>
 <category domain="http://www.php-suit.com/category/tags/how">How To...</category>
 <category domain="http://www.php-suit.com/category/category/useful-scripts">Useful scripts</category>
 <pubDate>Sun, 14 Dec 2008 16:18:03 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">45 at http://www.php-suit.com</guid>
<feedburner:origLink>http://www.php-suit.com/blogapi-drupal-filter</feedburner:origLink></item>
</channel>
</rss>
