title: Calling PHP in html page
body: <p>Let say, i can only use html codes in a page ( call it index.html ).</p>
  
  <p>So now, i want to check something using php ( call it userCheck.php ).</p>
  
  <p>So it is possible i want the html to communicate with php files.</p>
  
  <p>For example, something like</p>
  
  <p>when users access index.html, it will check the userCheck.php, so userCheck says yes, then can proceed view it or else it will redirect to userCheck.php.</p>
  
  <p>Is it possible something like using javascript or ajax? I'm newbie on those two.</p>
  
  <p>Thank you</p>