specifying relative file paths in WP with jQuery requests not working

In PHP, it’s not necessary to post to a PHP file, it is only required to include ( or require ) files and then use checks and validations to ensure that code is only processed when required.

You simply need to include the PHP file as part of your application – it will process the PHP is the conditions are met.