Jump to content

Archived

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

slipperyfish

PHP Uploading

Recommended Posts

hi. im trying to create a form uploader script using AJAX technology. I want it all to happen on the same page without refreshing any pages or iframes. Using AJAX to call the php script, i want to send in the filename the location in a variable. for example:

uploadfile.php?loc=C:\folder\file.jpg

but in the script... how do i use that in the files array? ( $_FILES[] )

-Thanks

Share this post


Link to post
Share on other sites
You may want to look at this class as an example for your script:

http://www.phpclasses.org/browse/package/2759.html

Share this post


Link to post
Share on other sites

×

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.