Page 1 of 1

[solved] Calling remote PHP file through <form> tag?

Posted: Thu Apr 08, 2010 10:24 pm
by Norami
Hi all,

I've got a contact form on a site that needs to call a php file from another server, is there anyway to do that?

Re: Calling remote PHP file through <form> tag?

Posted: Thu Apr 08, 2010 11:40 pm
by Christopher
Not sure what you mean by "call"? You can put any URL in the action parameter of the <form> tag and the form will be posted to that URL.

Re: Calling remote PHP file through <form> tag?

Posted: Thu Apr 08, 2010 11:55 pm
by Norami
Yeah, sorry. I guess my terminology is off.

I tried putting a URL in "action", but it didn't work correctly. It keeps giving me a 404 error

EDIT:
I ended up fixing my problem while reconfiguring postfix! It was a stupid mistake on my part.