Hallo,
wie kann ich eine entfernte Datei herunterladen,
wenn der entferte apache eine user authentification verlangt ?über browser klappt alles wunderbar, möchte das aber automatisieren
über curl.
geht das vielleicht über curl_setopt?
http://de3.php.net/manual/en/function.curl-setopt.php:
CURLOPT_HTTPAUTH The HTTP authentication method(s) to use. The options are: CURLAUTH_BASIC (...)
CURLOPT_USERPWD A username and password formatted as "[username]:[password]" to use for the connection.
Mathias