<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Nisi's work blog</title>
	<link>http://wiki.nisi.ro</link>
	<description>Nisi's work blog - programing tips</description>
	<lastBuildDate>Mon, 21 Nov 2011 08:43:00 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1" -->

	<item>
		<title>How to disable comments notification for WordPress</title>
		<description><![CDATA[Do you receive alot of emails sent by your WordPress Blog becouse people comment your posts? You can turn this off like this: 1. Login to your blog admin page 2. Click on Settings -&#62; Discussion 3. Search in that list for &#8220;E-mail me whenever:&#8221; Now by default you receive email when &#8220;Anyone posts a [...]]]></description>
		<link>http://wiki.nisi.ro/2011/11/how-to-disable-comments-notification-for-wordpress/</link>
			</item>
	<item>
		<title>Unable to find the wrapper &#8220;https&#8221;</title>
		<description><![CDATA[Today I had to put a simple script on one of my hosting server where a &#8220;Facebook Login&#8221; button was available for login. However when I had to run it I encountered the following error: Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper &#8220;https&#8221; &#8211; did you forget to enable it when you configured PHP? [...]]]></description>
		<link>http://wiki.nisi.ro/2011/10/unable-to-find-the-wrapper-https/</link>
			</item>
	<item>
		<title>$_FILES limitation when uploading files in PHP</title>
		<description><![CDATA[Along with the &#8220;upload_max_filesize&#8221; when uploading files with PHP there is another parameter named &#8220;max_file_uploads&#8221; witch prevent uploading more files that the value of this parameter. Default size of this parameter is 20 and is should be enough for more apps then I can count but today I had to repair a bug in a [...]]]></description>
		<link>http://wiki.nisi.ro/2011/10/_files-limitation-when-uploading-files-in-php/</link>
			</item>
	<item>
		<title>7pic &#8211; the new free photo hosting service</title>
		<description><![CDATA[I had stumbled today on 7pic.com website witch is a new and free hosting service for photo sharing. I give it a try and I like it becouse i can use the 7pic uploader to upload picts without to start a browser. Uploaded images are stored in albums and can be shares as an images [...]]]></description>
		<link>http://wiki.nisi.ro/2011/05/7pic-the-new-free-photo-hosting-service/</link>
			</item>
	<item>
		<title>How to use call_user_func_array with a simple function and with class methods</title>
		<description><![CDATA[In this post you will see a example of using call_user_func_array (from PHP) to call a simple function, a public static method from a class and a public method. First I define one function and one class: function add&#40;$p1, $p2&#41;&#123; &#160; &#160;return $p1 + $p2; &#125; &#160; class CSimpleMath&#123; &#160; &#160;function __construct&#40;$v1&#41; &#123; &#160; &#160; [...]]]></description>
		<link>http://wiki.nisi.ro/2011/05/how-to-use-call_user_func_array-with-a-simple-function-and-with-class-methods/</link>
			</item>
	<item>
		<title>&#8220;Progress bar&#8221; for long running cron scripts in PHP</title>
		<description><![CDATA[Long running scripts can be a pain if you dont know how much will be running. If you need to see a progress and flush() or ob_flush() do not work becouse of browser cache you can implement an &#8220;email progress bar&#8221;. PHP example: $step = 0; $last_percent = 0; $total_rows = while&#40;1&#41; &#123; &#160; &#160;$step++; [...]]]></description>
		<link>http://wiki.nisi.ro/2011/05/progress-bar-for-long-running-cron-scripts-in-php/</link>
			</item>
	<item>
		<title>Apple spy your iOS 4 iPad and iPhone</title>
		<description><![CDATA[If you want to see what Apple will know about you on your next device sync look for file consolidated.db and open it with a sqlite application or watch it sync over a map with the free application iPhoneTraker (just for MAC users)]]></description>
		<link>http://wiki.nisi.ro/2011/04/apple-spy-your-ios-4-ipad-and-iphone/</link>
			</item>
	<item>
		<title>Prevent Firefox to load css/js from cache</title>
		<description><![CDATA[This days I was working on a webpage but to test in Firefox was a pain. Firefox store css and js in cache with the rest of the page. Reloading page with CRTL + F5 combination seems to reload from server the page but not the css/js files. After hours of frustration and complete cache [...]]]></description>
		<link>http://wiki.nisi.ro/2011/03/prevent-firefox-to-load-cssjs-from-cache/</link>
			</item>
	<item>
		<title>How to replace substring in MySQL table field</title>
		<description><![CDATA[This replace will search in every row of the table where condition from WHERE is true and replace function will replace all instances in a string. ex. if you have text &#8220;hello world&#8221; and you want to replace the &#8220;o&#8221; letter with &#8220;*&#8221; this will will transform the text in &#8220;hell* w*rld&#8221; UPDATE `mytable` SET [...]]]></description>
		<link>http://wiki.nisi.ro/2011/03/how-to-replace-substring-in-mysql-table-field/</link>
			</item>
	<item>
		<title>PHP: trim spaces in the middle of a string</title>
		<description><![CDATA[When you let users input text in a textfield or input box iti is always a good ideea to use trim function to remove spaces form the begining or the end of the string. Today I needed a function to trim spaces from the middle of a string and replace with a single space. /* [...]]]></description>
		<link>http://wiki.nisi.ro/2011/02/php-trim-spaces-in-the-middle-of-a-string/</link>
			</item>
</channel>
</rss>

