Jump to content


Photo

PHP Uploading


  • Please log in to reply
1 reply to this topic

#1 slipperyfish

slipperyfish
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts

Posted 20 August 2006 - 12:07 PM

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

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 20 August 2006 - 01:30 PM

You may want to look at this class as an example for your script:

http://www.phpclasse...ckage/2759.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users