J
J
JovaKoval2020-09-08 16:48:03
CMS
JovaKoval, 2020-09-08 16:48:03

Feedback form after export from Tilda?

Hello everyone, I've been tormenting the code all day. I didn't find any info anywhere on the Internet, they asked me here once - and left it unanswered.

Bottom line: Tilda, site export - forms do not work. We do according to their instructions - it does not work.
Letters come, but there is no info (data) in the body of the letter, but this:
"
Array
(
)
"
Maybe someone will tell you. What's wrong with the script.

The script itself:

<?php
header('Access-Control-Allow-Origin: *');
$headers = "From: [email protected]";
$message = print_r($_POST, true);
@mail('[email protected]', 'TEST Message', $message, $headers);
echo "ok";
?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Mikhailov, 2020-09-08
@Psixodelik

What is in the message before it is sent? It appears to be an empty array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question