<?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>Evil Science &#187; copy from link</title>
	<atom:link href="http://www.evilscience.org/tag/copy-from-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evilscience.org</link>
	<description>Internet, technology, seo, design and general IT things...</description>
	<lastBuildDate>Thu, 24 Dec 2009 11:21:44 +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>Upload from URL &#8211; Copy From URL &#8211; Transload &#8211; Script</title>
		<link>http://www.evilscience.org/upload-from-url-copy-from-url-transload-script/</link>
		<comments>http://www.evilscience.org/upload-from-url-copy-from-url-transload-script/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 12:22:01 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[PHP/MySQL/HTML/CSS]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[copy from link]]></category>
		<category><![CDATA[copy from url]]></category>
		<category><![CDATA[transload]]></category>

		<guid isPermaLink="false">http://www.evilscience.org/?p=12</guid>
		<description><![CDATA[Well, beacuse my upload speed is to slow i tried to find solution how to copy files from some url to my server, or another words from one server on internet to space on my server. I found this php script which works fine and i am going to copy some favorite mp3&#8217;s to my [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Well, beacuse my upload speed is to slow i tried to find solution how to copy files from some url to my server, or another words from one server on internet to space on my server. I found this php script which works fine and i am going to copy some favorite mp3&#8217;s to my reseller host</p>
<p>Feel free to use this code (i cant credit it because i dont know who is owner and also think that someone who know php can easy write this):<span id="more-12"></span></p>
<p>note: this would be probably big security risk on your server.<br />
in the first text box paste complete url of wished file and in second only name of file with extension. your file will be saved in script folder under chosen name&#8230;</p>
<p>Imageshack call this transload.</p>
<p>Here is the code. </p>
<pre class="brush: php">
&lt;?php
if ($_GET[xfer]) {
if ($_POST[from] == &quot;&quot;) {
print &quot;You forgot to enter a url.&quot;;
} else {
copy(&quot;$_POST[from]&quot;, &quot;$_POST[to]&quot;);
$size = round((filesize($_POST[to])/1000000), 3);
print &quot;transfer complete.&lt;br&gt;
&lt;a&gt;&lt;a href=\&quot;$_POST[from]\&quot;&gt;$_POST[from]&lt;/a&gt;&lt;br&gt;
&lt;a&gt;&lt;a href=\&quot;$_POST[to]\&quot;&gt;$_POST[to]&lt;/a&gt; : $size MB&quot;;
}
} else {
print &quot;&lt;form action=\&quot;$PHP_SELF?xfer=true\&quot; method=post&gt;
from(http://): &lt;input name=from&gt;&lt;br&gt;
to(filename): &lt;input name=to&gt;&lt;br&gt;
&lt;input type=submit value=\&quot;transload\&quot;&gt;&quot;;
}
?&gt;
</pre>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.evilscience.org/upload-from-url-copy-from-url-transload-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
