php - Possible to have a dynamic Content-type in header for downloading files? -
is possible have php detect content-type should prior downloading? i'm new thinking of extracting extension filename , using case statement set content-type.
is there better way?
if interested in downloading , not opening particular application can use application/octet-stream.
Comments
Post a Comment