<?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>Fundaa.com</title>
	<atom:link href="http://fundaa.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fundaa.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 12:44:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[SOLVED] duplicate tags in nusoap</title>
		<link>http://fundaa.com/php/solved-duplicate-tags-in-nusoap/</link>
		<comments>http://fundaa.com/php/solved-duplicate-tags-in-nusoap/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 12:31:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=258</guid>
		<description><![CDATA[<br/>When you are using nusoap to connect to a soap webservice. The xml that the class sends to the service is constructed from an array, ie:

$params = array("param1" => "value1", "param2" => "value1");
$result = $client-&#62;call("yourfunctionname", $params);

This works fine. A multidimensional array also constructs a nice nested xml message.
You generally encounter a problem when you need two tags with the same name:

&#60;items&#62;
   &#60;item&#62;value 1&#60;/item&#62;
   &#60;item&#62;value 2&#60;/item&#62;
&#60;/item&#62;
$params = array("items" =&#62; array("item" =&#62; "value 1", "item" =&#62; "value 2"));
$result = $client-&#62;call("yourfunctionname", $params);

The second item in the array overwrites the ...]]></description>
			<content:encoded><![CDATA[<br/><p>When you are using nusoap to connect to a soap webservice. The xml that the class sends to the service is constructed from an array, ie:<br />
<code><br />
$params = array("param1" => "value1", "param2" => "value1");<br />
$result = $client-&gt;call("yourfunctionname", $params);<br />
</code><br />
This works fine. A multidimensional array also constructs a nice nested xml message.<br />
You generally encounter a problem when you need two tags with the same name:<br />
<code><br />
&lt;items&gt;<br />
   &lt;item&gt;value 1&lt;/item&gt;<br />
   &lt;item&gt;value 2&lt;/item&gt;<br />
&lt;/item&gt;<br />
$params = array("items" =&gt; array("item" =&gt; "value 1", "item" =&gt; "value 2"));<br />
$result = $client-&gt;call("yourfunctionname", $params);<br />
</code><br />
The second item in the array overwrites the first which results in:<br />
<code><br />
&lt;items&gt;<br />
   &lt;item&gt;value 2&lt;/item&gt;<br />
&lt;/item&gt;<br />
</code><br />
<strong>The Solution to this problem is:</strong><br />
Don&#8217;t pass array as argument in nusoap call function.<br />
just pass string to call function as nusoap also supports string arguments.<br />
ie:<br />
<code><br />
$params = '&lt;yourfunctionname xmlns="http://namespaceurllink.com"&gt;&lt;items&gt;&lt;item&gt;&lt;value&gt;&lt;/item&gt;&lt;item&gt;value 2&lt;/item&gt;&lt;/item&gt;&lt;/yourfunctionname&gt;';<br />
$result = $client-&gt;call("yourfunctionname", $params);<br />
</code><br />
This will definitely solves your problem.<br />
if not comment your problem in box below.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/php/solved-duplicate-tags-in-nusoap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy mysql db from old to new via SSH</title>
		<link>http://fundaa.com/mysql/copy-mysql-db-from-old-to-new-via-ssh/</link>
		<comments>http://fundaa.com/mysql/copy-mysql-db-from-old-to-new-via-ssh/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 09:12:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=255</guid>
		<description><![CDATA[<br/>For example, if you have database called db_name that you want to copy to new_db_name, you would first create a &#8220;database dump&#8221; file using:
mysqldump -u db_name -p db_name > a.dump 
It will prompt for db password enter it here.
Then create the new database via web hosting control panel
mysql -u new_db_name -p new_db_name < a.dump
It will prompt for db password enter it here
]]></description>
			<content:encoded><![CDATA[<br/><p>For example, if you have database called db_name that you want to copy to new_db_name, you would first create a &#8220;database dump&#8221; file using:</p>
<p>mysqldump -u db_name -p db_name > a.dump </p>
<p>It will prompt for db password enter it here.</p>
<p>Then create the new database via web hosting control panel</p>
<p>mysql -u new_db_name -p new_db_name < a.dump</p>
<p>It will prompt for db password enter it here</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/mysql/copy-mysql-db-from-old-to-new-via-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Search &amp; Replace Tool</title>
		<link>http://fundaa.com/featured/mysql-search-replace-tool/</link>
		<comments>http://fundaa.com/featured/mysql-search-replace-tool/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 12:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=251</guid>
		<description><![CDATA[<br/>This web-based tool written in PHP makes it easy to search and replace text strings in a MySQL database.
Usually, I develop WordPress sites on a local development server and, when they are ready to launch, I move them to a live web server.
MySQL Search &#038; Replace
For database-driven sites created with content management systems like WordPress, Drupal, and Joomla, this means moving any custom themes and plugins, and it often entails exporting data from the development server’s database and copying it to the live web server.
With small databases, your content management ...]]></description>
			<content:encoded><![CDATA[<br/><p>This web-based tool written in PHP makes it easy to search and replace text strings in a MySQL database.</p>
<p>Usually, I develop WordPress sites on a local development server and, when they are ready to launch, I move them to a live web server.</p>
<p>MySQL Search &#038; Replace</p>
<p>For database-driven sites created with content management systems like WordPress, Drupal, and Joomla, this means moving any custom themes and plugins, and it often entails exporting data from the development server’s database and copying it to the live web server.</p>
<p>With small databases, your content management system’s built-in import/export functions might work, or you can even search and replace an exported .sql file using a simple text editor or IDE.</p>
<p>Unfortunately, this doesn’t always work with larger databases, which can often be unruly and cause programs to hang, crash, spit, choke, and curse.</p>
<p>I searched around and found this PHP script by Mark Jackson which makes it much faster and easier to search and replace data across an entire MySQL database.</p>
<p>MySQL Search &#038; Replace Project is Born</p>
<p>I created a quick little front end for Mark’s script using a little XHTML markup and CSS, tweaked a little PHP, and Mark and I decided to package up this tool and release it to the community under the GPL in hopes that it might help some other folks.</p>
<p>The MySQL Search &#038; Replace project is hosted on LaunchPad, where you can report bugs, request features, checkout the latest version, read FAQs, contribute, and collaborate.</p>
<p>Using MySQL Search &#038; Replace with WordPress</p>
<p>Before attempting to search and replace, please make sure to backup your database.</p>
<p>While this tool is easy to use, it’s also quite powerful and could easily cause harm to your database, if you’re not careful. Please make sure to read the included readme.txt file for more detailed instructions.</p>
<p>Since I develop WordPress sites on my local Ubuntu machines using a local LAMP install, the URLs of my work-in-progress sites usually look like:</p>
<p>http://localhost/projects/sewmyheadon</p>
<p>Of course, once I move the site to the web, it’ll probably have an address more like:</p>
<p>http://sewmyheadon.com</p>
<p>Since these URLs usually occur many times in a WordPress database, search and replace can be an invaluable tool in making sure they’re all corrected before moving the database.</p>
<p>Prepare a WordPress Database for a Move:</p>
<p>NOTE: Before running an actual replace, you can simply search to see how many times, and where, the string occurs in the database.</p>
<p>Backup, backup, backup.  Use phpMyAdmin or a WordPress plugin, but make sure you have a backup. You can’t say I didn’t tell you.</p>
<p>Download or checkout the latest version of MySQL Search &#038; Replace</p>
<p>Unzip the files, if necessary, and place the mysql-replace folder on your server.</p>
<p>Double-check that you covered Step #1</p>
<p>Visit the URL for the MySQL Search &#038; Replace Tool in your browser.  The URL might look something like: http://localhost/mysql-replace/</p>
<p>Fill in the necessary fields and click Start.</p>
<p>Get MySQL Search &#038; Replace</p>
<p><a href="http://sewmyheadon.com/wp-content/uploads/2009/11/mysql-replace.zip" >Download</a> MySQL Search &#038; Replace Tool</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/featured/mysql-search-replace-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>when you save the node the restrictions don&#8217;t get saved along with it &#8211; Restricted content module in drupal</title>
		<link>http://fundaa.com/drupal/when-you-save-the-node-the-restrictions-dont-get-saved-along-with-it-restricted-content-module-in-drupal/</link>
		<comments>http://fundaa.com/drupal/when-you-save-the-node-the-restrictions-dont-get-saved-along-with-it-restricted-content-module-in-drupal/#comments</comments>
		<pubDate>Fri, 13 May 2011 07:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=249</guid>
		<description><![CDATA[<br/>Ran into a problem on node form add: there is no nid assigned, so when you save the node the restrictions don&#8217;t get saved along with it. The node doesn&#8217;t exist, so at that point in the form it has no nid &#8212; a value of nid=0 was being added to {restricted content}.
What the user would see is the access restriction just not being saved. They&#8217;d have to go back in and edit the saved node, and then set the access again before it would &#8220;take.&#8221;
Here is the solution :
function ...]]></description>
			<content:encoded><![CDATA[<br/><p>Ran into a problem on node form add: there is no nid assigned, so when you save the node the restrictions don&#8217;t get saved along with it. The node doesn&#8217;t exist, so at that point in the form it has no nid &#8212; a value of nid=0 was being added to {restricted content}.</p>
<p>What the user would see is the access restriction just not being saved. They&#8217;d have to go back in and edit the saved node, and then set the access again before it would &#8220;take.&#8221;</p>
<p>Here is the solution :</p>
<p><strong>function restricted_content_nodeapi(&#038;$node, $op, $teaser = NULL, $page = NULL) {</p>
<p>   if ($op == &#8216;delete&#8217;) {</p>
<p>     db_query(&#8220;DELETE FROM {restricted_content} WHERE nid = %d&#8221;, $node->nid);</p>
<p>   }</p>
<p>+  elseif ($op == &#8216;insert&#8217;) {</p>
<p>+    $rids = array_keys(array_filter($node->restricted_content['rids']));</p>
<p>+       if ($rids) {</p>
<p>+       db_query(&#8220;INSERT INTO {restricted_content} VALUES (%d,&#8217;%s&#8217;)&#8221;, $node->nid, serialize($rids));</p>
<p>+       }</p>
<p>+    }</p>
<p>   elseif ($op == &#8216;alter&#8217; &#038;&#038; !restricted_content_form_access($node->uid) &#038;&#038; !restricted_content_node_access($node->nid)) {</p>
<p>     $message = restricted_content_var(&#8216;message&#8217;);</p>
<p>     $node->restricted = TRUE;</strong></p>
<p>Add another else if &#8220;insert&#8221; option </p>
<p>it&#8217;s work for me, best of luck to you&#8230;.. <img src='http://fundaa.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/drupal/when-you-save-the-node-the-restrictions-dont-get-saved-along-with-it-restricted-content-module-in-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic Price Updater in Zencart</title>
		<link>http://fundaa.com/zen-cart/dynamic-price-updater-in-zencart/</link>
		<comments>http://fundaa.com/zen-cart/dynamic-price-updater-in-zencart/#comments</comments>
		<pubDate>Mon, 09 May 2011 07:32:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=246</guid>
		<description><![CDATA[<br/>Dynamic price updater is a module which u can use to update the price on the product info page of the Zen cart. When u select any check-box or select from drop down or input the quantity of the product it dynamically updates the price on the the product info page which is a very useful tool in the zen cart.
It uses the ajax and jscript to update the price dynamically. Click here to download the files

After downloading the file just include the files in your project as they are ...]]></description>
			<content:encoded><![CDATA[<br/><p>Dynamic price updater is a module which u can use to update the price on the product info page of the Zen cart. When u select any check-box or select from drop down or input the quantity of the product it dynamically updates the price on the the product info page which is a very useful tool in the zen cart.<br/><br />
It uses the ajax and jscript to update the price dynamically. <a href="http://chrome.me.uk/PriceUpdater.zip" target="_blank">Click here</a> to download the files<br/><br />
<br/></p>
<p>After downloading the file just include the files in your project as they are given in the folder structure you downloaded the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/zen-cart/dynamic-price-updater-in-zencart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing Browser Cache in php</title>
		<link>http://fundaa.com/featured/preventing-browser-cache-in-php/</link>
		<comments>http://fundaa.com/featured/preventing-browser-cache-in-php/#comments</comments>
		<pubDate>Mon, 09 May 2011 06:47:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=242</guid>
		<description><![CDATA[<br/>If you dont want that browser dont cache your web page just add the following code in header.


&#60;?php
  header("Cache-Control: no-cache, must-revalidate");           // HTTP/1.1
  header("Pragma: no-cache");                                   // HTTP/1.0
 ?&#62;


this will set server to not cache web content of this perticuler page.
]]></description>
			<content:encoded><![CDATA[<br/><p>If you dont want that browser dont cache your web page just add the following code in header.<br />
<br />
<code><br />
&lt;?php<br />
  header("Cache-Control: no-cache, must-revalidate");           // HTTP/1.1<br />
  header("Pragma: no-cache");                                   // HTTP/1.0<br />
 ?&gt;<br />
</code><br />
<br />
this will set server to not cache web content of this perticuler page.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/featured/preventing-browser-cache-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[solved] google analytics not working</title>
		<link>http://fundaa.com/wordpress/solved-google-analytics-not-working/</link>
		<comments>http://fundaa.com/wordpress/solved-google-analytics-not-working/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 10:58:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=239</guid>
		<description><![CDATA[<br/>When google analytics module stop working,
follow below steps to get back working
&#8211; check your modules compatibility if module has a new updates then update that module
&#8211; check your footer id there is function wp_footer() is there or not
&#8211; check your Analytics Account ID has right value
]]></description>
			<content:encoded><![CDATA[<br/><p>When google analytics module stop working,</p>
<p>follow below steps to get back working</p>
<p>&#8211; check your modules compatibility if module has a new updates then update that module</p>
<p>&#8211; check your footer id there is function wp_footer() is there or not</p>
<p>&#8211; check your Analytics Account ID has right value</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/wordpress/solved-google-analytics-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

