So far the only issue I'm having is that "nobody" @ the server hostname is being sent, instead of the email address in the config file. If I need to config and recompile PHP please let me know. I am currently testing it on my testbed server but will try (for testing purposes) on another server on shared hosting.
Update: tested on another server with the same result.
The SMS arrives from nobody@hostname
However, the debug email that I get appears exactly as it's set at the config file. Could it be that a different variable is being sent to either sites?
David, please fix this as the SMS that the cellphone user receives needs none of the "cryptic" hostname info.
Also: some web hosts don't support the installation of databases by PHP (this has nothing to do with the existance or not of a shell).
So this line failed in my shared host:
Code:
$install=shell_exec("mysql -u $username -p$password $database < sms_db.sql");
I tried to import the database manually from the shell, but it failed with an ivalid syntax error at:
Code:
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
It only imported after I removed the "DEFAULT CHARSET=latin1" part.