- Home /
Get o Post method without open browser
Hello everyone .. I would like to know how can I send a GET request (or the exe file or web player) to a php server that detects the content and open an HTML page .. all without opening your browser .. In fact, if I use the Application.OpenURL works, but I'm interested in making it clear to the player .. how do I do? help me ...
function sendForm() {
var mysite="http://xxx.xxx.xxx.xxx:2650/PHPPage.php";
var text= "ferrari";
var url = mysite + "?marca=" + text;
Application.OpenURL(url);}
Answer by Mike 3 · Jun 28, 2011 at 03:26 PM
You want to use the WWW class, documented here:
http://unity3d.com/support/documentation/ScriptReference/WWW.html
don't work...and the WWW class work only in answer..right?
Your answer
Follow this Question
Related Questions
How do I post a cURL request from Unity? 1 Answer
GET Request Wrapper 1 Answer
Upload files to a remote form using C# in Unity 2 Answers
How do I send data over the internet? 0 Answers
Opening External Login Page 0 Answers