- Home /
How to access a PHP script on XAMPP with the use of Android device?
Hello, I currently have an application that I am trying to export onto my Android device. The application grabs google links and sends it through a php script. The php script parses the link for images and text. The php script is located on xampp/project_name/script name. I was just wondering how I could connect my application to the localhost server to use the script. I have tried something like this but no results.
https://docs.unity3d.com/Manual/UNetClientServer.html.
In my application, it accesses the script through "http://IPADDRESS:PORT/project_name/parseURL.php" and uses a WWW object. It works on the computer but after building it on my Android device, it does not produce the same results. After debugging, it shows that the links are being generated from Google but it is unable to access the php script. Any ideas on how to solve this issue?
i don'ttruly understand what you are doing. can you access parseURL.php through web browser in your mobile? Can you access any php from your mobile? $$anonymous$$aybe it's a firewall problem
Your answer
Follow this Question
Related Questions
PHP Android WWW Unknown Error 1 Answer
Multiplayer Networking Problem in Android 0 Answers
UnityWebRequest and/or HttpWebRequest gives 403 on PUT 0 Answers
UNET cannot connect android devices. 1 Answer
Unity's LLAPI for Raspberry Pi Server? 0 Answers