Premium WordPress Themes › Forums › DiDent – Dental Clinic HTML Template › Connection Backend with HTML template
- This topic has 3 replies, 2 voices, and was last updated 3 years ago by OwlThemes.
- AuthorPosts
- October 18, 2021 at 7:54 am #1220
Rigers LekaParticipantI have recently buy this template:
In the code we have send.php file that has the logic, of collection all the data user write to contact-us page and send the email to the admin page.
I don’t know how to run that serve-side code that exist in send.php in the way that all the information that user write it in the inputs will be send to gmail of the admin page.
Attachments:
You must be logged in to view attached files. - October 18, 2021 at 10:41 am #1223
OwlThemesKeymasterHi. Thanks for your question.
Form processing also occurs in the custom.js file 452-482 line
If you changed the path to send.php file
You need to register it with this url line: “send.php”
If you have other questions just tell us, we will answer with pleasure.
Have a great day рџ™‚
Attachments:
You must be logged in to view attached files. - October 21, 2021 at 11:19 am #1225
Rigers LekaParticipantHello,
Many thanks for replying me so fast and that gives me in details the introduction.Those changes exist into code same as you wrote it via screenshot, but yet I didn’t send me the email to my gmail.
Should I run something for the backend-side or isn’t necessary?The screenshot above gives in detail the situation.
In my console it gives a CORS-PolicyThanks,
RigersAttachments:
You must be logged in to view attached files. - October 21, 2021 at 11:54 am #1233
OwlThemesKeymasterThanks for your question.
Are you running files on your home computer?
For php scripts to work, please upload files to your hosting or install any local web server on your computer.
The server must support the functionВ mail()
https://www.w3schools.com/php/func_mail_mail.asp
We hope you liked our theme. We will be grateful for your review.
Have a great day рџ™‚
- AuthorPosts
You must be logged in to reply to this topic.