- Home /
WWWForm returns php contents doesn't run the script
When I use wwwForm
WWW www = new WWW(FTPURL, form);
yield return www;
print(www.text);
It gives me I need it to run the script not give me the contents.
I need it to return "php file found"
What am I missing?
Answer by Bunny83 · Nov 28, 2018 at 05:23 AM
This is either a misconfiguration of your webserver, or the webserver simply has no PHP support. This is nothing that can be fixed on the client side since PHP runs on the server. If PHP is available on the server and configured correctly it should be completely transparent to the client.
Your code reads "FTPURL". Note that the FTP protocol is something completely different from the HTTP(S) protocol. So either your URL variable name is confusing / badly named or you're on a complete wrong track here.
Your answer
Follow this Question
Related Questions
variable from php to unity 1 Answer
Cannot Start Unity from PHP exec() method 1 Answer
Unity PHP login always returning true 3 Answers
Problems with passing data to php script 0 Answers
system login and registration unity 0 Answers