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 |
Can the value of a constant change during the script's execution?
What is the difference between the functions unlink and unset?
Why do we use hooks?
i have designed a registration form in html (registration.html) and to insert user details in database i have designed a submit form in php (submit_registration.php) but when i click on submit button in registration.html it opens a dialogue box which asks for open or save php(submit_registration.php) even though i have already installed apache HTTP server and php version 5 on my computer and i am using mysql as backend. plz suggest me what should i do????
Why do we use namespace in php?
What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?
Does csrf token change?
What is "echo" in php?
What language is php based on?
i am a php programmer can i be a java programmer?
How to redirect https to http url through .htaccess?
How do I end a php session?