#[B]lack Posted December 4, 2018 Share Posted December 4, 2018 (edited) Error: http://prntscr.com/lqcc3z WARNING: [VSK]Mail\s.lua:9: Unrecognized argument list for callRemote: bad arguments or missing arguments Server.lua addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() local email = "[email protected]" local titulo = "batata" local senha = "batata" callRemote ("http://vskdev.mtabrasilhost.com/testes/index.php", result, email,titulo,senha) end) index.php <?php require "sdk/mta_sdk.php"; $table = mta::getInput(); $email = $table[0]; $subject = $table[1]; $body = $table[2]; $result = mail($email,$subject,$body); var_dump($result); } ?> Edited December 4, 2018 by #[B]lack Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now