Is the php_ini set already?
Edit:
Ok, it works now but i can't send their information using $var for their login & password??? What the heck?
I'm sending the email using HTML. Although it writes $log where the login variable is supposed to be
Nevermind, i got it! TY for the help