Posts by TigerNuno • 21 points
3 posts
-
2
votes7
answers7710
viewsA: How to send email automatically?
Use this my function, just call it with the 3 variables with your values. function EnviarMail($destinatario, $assunto, $mensagem) { $de = "[email protected]"; $headers = "From: O_TEU_NOME…
-
0
votes3
answers3483
viewsA: How to execute a code by clicking on a link?
If you don’t want to leave the page you’re on, use an Ajax call. This way, new PHP code is executed without asking to load the page again. I’ll give you a simple example that you can adapt. Here’s…
-
0
votes5
answers1939
viewsA: Sending form via AJAX, method PUT
PUT? It would not recommend PUT because it is not supported by all browsers. You can send by Ajax via GET or POST. I always use GET or POST and it works well. Documentation - The type of request to…