<?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>Php freelancer for hire</title>
	<atom:link href="http://www.getfreelancer.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.getfreelancer.com/blog</link>
	<description>Looking for php,mysql,perl,soap,api,css,xtml freelancer and server admin? You came to the right place! Just drop your message with a description of what needs to be done.</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:47:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>copy photos from iphone4 to xp without iTunes</title>
		<link>http://www.getfreelancer.com/blog/articles/copy-photos-from-iphone4-to-xp-without-itunes/</link>
		<comments>http://www.getfreelancer.com/blog/articles/copy-photos-from-iphone4-to-xp-without-itunes/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 17:58:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.elsw.com/?p=116</guid>
		<description><![CDATA[Well, while I was in London, I bought iPhone4 directly from the Apple. I have my own opinion about this phone, and will write an article about that, but now I want to talk about the other things. My main task was JUST COPY photos from my iPhone4 to XP. Peace of cake, right?  Well&#8230;. the problem [...]]]></description>
			<content:encoded><![CDATA[<p>Well, while I was in London, I bought iPhone4 directly from the Apple. I have my own opinion about this phone, and will write an article about that, but now I want to talk about the other things.</p>
<p>My main task was JUST COPY photos from my iPhone4 to XP. Peace of cake, right?  Well&#8230;. the problem was that I frequently use 3G internet, and am limited to 1GB per month. ( I know, I know&#8230; but this is mobile Internet&#8230; ) So I DOD NOT wanted to use iTunes, because:</p>
<ul>
<li>I don&#8217;t want to download 100MB just to copy images&#8230;</li>
<li>My 3G connection is limited.</li>
<li>I wanted as simple solution as possible.</li>
</ul>
<div>So&#8230; I found another solution. There is a usb driver for XP to recognize iPhone as camera.  <a title="Download Apple USB driver for XP to recognize iPhone4" href="http://www.elsw.com/wp-content/uploads/2011/09/usbaapl.zip" target="_blank">iPhone4 USB driver for windows XP</a>.</div>
<div>Download the file, extract the driver to windows/system32/drivers, and that&#8217;s all. I just don&#8217;t remember, it a reboot needs to be done.</div>
<div>But now XP recognized my iPhone4, and added device as camera. So I could and still can copy photos/movies without any additional resources.</div>
<div>If you XP already detects your iPhone as unknown device, just select update driver.</div>
<div>I hope this will help for somebody as well, as I&#8217;ve been looking for such a solution for a while.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/articles/copy-photos-from-iphone4-to-xp-without-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Uncaught exception &#8216;Swift_Rfc ComplianceException&#8217; with message &#8216;Address in mailbox given</title>
		<link>http://www.getfreelancer.com/blog/php-tips/fatal-error-uncaught-exception-swift_rfccomplianceexception-with-message-address-in-mailbox-given/</link>
		<comments>http://www.getfreelancer.com/blog/php-tips/fatal-error-uncaught-exception-swift_rfccomplianceexception-with-message-address-in-mailbox-given/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 16:31:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP tips]]></category>

		<guid isPermaLink="false">http://www.elsw.com/?p=107</guid>
		<description><![CDATA[Yep, just another open source software errors I&#8217;ve got. In my situation,  I was using news-mailer plugin for wordpress, as I needed to send some mails to all registered users. While testing this plugin with my email, everything went ok, but as soon as I tried sending email to all users, I&#8217;ve got this error: [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, just another open source software errors I&#8217;ve got.</p>
<p>In my situation,  I was using news-mailer plugin for wordpress, as I needed to send some mails to all registered users. While testing this plugin with my email, everything went ok, but as soon as I tried sending email to all users, I&#8217;ve got this error:</p>
<p><span style="color: #ff0000;">Fatal error: Uncaught exception &#8216;Swift_RfcComplianceException&#8217; with message &#8216;Address in mailbox given [some@email] does not comply with RFC 2822</span></p>
<p>Yes, some of the emails list were not compatible with RFC2822. So what? I needed to send emails anyway. There are several ways of solution of this problem.  File causing problems was:</p>
<p><span style="color: #ff0000;">wp-content/plugins/news-mailer/swift/lib/classes/Swift/Mime/Headers/MailboxHeader.php</span></p>
<p>As you can see, this plugin uses Swift mailer.</p>
<p>First of if, I could manually verify every email passed to emailer.  Emails passed as an array list. But&#8230; I needed solution right now. So I made it simple way:</p>
<p>in fhe file mentioned above (MailboxHeader.php)  I modified function</p>
<p>&nbsp;</p>
<pre><span style="color: #0000ff;"><strong>private function</strong></span> _assertValidAddress($address)
  {

	<span style="color: #99cc00;">return; /* Fix; skipping email format RFC2822 check */</span>
	if (!preg_match('/^' . $this-&gt;getGrammar('addr-spec') . '$/D', $address))
    {
      throw new Swift_RfcComplianceException(
        'Address in mailbox given [' . $address .
        '] does not comply with RFC 2822, 3.6.2.'
        );
    }
  }</pre>
<p>As you see, I just added one line. I could comment entire code, or just remove it. But I wanted to leave original code, if I will use another fix. Well, I don&#8217;t plan to do that <img src='http://www.getfreelancer.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>As I mentioned, I would prefer another fixes: validate each email in array, or instead of <em>throw <strong><span style="color: #0000ff;">new</span></strong> Swift_RfcComplianceException</em>, I would like to suspend that user, or remove him, or send warning message.  Anyway. I needed couple minutes fix, so made it easy way.</p>
<p>I hope this will help for some webmasters, who needed a quick solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/php-tips/fatal-error-uncaught-exception-swift_rfccomplianceexception-with-message-address-in-mailbox-given/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress wp-mail.php command failed error</title>
		<link>http://www.getfreelancer.com/blog/php-tips/wordpress-wp-mail-php-command-failed-error/</link>
		<comments>http://www.getfreelancer.com/blog/php-tips/wordpress-wp-mail-php-command-failed-error/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 17:53:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP tips]]></category>

		<guid isPermaLink="false">http://www.elsw.com/?p=98</guid>
		<description><![CDATA[I use wordpress post via email feature, and use default script, wp-mail.php which connects to emailbox, reads emails and posts them into blog. Almost everything was working OK, untill I noticed lots of dublicated posts. I tried to run the file directly, and almost all posts were ok, but script stucked on one post(email message). [...]]]></description>
			<content:encoded><![CDATA[<p>I use wordpress post via email feature, and use default script, wp-mail.php which connects to emailbox, reads emails and posts them into blog.<br />
Almost everything was working OK, untill I noticed lots of dublicated posts.</p>
<p>I tried to run the file directly, and almost all posts were ok, but script stucked on one post(email message).  I reloaded the script(wp-mail.php). The results was the same. Script read all the messages AGAIN, and stuck on the same post again, with the error:  <span style="color: #ff0000;">Oops POP3 delete: Command failed</span> . Reloaded again. The same result again. This way I inserted triple posts <img src='http://www.getfreelancer.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  And mailbox was not cleaned, the inserted messages were not deleted.</p>
<p>I&#8217;ve made a simple solution. WP-mail.php closes POP3 session and quits:</p>
<p style="padding-left: 30px;">if(!$pop3-&gt;delete($i)) {<br />
echo &#8216;&lt;p&gt;&#8217; . sprintf(__(&#8216;Oops: %s&#8217;), esc_html($pop3-&gt;ERROR)) . &#8216;&lt;/p&gt;&#8217;;<br />
<span style="color: #ff0000;">$pop3-&gt;reset();</span><br />
exit;<br />
}</p>
<p>POP3 reset command resets any messages which have been marked as read or deleted to the standard unread state. So they will be posted again on the next POP3 session. I decided to make it easy way. Instead of reset messages, I forced quit command:</p>
<p style="padding-left: 30px;">if(!$pop3-&gt;delete($i)) {<br />
echo &#8216;&lt;p&gt;&#8217; . sprintf(__(&#8216;Oops: %s&#8217;), esc_html($pop3-&gt;ERROR)) . &#8216;&lt;/p&gt;&#8217;;<br />
<span style="color: #99cc00;">$pop3-&gt;quit(); /* forced quit without reset */</span><br />
exit;<br />
}</p>
<p>As far as all read messages on session quit are deleted, I got rid off that stuck errors. And that error post is NOT inserted into my blog.</p>
<p>I hope this may help save some time to other bloggers. If this file is overwritten when updating wordpress, you need to modify wp-mail.php again.</p>
<p>This solution may be valid only if you have many messages, and only sometimes this error occurs. If you get this error on ALL messages, I suppose this solution it NOT for your case, as there are some other errors, like possible message formatting, character encoding errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/php-tips/wordpress-wp-mail-php-command-failed-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMF 2.0 insert post via function API</title>
		<link>http://www.getfreelancer.com/blog/php-tips/smf-2-0-insert-post-via-function-api/</link>
		<comments>http://www.getfreelancer.com/blog/php-tips/smf-2-0-insert-post-via-function-api/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 19:01:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP tips]]></category>

		<guid isPermaLink="false">http://www.elsw.com/?p=96</guid>
		<description><![CDATA[I decided to create an automated forum poster for SMF forums. Found description  of their function reference. Function was located at Subs-Post.php Function name:  createPost Function description Inserts a new post into the database with the appropriate options. Function syntax bool createPost (array &#38;$msgOptions, array &#38;$topicOptions, array &#38;$posterOptions); I will not repeat their description, here is a direct link. However, I&#8217;ve met [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to create an automated forum poster for SMF forums. Found description  of their function reference. Function was located at Subs-Post.php</p>
<p>Function name:  <span class="Apple-style-span" style="font-size: 15px; font-weight: bold;">createPost</span></p>
<p><span class="Apple-style-span" style="font-weight: bold;">Function description<br />
</span>Inserts a new post into the database with the appropriate options.</p>
<p><strong>Function syntax<br />
</strong><span style="color: #0000ff;">bool</span> <strong>createPost</strong> (<span style="color: #0000ff;">array</span> <strong>&amp;$msgOptions</strong>, <span style="color: #0000ff;">array</span> <strong>&amp;$topicOptions</strong>, <span style="color: #0000ff;">array</span> <strong>&amp;$posterOptions</strong>);</p>
<p>I will not repeat their description, <a href="http://support.simplemachines.org/function_db/index.php?action=view_function;id=323" target="_blank">here is a direct link</a>.</p>
<p>However, I&#8217;ve met unexpected problem, and decided to post the solution here. I hope I will save some time for somebody this way. The problem I&#8217;ve met was fatal error:</p>
<p><span style="color: #ff0000;"><strong>Fatal error</strong>: Function name must be a string in <strong>&#8230;/forum/Sources/Subs-Post.php</strong> on line <strong>1811.</strong></span></p>
<p>The problem detected was, that variable $smcFunc vas empty in Subs-Post.php. As far as I called the function createPost() directly from my forum poster, I&#8217;ve traced this variable, and solution is as follows:</p>
<ul>
<li>require_once(dirname(__FILE__) . &#8216;/Settings.php&#8217;);     this step is NOT a solution,  it just loads some variables,  mainly database.</li>
</ul>
<ul>
<li>require_once(dirname(__FILE__) . &#8216;/SSI.php&#8217;);   this IS a solution.  $smcFunc is defined here.</li>
<li>removed  define(&#8216;SMF&#8217;, true);    this definition is described in SSI.php, so I do not need to duplicate it.  This definition is REQUIRED for separately included files to load.</li>
</ul>
<ul>
<li>require_once(dirname(__FILE__) . &#8216;/Sources/Subs-Post.php&#8217;); this is the next lines of my poster, I need this file, because I need the function createPost();</li>
</ul>
<div>This way I&#8217;ve got rid off that fatal error.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/php-tips/smf-2-0-insert-post-via-function-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>expireddomains.cc</title>
		<link>http://www.getfreelancer.com/blog/my-personal-sites/expireddomains-cc/</link>
		<comments>http://www.getfreelancer.com/blog/my-personal-sites/expireddomains-cc/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 07:10:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My personal sites]]></category>

		<guid isPermaLink="false">http://localhost/www.elsw.com/?p=81</guid>
		<description><![CDATA[Well, at last I decided to create my own design for that site. And I&#8217;ve done this within couple days. The main idea of the site is to create database of soon expiring domains. In general, I wanted to make advanced MySQL tests and procedures with larger databases, over several million records. For the website [...]]]></description>
			<content:encoded><![CDATA[<p>Well, at last I decided to create my own design for that site. And I&#8217;ve done this within couple days. The main idea of the site is to create database of soon expiring domains. In general, I wanted to make advanced MySQL tests and procedures with larger databases, over several million records. For the website it is quite big database, but in with experience I could say it is also a small database. After exploring lots of various scripts, I noticed that all of them are not designed to work with large databases.  I even don&#8217;t talk about full table scans &#8211; they are usually made without any need of doing that. I agree that using LIMIT is the fastest and simplest way to use database row selection, but this is one of the worst decisions. Imagine, if you have a table with 10,000,000 records, and want to select 20 records. I could bet you will use LIMIT. But I wouldn&#8217;t use that. I don&#8217;t need to scan entire table.</p>
<p>That&#8217;s why I&#8217;ve created this site. The main purpose for myself if advanced mysql plays. After right indexing, mysql speed improved around 9,5 times! The tests were made with 500,000 records.</p>
<p>Well, the site is still in beta. I just wanted to show a design I can currently create <img src='http://www.getfreelancer.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  I think it is not a bad beginning for a programmer <img src='http://www.getfreelancer.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/my-personal-sites/expireddomains-cc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dynamikdesign.com</title>
		<link>http://www.getfreelancer.com/blog/my-personal-sites/dynamikdesign-com/</link>
		<comments>http://www.getfreelancer.com/blog/my-personal-sites/dynamikdesign-com/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 21:25:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My personal sites]]></category>

		<guid isPermaLink="false">http://localhost/www.elsw.com/?p=54</guid>
		<description><![CDATA[My anohter  website dedicated to the designers freelance jobs. Site completely automated. Used XML,PHP, MySQL. This site is also getting some traffic. Several years ago, I was in top affiliates competitor on some site, and noticed that this domain has been expired, so registered it again. Month Unique visitors Number of visits Pages Hits Bandwidth [...]]]></description>
			<content:encoded><![CDATA[<p>My anohter  website dedicated to the designers freelance jobs. Site completely automated. Used XML,PHP, MySQL. This site is also getting some traffic. Several years ago, I was in top affiliates competitor on some site, and noticed that this domain has been expired, so registered it again.</p>
<table style="width: 100%;" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td nowrap="nowrap" bgcolor="#ECECEC"><strong>Month</strong></td>
<td nowrap="nowrap" bgcolor="#FF9933"><strong>Unique visitors</strong></td>
<td nowrap="nowrap" bgcolor="#F3F300"><strong>Number of visits</strong></td>
<td nowrap="nowrap" bgcolor="#4477DD"><strong>Pages</strong></td>
<td nowrap="nowrap" bgcolor="#66F0FF"><strong>Hits</strong></td>
<td nowrap="nowrap" bgcolor="#339944"><strong>Bandwidth</strong></td>
</tr>
<tr>
<td>Jan 2011</td>
<td>2,181</td>
<td>6,904</td>
<td>19,951</td>
<td>25,230</td>
<td>822.74 MB</td>
</tr>
<tr>
<td>Feb 2011</td>
<td>2,053</td>
<td>6,230</td>
<td>16,873</td>
<td>21,113</td>
<td>655.00 MB</td>
</tr>
<tr>
<td>Mar 2011</td>
<td>2,016</td>
<td>6,078</td>
<td>20,459</td>
<td>24,791</td>
<td>913.48 MB</td>
</tr>
<tr>
<td>Apr 2011</td>
<td>1,975</td>
<td>5,606</td>
<td>20,068</td>
<td>25,844</td>
<td>885.72 MB</td>
</tr>
<tr>
<td>May 2011</td>
<td>2,196</td>
<td>6,444</td>
<td>24,926</td>
<td>33,377</td>
<td>937.34 MB</td>
</tr>
<tr>
<td>Jun 2011</td>
<td>2,862</td>
<td>8,996</td>
<td>38,509</td>
<td>58,957</td>
<td>4.86 GB</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/my-personal-sites/dynamikdesign-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getfreelancer.com</title>
		<link>http://www.getfreelancer.com/blog/my-personal-sites/httpwww-getfreelancer-com/</link>
		<comments>http://www.getfreelancer.com/blog/my-personal-sites/httpwww-getfreelancer-com/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 18:38:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My personal sites]]></category>

		<guid isPermaLink="false">http://localhost/www.elsw.com/?p=20</guid>
		<description><![CDATA[This is one of my oldest websites I&#8217;ve ever launched. I have updated this site&#8217;s design about 5-8 times. Current design will not be changed anymore for at least couple of years, I think. Integrated SMF forum. Some time ago, I have completely removed the forum due spammers. Then I&#8217;ve got a Google PR drop. [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of my oldest websites I&#8217;ve ever launched. I have updated this site&#8217;s design about 5-8 times. Current design will not be changed anymore for at least couple of years, I think. Integrated SMF forum. Some time ago, I have completely removed the forum due spammers. Then I&#8217;ve got a Google PR drop. To be fair, I have my own opinion about Google. I don&#8217;t make pages for Google, I make them to my visitors.  Here is my current traffic excluding spiders:</p>
<table style="width: 100%;" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td nowrap="nowrap" bgcolor="#ECECEC"><strong>Month</strong></td>
<td nowrap="nowrap" bgcolor="#FF9933"><strong>Unique visitors</strong></td>
<td nowrap="nowrap" bgcolor="#F3F300"><strong>Number of visits</strong></td>
<td nowrap="nowrap" bgcolor="#4477DD"><strong>Pages</strong></td>
<td nowrap="nowrap" bgcolor="#66F0FF"><strong>Hits</strong></td>
<td nowrap="nowrap" bgcolor="#339944"><strong>Bandwidth</strong></td>
</tr>
<tr>
<td>Jan 2011</td>
<td>13,683</td>
<td>27,486</td>
<td>183,721</td>
<td>299,870</td>
<td>3.07 GB</td>
</tr>
<tr>
<td>Feb 2011</td>
<td>8,172</td>
<td>18,733</td>
<td>105,187</td>
<td>200,923</td>
<td>1.97 GB</td>
</tr>
<tr>
<td>Mar 2011</td>
<td>13,566</td>
<td>28,789</td>
<td>153,074</td>
<td>330,303</td>
<td>3.49 GB</td>
</tr>
<tr>
<td>Apr 2011</td>
<td>16,597</td>
<td>28,740</td>
<td>126,384</td>
<td>375,678</td>
<td>4.49 GB</td>
</tr>
<tr>
<td>May 2011</td>
<td>10,906</td>
<td>20,468</td>
<td>90,331</td>
<td>196,291</td>
<td>2.13 GB</td>
</tr>
<tr>
<td>Jun 2011</td>
<td>11,524</td>
<td>21,564</td>
<td>105,017</td>
<td>201,356</td>
<td>1.90 GB</td>
</tr>
</tbody>
</table>
<p>I had some thoughts about selling this site but never actively marketed it. If site is profitable, I am not interested too much of selling it. But the price is the king in this case <img src='http://www.getfreelancer.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  I&#8217;ve put this site as one of my portfolio items. Feel free to browse this site. Technologies used: JQuery, Javascript, XHTML,CSS,PHP,MySQL,XML. Well, 100% automated website with admin backend. The future? I am not sure. I still plan to keep this site. And think about what users could be interested with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getfreelancer.com/blog/my-personal-sites/httpwww-getfreelancer-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

