0
PHP form to email help
Hi guys. I’m struggling with a bit of PHP code. Everytime I try to test the form on the website it just sends me straight to the php code. Is this supposed to happen or is there something wrong with the code? I got it from an open source website as I don’t know much about PHP. I plan to learn it but I can’t at the moment and I have to get a website live soon😅 I would appreciate any help please!! The code also looks like it has verification capabilities but as I said, I’m not too sure. Please see the code and help where you can! Please please please!! https://code.sololearn.com/w55zxZ20Xzyz/?ref=app
6 odpowiedzi
+ 2
You mean that you can see the source code in your browser?
Every time a form submits it redirects you to the targeted file.
+ 2
How are you viewing it?
You need to host it with apache.
+ 2
xampp or mamp
0
@toni Yes
0
I've just been opening it in Chrome. I'll give Apache a try.
Thank you
0
@toni It looks like ive activate apache, i do the whole localhost on google and it brings up the It Works page but what now? sorry for the ignorance...