Mailer.php problem.
#1

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!
Reply
#2

You don't import php script to MySQL....
You need to upload the script via FTP client like Filezilla or WinSCP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)