I get an internal server error with the following:
It is not printing anything to my PHP error log?
Not using any frameworks.
I have the following document structure
DEV
- controllers
|-> user
-> check_email.php
- public_html
|-> routes
|-> user
-> check_email.php
|-> views
|-> user
-> create.php
base_url is set to my domain (public_html) in the head.
set_include_path is set to my document structure (DEV)
public_html/views/user/create.php
xmlhttp.open("POST","/routes/user/check_email.php",true);
public_html/routes/user/check_email.php
require_once(get_include_path()."/controllers/user/check_email.php");
If I put the controller for check_email.php in the same file folder as create.php (and modify the XMLhttp request) then it references the controller. How do I route the POST to the controller?