Doesnt support mail sending feature?

Can you explain your problem more?

did you follow the link? Im new to the forum, so therefore i can only past links for the time being.

Hi
So i have recently played around to get a nice submit form, for my website. But when i hit submit it doesnt send. Is there something im missing?
Submit form code used from: https://www.formget.com/send-an-email-on-form-submission-using-php/
Feel free to test my problem here: wiad.ml/contact.html
PS: Are php supported?

Hi @loster31345!

Problems:

  1. We do support PHP however your files are only HTML documents (.html). Files are by default parsed as php scripts if they have .php extension.

  2. Contact.html as well as other HTML files should start with lowercase letters. Otherwise browsing wiad.ml/contact.html directly will return 404. Filenames are case sensitive on Linux based servers (such as 000webhost ones).


Fixes:

  1. I have modified the .htaccess. Now .html files should be treated as .php ones. I have also sent a test e-mail. Did you received it?

Im sorry for the late reply.

  1. dont really get what you are meaning. I have extension files named .php, where the Contact.html loads up when running. For the submit form it loads up -wad0.000webhostapp.com/plugins/xml/secure_email_form.php, where the main action takes place. I know that php files cant be open in the webbrowser, so here: -shrib.com/#-ojm3.CUQ7YmyKzr9V.b

  2. If changing the Contact.html name to contact will help, im gonna do it.

Fixes:

  1. Im sorry but i havent received your email :C

000webhost does not allow PHP scripts inclusion by URL.

If your mailing system requires it, then it will not work on 000webhost. Try a paid plan or a VPS instead:

2 Likes

Oh, im soo sorry for the late reply, but i have fixed the problem. I just needed to change the URL from “http://wad0.000webhostapp.com/plugins/xml/secure_email_code.php” to “./plugins/xml/secure_email_code.php”

akhilkumar332 helped my out of it.

1 Like