note 110292 added to function.ftp-nb-fput

From: Date: Mon, 08 Oct 2012 18:25:49 +0000
Subject: note 110292 added to function.ftp-nb-fput
Groups: php.notes 
Request: Send a blank email to php-notes+get-191190@lists.php.net to get a copy of this message
Hope I'm not double posting ? Now, there is a snippet, that's almost what I need : http://www.php.net/manual/en/function.ftp-nb-fput.php#47920 However, I want it to use with a form <form ...><input name="userfile" type="file" ... /></form> And I don't see, how I can modify the script. $remote_file is most likely something like $_FILES["userfile"]["name"] while $local_file should be something like $_FILES["userfile"]["tmp_name"] But whatever I tried so far, I just didn't get it working. Who can help me ? ---- Server IP: 69.147.83.199 Probable Submitter: 87.144.199.216 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-nb-fput.php Edit -- https://master.php.net/note/edit/110292 Del: integrated -- https://master.php.net/note/delete/110292/integrated Del: useless -- https://master.php.net/note/delete/110292/useless Del: bad code -- https://master.php.net/note/delete/110292/bad+code Del: spam -- https://master.php.net/note/delete/110292/spam Del: non-english -- https://master.php.net/note/delete/110292/non-english Del: in docs -- https://master.php.net/note/delete/110292/in+docs Del: other reasons-- https://master.php.net/note/delete/110292 Reject -- https://master.php.net/note/reject/110292 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191190) next »