I have a contact form which post the input to a .php file located in my server.
some of the code:
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$phone_field = $_POST['phone'];
$message_field = $_POST['message'];
In my server I can't use php mail(), so I want to transfer this variables to another .php file located in other domain.
I know I can do it directly in the form
action="http://otherdomain.com/contact.php"
but I want the php script to be on my server and "Behind the scenes" transfer the variables. My first question is if it possible to do so in this way? and the second, how to...