What type of headers have to add in the mail function in
which file a attached?

Answer Posted / ansar

$headers = "Content-type disposition :attachmet
filename = 'filename.txt' "

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are objects passed by value or by reference?

543


How do you parse and process html/xml in php?

548


What are the Formatting and Printing Strings available in PHP?

578


Tell me what are the encryption techniques in php?

495


Write down the code for save an uploaded file in php.

526






What is associative array in php?

532


What are default session time and path?

558


Explain object-oriented methodology in php?

577


Explain the visibility of the property or method?

565


How many escape sequences are recognized in single-quoted strings?

483


Explain me what is the w3c?

563


What websites use php?

514


How to find a substring from a given string in php?

501


What is implode() in php?

604


What are the popular frameworks in php?

517