geocheats2 Posted June 2, 2010 Share Posted June 2, 2010 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 More sharing options...
gwolgamott Posted June 2, 2010 Share Posted June 2, 2010 Take a look here, a quick explanation of how to use html forms and php: http://w3schools.com/php/php_forms.asp That's what you'll want to use. Link to comment https://forums.phpfreaks.com/topic/203620-user-input-on-upload-script/#findComment-1066599 Share on other sites More sharing options...
Adam Posted June 2, 2010 Share Posted June 2, 2010 ... What is it he wants to do Link to comment https://forums.phpfreaks.com/topic/203620-user-input-on-upload-script/#findComment-1066602 Share on other sites More sharing options...
gwolgamott Posted June 2, 2010 Share Posted June 2, 2010 Yeah... Not sure, but I think showing how to use forms and php may set him at least in right direction... Link to comment https://forums.phpfreaks.com/topic/203620-user-input-on-upload-script/#findComment-1066612 Share on other sites More sharing options...
geocheats2 Posted June 2, 2010 Author Share Posted June 2, 2010 Take a look here, a quick explanation of how to use html forms and php: http://w3schools.com/php/php_forms.asp That's what you'll want to use. yea some of it if i find a better way to explain it i will let you know Link to comment https://forums.phpfreaks.com/topic/203620-user-input-on-upload-script/#findComment-1066682 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.