I am trying integrate an upload system from YouSendIt.com in to my companies forms. The code they give for integration is basically an iframe with a coded URL set for the source. Their server sends a postback using HTTP Post method but I am not sure how to access the data that is sent back. I do not need to display it but I need to use it for validation purposes in the rest of my form. The Iframe code is as such:
<iframe style="margin-left:20px;background-color:#ffffff;overflow-x:hidden;display:block" id="file_upload_iframe" name="file_upload_iframe" src="https://www.yousendit.com/v1/ibox.php?sitebox=1011503&sh=adeace4e28613bc36fb1fa3c6ef766ee&send_notification=false&custom_postback=true" width="600" height="250" marginwidth="0" align="middle" frameborder="0" allowtransparency="true"></iframe>
From what I gather online I need to use AJAX to acquire the data but I am not familiar with AJAX. I am familiar with PHP but I am not sure how to acquire the data through that either. The example they provide of the data that is sent back is as follows:
xml_response->
<ysi-response xmlns=\'http://www.yousendit.com/xml/ns/\' >
<interface name=\'UploadStatus\'>
<ibox_info>
<request_param>request_param>
ibox_info>
<batch_info>
<batch_id>batch_id>
<batch_name>batch_name>
<client_IP>client_IP>
<status>status>
<batch_download_link>batch_download_link>
batch_info>
<file_info>
<file_name>file_name>
<file_size>file_size>
<date_uploaded>date_uploaded>
<file_download_link>file_download_link>
file_info>
interface>
ysi-response>
Lastly, the page does not refresh or redirect after the upload process. If anyone can help at all it would be greatly appreciated.