Mailer.php problem. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Mailer.php problem. (
/showthread.php?tid=611643)
Mailer.php problem. -
ArianGubetini - 09.07.2016
Hello.I have a problem with mailer.php.I got the file from this topic:
https://sampforum.blast.hk/showthread.php?tid=197755 but i can not upload it to my database.
When i try to import it to my database this is what i get:
Code:
Error
Static analysis:
4 errors were found during analysis.
Unexpected beginning of statement. (near "php" at position 0)
Unexpected beginning of statement. (near "ini_set" at position 6)
Unexpected beginning of statement. (near "'html_errors'" at position 15)
Unexpected beginning of statement. (near "false" at position 30)
SQL query:
php ini_set( 'html_errors', false )
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'php
ini_set( 'html_errors', false )' at line 1
I just copied the text form that link and saved it as mailer.php on notepad.
Can anyone tell me whats wrong or give me other mailer.php?
Thank you!
Re: Mailer.php problem. -
[cS]Owain - 10.07.2016
You don't import php script to MySQL....
You need to upload the script via FTP client like
Filezilla or
WinSCP