fd – Übersetzung – Keybot-Wörterbuch

Spacer TTN Translation Network TTN TTN Login Français English Spacer Help
Ausgangssprachen Zielsprachen
Keybot 24 Ergebnisse  www.annette-hurst.de
  PHP: curl_setopt - Manual  
global $fd;
down
  PHP: curl_setopt - Manual  
$len = fwrite($fd,$str);
dan dot polansky at seznam dot cz
  PHP: curl_setopt - Manual  
in curl lib it would take CURLOPT_WRITEDATA but this is not supported by php; that's why I use "global $fd;" in my exemple function.
CURLOPT_WRITEFUNCTION, although undocumented is supported. It takes the name of a user_defined function.
  PHP: php:// - Manual  
php://fd/3
允许直接访问指定的文件描述符。 例如
  PHP: curl_setopt - Manual  
string read_callback (resource ch, resource fd, long length)
Jakub Horky
$formvars[variable_2] = "bla bla \n";
$file = "file_to_upload.txt";
$formvars[upfile] = "@$file"; // "@" causes cURL to send as file and not string (I believe)