Answer by Bunny83
Use the WWW class to open/load the local file or use System.IO stuff for reading. To upload the file to your webpage use WWWForm along with WWW. There's even an example of how to upload a screenshot on...
View ArticleAnswer by Sanlaato
I check it numerous times, but I doesn't make sense to me why it kept returning "Failed!". So I decided to post my test code here.Here's my C# test code//C# using UnityEngine; using System.Collections;...
View ArticleAnswer by TechnoAdiict
php is wrong in above code : @Sanlaato **$thefile variable case** $thefile = $_FILES['file']; if(!empty($thefile)) { echo "Success!"; } else { echo "Failed!"; }
View ArticleAnswer by junedmmn
Smallest and easy Solution is using UnityWebRequest, as WWW is obsolete. This will work in latest and upcoming Unity Versions using UnityEngine.Networking; public IEnumerator PostImageToPhp() { var...
View ArticleAnswer by sebastiao_lucio
@Sanlaato Try this asset http://u3d.as/1DxF we created this asset to solve this problem and much more!any doubt :...
View Article
More Pages to Explore .....