web services - Download video using php webservice -


i pretty new in php make sense.i trying make web-service in php .i have iphone app calling web-service.i want download video url in database on calling web-service. here php script retrieving url:

 $q="  select url videos id = '".$_request['id']."'   ";      $result=mysql_query($q);            while( $rows =mysql_fetch_assoc($result) )             {         $url=$rows['url '];     //here want code download file         $myarray1=array("url "=>$url );              } 

i using script @ following link download file : http://phpsnips.com/579/php-download-script-for-large-file-downloads#.u4wp_iicliu ... not working.i have searched codes on google don't understand how use scenario...


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -