HTML Form Submission From Sub Domain, But Processed By Domain. Is It Possible?

I have this simple html form :

<form action="../../process.php" method="POST">
----SOME INPUT HERE----
<input type="submit" value="Submit">
</form>

and that form located under this folder : /public_html/userweb/subdomain.domain.com/form.php while the process.php is located under /public_html folder.

the problem is… /public_html/userweb/subdomain.domain.com is actually a sub-domain’s root folder and /public_html is the TLD’s root folder.

my question is can a HTML form submission in sub-domain process by TLD? if so, how to do it? because that form always search process.php under subdomain.domain.com/process.php not domain.com/process.php

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories