I've got this code:
$filePath = '/blah/image.jpg';
$data_array = array(
"file_data"=>"@".$filePath,
);
the $data_array = array
construct is an array definition and "file_data"=>"@".$filePath,
specifies an array element.
The array is then used for setting up an HTTP POST request:
curl_setopt($request, CURLOPT_POSTFIELDS, $data_array);
What does "@"
in "@".$filePath
mean?