<?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"
	>

<channel>
	<title>EaseMarry Blogs</title>
	<atom:link href="http://www.easemarry.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.easemarry.com/blog</link>
	<description>php and java code</description>
	<pubDate>Sun, 17 Aug 2008 16:14:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Export RSS 1.0 or 2.0 feeds to an array</title>
		<link>http://www.easemarry.com/blog/export-rss-10-or-20-feeds-to-an-array/</link>
		<comments>http://www.easemarry.com/blog/export-rss-10-or-20-feeds-to-an-array/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 16:04:00 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Array]]></category>

		<category><![CDATA[Case 2]]></category>

		<category><![CDATA[Channel Description]]></category>

		<category><![CDATA[Description Language]]></category>

		<category><![CDATA[Item Description]]></category>

		<category><![CDATA[Language Channel]]></category>

		<category><![CDATA[Link Description]]></category>

		<category><![CDATA[Raw Data]]></category>

		<category><![CDATA[Simplexml]]></category>

		<category><![CDATA[Xml]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/export-rss-10-or-20-feeds-to-an-array/</guid>
		<description><![CDATA[
?View Code PHP&#60; ?php
/*     exportrss.php
*      Copyright 2007 Alec Hussey &#60;alec.hussey@gmail.com&#62;
*      This program is free software; you can redistribute it and/or modify
*      it under the terms of the GNU General Public License as published by
*   [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/export-rss-10-or-20-feeds-to-an-array/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using sockets in PHP : Get articles from Usenet</title>
		<link>http://www.easemarry.com/blog/using-sockets-in-php-get-articles-from-usenet/</link>
		<comments>http://www.easemarry.com/blog/using-sockets-in-php-get-articles-from-usenet/#comments</comments>
		<pubDate>Fri, 23 May 2008 16:53:11 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code]]></category>

		<category><![CDATA[PHP Development]]></category>

		<category><![CDATA[Connect System]]></category>

		<category><![CDATA[Domain Name]]></category>

		<category><![CDATA[Internet Domain]]></category>

		<category><![CDATA[Ip Address]]></category>

		<category><![CDATA[Local Hosts]]></category>

		<category><![CDATA[Lt]]></category>

		<category><![CDATA[Network News Transfer Protocol]]></category>

		<category><![CDATA[Nntp Server]]></category>

		<category><![CDATA[Protocols]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[Server Thanks]]></category>

		<category><![CDATA[Socket Connection]]></category>

		<category><![CDATA[Socket Port]]></category>

		<category><![CDATA[Sockets]]></category>

		<category><![CDATA[String Hostname]]></category>

		<category><![CDATA[Tcp Socket]]></category>

		<category><![CDATA[Udp Connections]]></category>

		<category><![CDATA[Unix Domain]]></category>

		<category><![CDATA[Unsuccessful Attempt]]></category>

		<category><![CDATA[Usenet News Server]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/using-sockets-in-php-get-articles-from-usenet/</guid>
		<description><![CDATA[http://www.phpbuilder.net/columns/armel20010427.php3
PHP can open sockets on remote or local hosts. Here is a hands-on example of using such a socket: getting connected to a Usenet News Server, talking to this server, and downloading some articles for a precise newsgroup.
Opening a socket in PHP
Sockets are opened using fsockopen(). This function is both available in PHP3 and PHP4. [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/using-sockets-in-php-get-articles-from-usenet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Send Email from your GMAIL account using java</title>
		<link>http://www.easemarry.com/blog/java-use-gmail-account-to-send-mail/</link>
		<comments>http://www.easemarry.com/blog/java-use-gmail-account-to-send-mail/#comments</comments>
		<pubDate>Wed, 14 May 2008 04:40:56 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Java Code]]></category>

		<category><![CDATA[Apache Log4j]]></category>

		<category><![CDATA[Final Void]]></category>

		<category><![CDATA[Gmail]]></category>

		<category><![CDATA[Import Java]]></category>

		<category><![CDATA[Internetaddress]]></category>

		<category><![CDATA[Java Mail]]></category>

		<category><![CDATA[Java Security]]></category>

		<category><![CDATA[Java Util Properties]]></category>

		<category><![CDATA[Mail Internet]]></category>

		<category><![CDATA[Mail Message]]></category>

		<category><![CDATA[Mail Package]]></category>

		<category><![CDATA[Mail Session]]></category>

		<category><![CDATA[Mail Smtp]]></category>

		<category><![CDATA[Mail Transport]]></category>

		<category><![CDATA[String Password]]></category>

		<category><![CDATA[String Username]]></category>

		<category><![CDATA[Title Msg]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/java-use-gmail-account-to-send-mail/</guid>
		<description><![CDATA[
?View Code JAVApackage com.util.mail;   
&#160;
import java.security.Security; 
import java.util.Date; 
import java.util.Properties;   
&#160;
import javax.mail.Authenticator; 
import javax.mail.Message; 
import javax.mail.MessagingException; 
import javax.mail.PasswordAuthentication; 
import javax.mail.Session; 
import javax.mail.Transport; 
import javax.mail.internet.InternetAddress; 
import javax.mail.internet.MimeMessage;   
&#160;
import org.apache.log4j.Logger;   
&#160;
 public static final void sendMail&#40;String to, String title, String content&#41; &#123; 
  try &#123; 
     Security.addProvider&#40;new com.sun.net.ssl.internal.ssl.Provider&#40;&#41;&#41;; 
   final String SSL_FACTORY = [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/java-use-gmail-account-to-send-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Edit this page form and left when prompted to do (jQuery)</title>
		<link>http://www.easemarry.com/blog/edit-this-page-form-and-left-when-prompted-to-do-jquery/</link>
		<comments>http://www.easemarry.com/blog/edit-this-page-form-and-left-when-prompted-to-do-jquery/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 10:10:08 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[AjAX]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[onbeforeunload]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/edit-this-page-form-and-left-when-prompted-to-do-jquery/</guid>
		<description><![CDATA[
?View Code JAVASCRIPT$.fn.enable_changed_form_confirm = function &#40;&#41; &#123;
var _f = this;
$&#40;':text, :password, textarea', this&#41;.each&#40;function&#40;&#41; &#123;
$&#40;this&#41;.attr&#40;'_value', $&#40;this&#41;.val&#40;&#41;&#41;;
&#125;&#41;;
&#160;
$&#40;':checkbox, :radio', this&#41;.each&#40;function&#40;&#41; &#123;
var _v = this.checked ? 'on' : 'off';
$&#40;this&#41;.attr&#40;'_value', _v&#41;;
&#125;&#41;;
&#160;
$&#40;'select', this&#41;.each&#40;function&#40;&#41; &#123;
$&#40;this&#41;.attr&#40;'_value', this.options&#91;this.selectedIndex&#93;.value&#41;;
&#125;&#41;;
&#160;
$&#40;this&#41;.submit&#40;function&#40;&#41; &#123;
window.onbeforeunload = null;
&#125;&#41;;
&#160;
window.onbeforeunload = function&#40;_f&#41; &#123;
if&#40;is_form_changed&#40;_f&#41;&#41; &#123;
return &#34;You will lose any unsaved content.&#34;;
&#125;
&#125;
&#125;
&#160;
function is_form_changed&#40;f&#41; &#123;
var changed = false;
$&#40;':text, :password, textarea', f&#41;.each&#40;function&#40;&#41; &#123;
var _v = $&#40;this&#41;.attr&#40;'_value'&#41;;
if&#40;typeof&#40;_v&#41; == [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/edit-this-page-form-and-left-when-prompted-to-do-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mysql backup</title>
		<link>http://www.easemarry.com/blog/mysql-backup/</link>
		<comments>http://www.easemarry.com/blog/mysql-backup/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 04:03:30 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[DataBase]]></category>

		<category><![CDATA[Mysql]]></category>

		<category><![CDATA[mysql backup]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/mysql-backup/</guid>
		<description><![CDATA[usage
#mysqldump [options] db_name [tables]
#mysqldump [options] &#8211;databases db_name1 [db_name2 db_name3...]
#mysqldump [options] &#8211;all-databases
Example
#mysqldump -u root -p mydatabase &#62; db.sql
Specific table
#mysqldump -u root -p mydatabase -tables customer &#62; db.sql
How to restore database
#mysql -u root -p database &#60; db.sql
If want to restore to specific database
mysql -u root -pMyPassword MyDatabase &#60; db.sql
]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/mysql-backup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple PHP Cache Manager Class</title>
		<link>http://www.easemarry.com/blog/simple-php-cache-manager-class/</link>
		<comments>http://www.easemarry.com/blog/simple-php-cache-manager-class/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 03:54:00 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code]]></category>

		<category><![CDATA[PHP Development]]></category>

		<category><![CDATA[Arbitrary Data]]></category>

		<category><![CDATA[Cache Data]]></category>

		<category><![CDATA[Cache Files]]></category>

		<category><![CDATA[Cache Manager]]></category>

		<category><![CDATA[Cached Data]]></category>

		<category><![CDATA[Life Time]]></category>

		<category><![CDATA[Php Cache]]></category>

		<category><![CDATA[Root Directory]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/simple-php-cache-manager-class/</guid>
		<description><![CDATA[This class can be used to cache arbitrary data in files.
It can check if the cache with a certain key already exists. If it exists and it is not expired, it can return the cached data. Otherwise it can store newly generated data in a cache file with the given key.
The class can be configured [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/simple-php-cache-manager-class/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP functions to Apache handle.htpasswd file</title>
		<link>http://www.easemarry.com/blog/php-functions-to-apache-handlehtpasswd-file/</link>
		<comments>http://www.easemarry.com/blog/php-functions-to-apache-handlehtpasswd-file/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 16:47:12 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code]]></category>

		<category><![CDATA[Apache Password]]></category>

		<category><![CDATA[Crypt]]></category>

		<category><![CDATA[Exit]]></category>

		<category><![CDATA[Function]]></category>

		<category><![CDATA[Key Value]]></category>

		<category><![CDATA[Line Key]]></category>

		<category><![CDATA[Match]]></category>

		<category><![CDATA[Php Apache]]></category>

		<category><![CDATA[Php File]]></category>

		<category><![CDATA[Php Functions]]></category>

		<category><![CDATA[Value Line]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/php-functions-to-apache-handlehtpasswd-file/</guid>
		<description><![CDATA[
?View Code PHP&#60; ?php
/*
&#160;
 Author : Mitko Kostov
 Weblog : http://mkostov.wordpress.com 
 Mail :mitko.kostov@gmail.com
 Date : 12/21/2007
 Used : PHP and Smarty
&#160;
*/
// function to register user
function regUser&#40;&#41; &#123;      
        $filename = 'members/password/.htpasswd';
        $data = $_POST&#91;'username'&#93;.&#34;:&#34;.htpasswd&#40;$_POST&#91;'password'&#93;&#41;.&#34;\n&#34;;
  [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/php-functions-to-apache-handlehtpasswd-file/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Cookie Handler Class</title>
		<link>http://www.easemarry.com/blog/php-cookie-handler-class/</link>
		<comments>http://www.easemarry.com/blog/php-cookie-handler-class/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 09:51:00 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code]]></category>

		<category><![CDATA[PHP Development]]></category>

		<category><![CDATA[Class Source]]></category>

		<category><![CDATA[Cookie Functions]]></category>

		<category><![CDATA[Cookie Value]]></category>

		<category><![CDATA[Delete Cookie]]></category>

		<category><![CDATA[Handler Class]]></category>

		<category><![CDATA[PHP Cookie]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/php-cookie-handler-class/</guid>
		<description><![CDATA[
This class allows for the handling of normal and serialized cookies as well as switching between these types of cookies.
Cookie Functions:
Write Cookies
Read Cookies
Delete Cookies
Use of this class is fairly simple.
Step 1: Include the class source in your php project using the require or include statement.
Step 2: Instance the cookie class by using the new keyword. [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/php-cookie-handler-class/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP generate new an resizing image</title>
		<link>http://www.easemarry.com/blog/php-generate-new-an-resizing-image/</link>
		<comments>http://www.easemarry.com/blog/php-generate-new-an-resizing-image/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 14:18:55 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code]]></category>

		<category><![CDATA[PHP Development]]></category>

		<category><![CDATA[php image]]></category>

		<category><![CDATA[php resizing]]></category>

		<category><![CDATA[php Thumbnails]]></category>

		<category><![CDATA[resizing image]]></category>

		<category><![CDATA[Thumbnails]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/php-generate-new-an-resizing-image/</guid>
		<description><![CDATA[

?View Code PHP&#60; ?PHP     
class HanroadClass
&#123;
	/************************
	generate new an Resizing image by the PHP GD library
	Support picture format: jpg, gif, png
	$source_img:     Source image path
	$target_dir:     Target image path
	$target_name:    Target image name
	$new_width:      Target image width
	$new_height:    [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/php-generate-new-an-resizing-image/feed/</wfw:commentRss>
		</item>
		<item>
		<title>package transforming all php errors into catchable exceptions</title>
		<link>http://www.easemarry.com/blog/package-transforming-all-php-errors-into-catchable-exceptions/</link>
		<comments>http://www.easemarry.com/blog/package-transforming-all-php-errors-into-catchable-exceptions/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 17:02:55 +0000</pubDate>
		<dc:creator>rueben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[errors]]></category>

		<category><![CDATA[exceptions]]></category>

		<category><![CDATA[package]]></category>

		<guid isPermaLink="false">http://www.easemarry.com/blog/package-transforming-all-php-errors-into-catchable-exceptions/</guid>
		<description><![CDATA[
This package can be used to turn PHP run-time errors into catchable exceptions.
It sets the PHP error handler function to point to a class function that will throw exceptions when an error occurs.
The class throws exceptions of different classes according to the type of PHP error that occurred.
All exception classes are derived from a common [...]]]></description>
		<wfw:commentRss>http://www.easemarry.com/blog/package-transforming-all-php-errors-into-catchable-exceptions/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
