Android Question SQL & php fine locally, doesn't work over internet

RichB

New Member
Licensed User
Longtime User
Hi, my sql queries and php work fine over the local network and if I specify the actual IP address of the server. But they won't work when I use a http://www.mysite.com address?

Any ideas why? I see in the sql tutorial it works fine using "https://www.b4x.com/android/countries.php" so why does mine only work when I use http://82.x.x.x.x/myphpfile.php.

Thanks in advance for any help.

EDIT: A little more info, it doesn't give me an error. It is just that the response from the server appears to be in HTML

(The php code outputs html code) eg:

Response from server:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

"http://www.w3.org/TR/html4/strict.dtd">

<html>



<head>

<title>Title </title>

<META name="description" content="Description"><META name="keywords" content="Keyworkds">

</head>

<frameset rows="100%,*" border="0">
 
Hi

Are you accessing your domain from the local network? If the answer is yes, try to access from outside your local network
 
Upvote 0
Back
Top