form action value to another websites php file

Question

Im currently working on a wordpress theme project and in this project i need to set php form action value to an external online php file that isnt in our server.

I’ve created a form and set the action value of it to an online php file that is in my other srver and that php file programed to return a value to this file.

This kind of action works in pure php projects but not working in WordPress somehow. When i submit the form, I get following error:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
localhost
Apache/2.4.41 (Unix) OpenSSL/1.1.1d PHP/7.4.3 mod_perl/2.0.8-dev Perl/v5.16.3

This make me so angry and i also want to know WHY Something That is Corectly Working In Pure PHP Project, Sometimes Not Working in WordPress. I should be able to connect my form to that php file which is not in my server … So Help Me. THanks

0
, , , Sahand 3 years 2020-04-07T16:51:08-05:00 0 Answers 86 views 0

Leave an answer

Browse
Browse