I don't see in the documentation how to set the uploaded files folder with SWFUpload.
Can anyone point me to the right direction?
I'm using PHP 5 if it helps.
I don't see in the documentation how to set the uploaded files folder with SWFUpload.
Can anyone point me to the right direction?
I'm using PHP 5 if it helps.
What you do is call a PHP script, and that script handles the file uploading.
You can turn on debug, this will give you a pretty nice debug view of what is happening, and the output of the PHP file in question.
The flash doesn't handle the uploading because the flash is actually running on the client machine.
Here's an example of the config I use.
Then flash_upload.php has something like this (just an example)
SWFUpload is given a URL to send the upload to, e.g. http://yourdomain.com/upload.php - it is this script which determines what will happen to the upload.
See the PHP Manual section on Handling File Uploads for more information.