<?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>Learn PHP &#124; Learn CSS &#124; Learn Javascript</title>
	<atom:link href="http://php.vidhyapith.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://php.vidhyapith.com</link>
	<description>PHP</description>
	<lastBuildDate>Fri, 12 Feb 2010 11:47:59 +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>make dynamic page with php</title>
		<link>http://php.vidhyapith.com/index.php/2010/02/make-dynamic-page-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2010/02/make-dynamic-page-with-php/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 11:47:17 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=206</guid>
		<description><![CDATA[$lang_arr=array();
$lang_arr["Recherche"]=&#8217;Search&#8217;;
$lang_arr["ACCUEIL"]=&#8217;Home&#8217;;
$str=&#8221;&#60;?php \n&#8221;;
foreach ($lang_arr as $key=&#62;$value)
{
echo &#8220;key:&#8221;.$key.&#8221;&#60;br&#62;&#8221;;
echo &#8220;val:&#8221;.$value.&#8221;&#60;br&#62;&#8221;;
$str.=&#8221;$&#8221;.&#8221;lang_arr['$key']=&#8217;$value&#8217;;\n&#8221;;
}
$str.=&#8221; ?&#62;&#8221;;
$openedfile = fopen(&#8216;test.php&#8217;, &#8220;w&#8221;);
fwrite($openedfile, $str);
fclose($openedfile);
]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2010/02/make-dynamic-page-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>post data to other website from your site with php</title>
		<link>http://php.vidhyapith.com/index.php/2010/02/post-data-to-other-website-from-your-site-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2010/02/post-data-to-other-website-from-your-site-with-php/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 11:00:24 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=204</guid>
		<description><![CDATA[$post_fields =&#8221;profile_firstname=test&#38;mail=test@test.com&#38;pass[pass1]=test123&#38;pass[pass2]=test123&#38;profile_lastname=tests&#38;conf_mail=test@test.com&#38;validateage_dob[month]=jan&#38;validateage_dob[day]=2&#38;validateage_dob[year]=1991&#38;profile_sex=Male&#38;decision=1&#38;form_id=user_register&#38;op=yes&#38;profile_debit=0&#38;profile_telephone=67567876&#8243;;
$url=&#8221;your site url&#8221;; //where you want to submit data
$ch = curl_init(); // Initialize a CURL session.
curl_setopt($ch, CURLOPT_URL, $url); // Pass URL as parameter.
curl_setopt($ch, CURLOPT_POST, 1); // use this option to Post a form
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields); // Pass form Fields.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Return Page contents.
$result = curl_exec($ch); // grab URL and pass it to [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2010/02/post-data-to-other-website-from-your-site-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>language translation with google api</title>
		<link>http://php.vidhyapith.com/index.php/2010/02/language-translation-with-google-api/</link>
		<comments>http://php.vidhyapith.com/index.php/2010/02/language-translation-with-google-api/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 10:06:34 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=201</guid>
		<description><![CDATA[class Google_Translate_API {
/**
* Translate a piece of text with the Google Translate API
* @return String
* @param $text String
* @param $from String[optional] Original language of $text. An empty String will let google decide the language of origin
* @param $to String[optional] Language to translate $text to
*/
function translate($text, $from = &#8221;, $to = &#8216;en&#8217;) {
$url = &#8216;http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&#38;q=&#8217;.rawurlencode($text).&#8217;&#38;langpair=&#8217;.rawurlencode($from.&#8217;&#124;&#8217;.$to);
/* $response [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2010/02/language-translation-with-google-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>read files from directory with php</title>
		<link>http://php.vidhyapith.com/index.php/2010/02/read-files-from-directory-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2010/02/read-files-from-directory-with-php/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 10:04:26 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=199</guid>
		<description><![CDATA[if ($handle = opendir(&#8216;flag&#8217;)) {     while (false !== ($file = readdir($handle))) {         if ($file != &#8220;.&#8221; &#38;&#38; $file != &#8220;..&#8221;) {             $file=substr($file,0,strlen($file)-4); 			echo &#8220;$file
&#8220;;        [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2010/02/read-files-from-directory-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>save as file option with php</title>
		<link>http://php.vidhyapith.com/index.php/2010/02/save-as-file-option-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2010/02/save-as-file-option-with-php/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 10:03:16 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=197</guid>
		<description><![CDATA[
 &#60;?php
$file = 'monkey.gif';
if (file_exists($file)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($file));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
ob_clean();
flush();
readfile($file);
exit;
}
?&#62; 

]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2010/02/save-as-file-option-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merge image with php</title>
		<link>http://php.vidhyapith.com/index.php/2009/09/merge-image-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2009/09/merge-image-with-php/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 20:12:46 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[merge image]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=195</guid>
		<description><![CDATA[header(&#8216;Content-type: image/jpg&#8217;); $circle = imagecreatefromgif(&#8220;2.jpg&#8221;); $heart = imagecreatefromgif(&#8220;1.jpg&#8221;); imagecopymerge($circle, $heart, 0, 0, 0, 0, 300, 300, 50); imagecopymerge($circle, $heart, 100, 100, 0, 0, 200, 200, 50); imagecopymerge($circle, $heart, 100, 0, 0, 0, 300, 300, 50); imagecopymerge($circle, $heart, 0, 100, 0, 0, 200, 200, 50); imagegif($circle); imagedestroy($circle); imagedestroy($heart);
]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2009/09/merge-image-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Example with php</title>
		<link>http://php.vidhyapith.com/index.php/2009/09/ajax-example-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2009/09/ajax-example-with-php/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:40:19 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=190</guid>
		<description><![CDATA[Ajax Example
1.create database table for country and state
CREATE TABLE /*!32312 IF NOT EXISTS*/ `country_master` (
  `country_id` int(20) NOT NULL auto_increment,
  `country_name` varchar(50) default NULL,
  `country_lastupdate` date default NULL,
  `admin_id` varchar(20) default NULL,
  `country_status` int(2) default NULL,
  PRIMARY KEY  (`country_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
#
# Dumping data for table &#8216;country_master&#8217;
#
/*!40000 [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2009/09/ajax-example-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>currency converter with php</title>
		<link>http://php.vidhyapith.com/index.php/2009/09/currency-converter-with-php/</link>
		<comments>http://php.vidhyapith.com/index.php/2009/09/currency-converter-with-php/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 07:47:29 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[currency convertor]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=188</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2009/09/currency-converter-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql databse backup</title>
		<link>http://php.vidhyapith.com/index.php/2009/08/mysql-databse-backup/</link>
		<comments>http://php.vidhyapith.com/index.php/2009/08/mysql-databse-backup/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:16:21 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=182</guid>
		<description><![CDATA[MySQL Daily Backup Script
 
Create a script file :- /usr/local/sbin/mysqlbackup.sh
Add below code :-
#!/bin/sh
# Current date
datum=`/bin/date +%Y%m%d-%H`
/usr/bin/mysqldump –user=root –password=RootPassword  \
Database_name &#124; gzip -9 &#62; /home/sqlbackup/${filename}-${datum}.sql.gz
for file in “$( /usr/bin/find /home/sqlbackup -type f -mtime +5 )”
do
/bin/rm -f $file
done
exit 0
crontab -e
Add Below Line :-
0 0 * * * /usr/local/sbin/mysqlbackup.sh &#38;&#62; /dev/null ( For Backup Daily)
Back up with php code
1.create [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2009/08/mysql-databse-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>fulltext search with mysql</title>
		<link>http://php.vidhyapith.com/index.php/2009/08/fulltext-search-with-mysql/</link>
		<comments>http://php.vidhyapith.com/index.php/2009/08/fulltext-search-with-mysql/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:13:53 +0000</pubDate>
		<dc:creator>Elfin Ruler</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://php.vidhyapith.com/?p=180</guid>
		<description><![CDATA[Getting Started With MySQL&#8217;s Full-Text Search Capabilities &#8211; What is Full-Text Searching?
(Page 2 of 6 )
Imagine having a database that contained 10,000 tables. In each of these tables there are 1,000 rows with 100 fields. How would you effectively search this sort of information structure without killing your web server? The answer is MySQL&#8217;s full-text [...]]]></description>
		<wfw:commentRss>http://php.vidhyapith.com/index.php/2009/08/fulltext-search-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
