What type of headers have to add in the mail function in
which file a attached?
Answers were Sorted based on User's Feedback
Answer / ansar
$headers = "Content-type disposition :attachmet
filename = 'filename.txt' "
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / 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 |
What is difference between rest and http?
What is the difference between fopen() and fclose()?
what is the url rewriting?how to rewrite the url? give any example
I created a cookie with the value like '1A2A',now i want to update this value regularly (about 20 times in a minute) with the value '1A2A3A' , 3A is the new value,new value will vary on the request it may be 3A or 4A or 100A ,some times the cookie is updating with new value but not every time.Can any body suggest the solution
Why use static methods php?
what is difference between PHP4 , PHP5
Tell me how to find the length of a string?
Inside a php function, what param needs to be set in order to access a global variable?
How long does a session last in php?
What is MIME?
What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?
Whether site will complete the execution of the script if Fatal error occurs ?