Jump to content

User Input-On upload script


geocheats2

Recommended Posts

I have found this upload script and i would like to ad some code so it would ask me for the links on the website so i wouldn't have to change the link each time

<?php
$url ='[color=red]here i put the url[/color]';
$rfile = fopen($url, 'r');
$lfile = fopen(basename($url), 'w');
while(!feof($rfile))
fwrite($lfile, fread($rfile, BUFSIZ), BUFSIZ);
fclose($rfile);
fclose($lfile);
?>

Link to comment
https://forums.phpfreaks.com/topic/203620-user-input-on-upload-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.