Tell me why and how to correct such an error? PHP works like this, and if you give a link to the file with the mail () function in the console, it has a parse error, although SendMail works fine

Closed due to the fact that the essence of the question is incomprehensible to the participants of ThisMan , xaja , Visman , PashaPash , Saidolim Oct 13 '15 at 12:31 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • error code in the studio, and the line where the error came out) - IVsevolod

1 answer 1

Calling telepaths to help again: Linux, yes? The script for the console is taken www-shny and shebang was not added to it (the line is such as #! / Usr / bin / php)?