Thank you for your help. But as I told you, I don't think it's a problem with the code.
I did try to write POST in uppuer case but that didn't change a thing.
the line:
$MailTo = "tvangenechten@paratel.be";
is not used any more, it was something dat got in while debugging.
At this moment my actual code looks like this:
<<<<<<< Start Code sample >>>>>>>
<?php
global $HTTP_POST_VARS;
echo "OK1|".$HTTP_POST_VARS['to']."|".$HTTP_POST_VARS['subject']."|".$HTTP_POST_VARS['message'];
echo "OK2|".$to."|".$subject."|".$message;
//Send Mail
if( isset($to) &&
isset($subject) &&
isset($message) )
{
mail($to, $subject, $message, "From: $MailFrom");
}
?>
<<<<<<< End Code sample >>>>>>>
When I send something using the flash I get:
OK1|||OK2|||
What means that the Variables are emptry.
The PHP in not in the same directory as the flash but in the real flash I use the complete path.
When using a GET everything works fine. But I have to much data to send.