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

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Norami
Forum Newbie
Posts: 2
Joined: Thu Apr 08, 2010 10:19 pm

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

Post 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?
Last edited by Norami on Fri Apr 09, 2010 12:22 am, edited 1 time in total.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post 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.
(#10850)
Norami
Forum Newbie
Posts: 2
Joined: Thu Apr 08, 2010 10:19 pm

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

Post 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.
Post Reply