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

Answer Posted / devendrarjadav

To attach a file we must add the following header
as "\nMIME-Version: 1.0\n Content-Type: multipart/mixed"

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is pear?

553


What are sql functions?

540


Explain what is memcache?

510


Tell me how a constant is defined in a php script?

478


Is php a low level language?

536






Which is better wamp or xampp?

540


Do you know how to declare an array in php?

546


What is the role of php?

509


When do you use define() and when do you use const. What are the main differences between those two?

577


How many different types of messages available in php?

548


What is constructor and destructor?

534


Tell me how can we get the error when there is a problem to upload a file?

503


What are the differences between require and include?

570


Tell me what is the use of explode() function?

546


How do sessions work in php?

508