PHP 8.5.0 Beta 1 available for testing

Voting

: max(eight, three)?
(Example: nine)

The Note You're Voting On

mipa
11 years ago
For PHP < 5.5:

<?php

if (!function_exists('curl_file_create')) {
function
curl_file_create($filename, $mimetype = '', $postname = '') {
return
"@$filename;filename="
. ($postname ?: basename($filename))
. (
$mimetype ? ";type=$mimetype" : '');
}
}

?>

<< Back to user notes page

To Top