Okay, so even still, you can't call a PHP function or service from a STATIC HTML page. You have to use either PHP, or AJAX to call the item. So either (1) convert the .html pages to .php and have them include a one-liner call to the web-app or (2) include a basic javascript call to the PHP script that doesn't see a response.