Choose a file to upload: <input name="uploaded_file" type="file" /> <br>
<input type="submit" value="Upload" />
</form>
What I would like to do is have the file upload, then return the file path to a textbox on the parent webpage. Any idea how to close my upload.php page and return the file path?
Thanks for your help. This should work. The problem is that there are two php files being used. When I click on the upload button on my first PHP page, the new PHP page loads, executes the upload, and lets the user know what happened. I need this page to close (or, not even display at all), then update a text box on the parent page. Does this make sense?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in PHP Forum Timeline:Fill a table