Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

how to send form information through ext. url NOT mail() using php

$
0
0

Hi,

I need to send form data through this url using post method

form action="https://www.testdomain.com/servlet/servlet.WebToWeb?encoding=UTF-8"

method="POST except the action url needs to be changed to "mailer.php"

 

I have a captcha script where the form action is sent to a file called "mailer.php"

 

which sends the form data to an email address.

 

I would like to modify this script to be able to send the form data to "mailer.php"

and feed the collected form data from a users input to the URL above.

 

I have attached a file where I replaced the mail() with location:header but I have a feeling I am making this involved than it should be.

Any help appreciated.


Viewing all articles
Browse latest Browse all 13200

Trending Articles