Including File Names in Headers - PHP Views : 618
Tagged in : PHP
0 0
Send mail
Here are some headers and their purposes in PHP.

header("Content-Type: image/gif") - to display a gif image.
header("Content-Disposition: inline; filename='.$string'") - to save the image using the image name.
header("Content-Disposition: attachment; filename='.$string'") - to save the image as an attachment and to save in the image name.
By deva, On - 2007-09-04



    Login to add Comments .