|
|
1. 인증서버의 wifi4.php에 다음과 같이 입력한다. 2. <? $Path="/var/www/anylink/web/KARTS_WLAN_5G.mobileconfig"; $user_file = "KARTS_WLAN_5G.mobileconfig"; if (is_file($Path)) { Header("Content-type:application/octet-stream"); Header("Content-Length:".filesize($Path)); Header("Content-Disposition:attachment;filename=".$user_file); Header("Content-type:file/unknown"); Header("Content-Description:PHP3 Generated Data"); Header("Pragma: public"); Header("Expires: 0"); $fp = fopen($Path, "rb"); if (!fpassthru($fp)) fclose($fp); clearstatcache(); } else { } ?> 3. 링크 주소 <a href=인증서버IP/wifi4.php?user_file=IOS파일명>down</a> |
|
|













