Hi, I have this flex 4 form, that contains a file upload option. Most of the examples on the web show how to upload the file on the server by passing an upload script (php script etc) that handles the file upload on the server side. i.e if i have a form with other user-input fields, I would have to manage the procesing of all this data in that script...However I am submitting my form using a webservice method i.e, I call a webservice function and pass all the user-input values to this function. It is in this function that I want to handle the file upload, and not a separate external script. How can I accomplish this ? My backend is PHP.
What are you using for your AMF service? There are tutorials out there for Zend_AMF. I'm sure it works pretty much the same on others. Just google "Zend_AMF sending byte array".
I am sorry. I dint quite get u. I am not using AMF. Just plain webservice.. php soap in my back-end :
<s:WebService wsdl="url/to/wsdl/link" />
Ah. Well then it sounds like you will need to post your file data to a server side script that can accept file data.
Yes, can i do it using the HTTPService method? do u have any tutorial or sample code to help me with it ? Please help...