Quantcast
Channel: Answers for "Uploading photo and video on a web server"
Browsing latest articles
Browse All 7 View Live

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 Article



Answer 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 Article

Answer by TechnoAdiict

php is wrong in above code : @Sanlaato **$thefile variable case** $thefile = $_FILES['file']; if(!empty($thefile)) { echo "Success!"; } else { echo "Failed!"; }

View Article

Answer 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 Article

Answer 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

Browsing latest articles
Browse All 7 View Live




Latest Images