Having read many articles, downloaded yamzbrowser and many other scripts I am still none the wiser about the best way to upload a file to a server. One of the main problems is that I am developing the site on a mac and the end user will be on a windows system.
The reason I need an upload form is because I am developing a content management site for the end user so that they will be able to update a MySQL database. All I need now is for them to have the ability to upload an image to the server as well.
I have no problems with an external html popup window so I can create a PHP upload script fairly easily and then have a link on the flash site to bring it up. The only thing I really need now is to know if there is a way that PHP can the send the uploaded filename back to flash as variable so it can appear in a dynamic text box once the file is uploaded.
As I have been calling all my PHP so far with sendAndLoad I am confused as to how flash could “listen” for this variable being sent?
If anyone can help me that would be great.
Also - if I am testing this on my computer using the apache server on os x will the file actually get copied to the web server space?