언어 설정

Menu
Sites
Language
Error opening file: No such file or directory

I want to send datas to php file of server.

So I wrote like this 

        <form name="singIn" action="115.xx.xxx.xxx/member/signIn.php" method="post" onsubmit="return incheckSubmit()">
  
 But this error was happened.
 
 
I think accessing server by using IP address is no problem.
 

Responses

2 댓글
Marco Buettner

use http:// in front of your IP

André Reus

You may try like this way, 

<button type="button" onclick="loadDoc()">Request data</button>

<p id="demo"></p>
 
<script>
function loadDoc() {
  var xhttp = new XMLHttpRequest();
  xhttp.onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
      document.getElementById("demo").innerHTML = this.responseText;
    }
  };
  xhttp.open("POST", "YOUR_URL", true);
  xhttp.send();
}
</script>

You need to use absulate URL when you want to send data when the form is submitted as your Server is not same host with your app. So in your case, 

you have to use as your URL, http://115.xx.xxx.xxx/member/signIn.php like this.

Let us know your result...