Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in main function #9

Open
dhruvkatyayan opened this issue Dec 26, 2023 · 1 comment
Open

Error in main function #9

dhruvkatyayan opened this issue Dec 26, 2023 · 1 comment

Comments

@dhruvkatyayan
Copy link

Fatal error: Uncaught Error: Call to undefined function mail() in /storage/ssd5/330/21717330/public_html/send.php:15 Stack trace: #0 {main} thrown in /storage/ssd5/330/21717330/public_html/send.php on line 15
this is the error that is shown in send.php file line 15 i.e. mail($to, $subject, $txt).
What's the solution?

@Abhijeetbyte
Copy link
Owner

Hi. @dhruvkatyayan

Their is no error in code, recently 000webhost.com have upgraded to php 8 version, and also suspended the mail() function due to security reasons.

You should explore other web hosting services that supports php.

Thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants