我将在普伦普指挥部执行这一指挥。
php C:xampphtdocsdl.php
These are the properties of my htdocs directory:
However, under the sharing tab, I have write permissions under all users:
I ve restarted apache after each permission modification with no success. How do I fix this?
我的笔记本通过APIC下载XML文件,并将XML文件写进服务器根名录。 当我执行www.mydomain.com/dl.php时,下载的XML被写进了根名录;然而,当我通过指挥台执行PHP(dl.php)档案时,它不会将下载的档案汇入根名录。
PHP file:
$today = date("F j, Y").".xml";
$ch = curl_init ("");
$fp = fopen("ipod_car_connectors2.xml", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);