string makeDisposition(string $disposition, string $filename, string $filenameFallback = '')
Generates a HTTP Content-Disposition field-value.
string makeDisposition(string $disposition, string $filename, string $filenameFallback = '')
Generates a HTTP Content-Disposition field-value.
string | $disposition | One of "inline" or "attachment" |
string | $filename | A unicode string |
string | $filenameFallback | A string containing only ASCII characters that is semantically equivalent to $filename. If the filename is already ASCII, it can be omitted, or just copied from $filename |
string | A string suitable for use as a Content-Disposition field-value |
InvalidArgumentException |
RFC | 6266 |
Designed by : w10schools
service@w10schools.com
Please login to continue.