How to retrieve results from an external php file (file upload)

I am trying to post a file upload form to a php file that is located on another server but I do not know how to retrieve the results that are outputed using an iframe (i.e. basically a json object containing URL's being echoed by the upload.php). Is there any other way to retrieve the data?


<form action="http://mydomain/upload.php" method="post" enctype="multipart/form-data" target="upload_target"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input id="fileName" name="uploaded_file" type="file" /> <input type="submit" value="Upload"/> <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"> </iframe> </form>



Explode function just get the contents of the file you need with get filecontents then explode the part of HTML you need

Category:php Time:2011-03-20 Views:0
Tags: php upload

Related post

Copyright (C), All Rights Reserved.

processed in 0.740 (s). 13 q(s)