/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $url = 'http://www.myheritage.cn/FP/Company/tryFaceRecognition.php';//target url $fields['file'] = '@'.'C:\Users\lzyy\Desktop\3431821560_5e18c02221.jpg'; $fields['lang'] = 'ZH'; $fields['morph'] = '1'; $fields['popup'] = 'PJSLVMMT'; $fields['loadMethod'] = 'myFiles'; //curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //$rs = curl_exec($ch); } //print_r(htmlspecialchars($rs)); echo 'ok'; ?>