<?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>Web development &#187; Url</title>
	<atom:link href="http://sourcecodemoney.com/tag/url/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcecodemoney.com</link>
	<description>Use source code for money</description>
	<lastBuildDate>Mon, 21 Nov 2011 12:03:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Uploading a file using Curl in PHP</title>
		<link>http://sourcecodemoney.com/uploading-a-file-using-curl-in-php/php-code/</link>
		<comments>http://sourcecodemoney.com/uploading-a-file-using-curl-in-php/php-code/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 01:20:13 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP code]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Exec]]></category>
		<category><![CDATA[Infront]]></category>
		<category><![CDATA[Input Type File]]></category>
		<category><![CDATA[Jpg]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[Random Bits]]></category>
		<category><![CDATA[Upload Files]]></category>
		<category><![CDATA[Upload Php]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[Useragent]]></category>
		<category><![CDATA[Virus Scan]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/uploading-a-file-using-curl-in-php/php-code/</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		Here&#8217;s how to upload files using curl in php: (it&#8217;s very easy) notice the @ infront of the file path, this is the magic part. &#60;?php $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)"); curl_setopt($ch, CURLOPT_URL, _VIRUS_SCAN_URL); curl_setopt($ch, CURLOPT_POST, true); // same as &#60;input type="file" name="file_box"&#62; $post [...]]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/uploading-a-file-using-curl-in-php/php-code/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>Here&#8217;s how to upload files using curl in php: (it&#8217;s very easy)</p>
<p>notice the @ infront of the file path, this is the magic part.</p>
<pre>&lt;?php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)");
    curl_setopt($ch, CURLOPT_URL, _VIRUS_SCAN_URL);
    curl_setopt($ch, CURLOPT_POST, true);
    // same as &lt;input type="file" name="file_box"&gt;
    $post = array(
        "file_box"=&gt;"@/path/to/myfile.jpg",
    );
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
    $response = curl_exec($ch);
?&gt;

Source: http://dtbaker.com.au/random-bits/uploading-a-file-using-curl-in-php.html</pre>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/uploading-a-file-using-curl-in-php/php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run scheduled task using wordpress</title>
		<link>http://sourcecodemoney.com/how-to-run-scheduled-task-using-wordpress/wordpress/</link>
		<comments>http://sourcecodemoney.com/how-to-run-scheduled-task-using-wordpress/wordpress/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 14:59:51 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cron Facility]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix Cron]]></category>
		<category><![CDATA[Url]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=91</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		To run scheduled task you can use UNIX cron facility. It is reliable. But if you want to do it with another way because your hosting does not allow cron job, then you can use wordpress cron by using wordpress plugin. You can use this plugin. After you have installed the plugin, the go to [...]]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/how-to-run-scheduled-task-using-wordpress/wordpress/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>To run scheduled task you can use UNIX cron facility. It is reliable. But if you want to do it with another way because your hosting does not allow cron job, then you can use wordpress cron by using wordpress plugin. You can use <a href="http://downloads.wordpress.org/plugin/utopia-cron.zip" target="_blank">this</a> plugin. After you have installed the plugin, the go to your admin page to set up the task, by entering start time, how often, and the task url.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/how-to-run-scheduled-task-using-wordpress/wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

