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); ?> Quote 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. Quote 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 Quote 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... Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.