Forum Moderators: coopster
It all works fine, but then on the same page I tried using a javascript which does some fancy work to display the current shopping cart contents. It didn't work because the remote shopping cart page's "continue shopping" button couldn't be fixed to GET, only to POST (if it detects that the return URL is to a script - ie a PHP page - it overrides the settings and makes the POST method stick).
So I thought to get around this I'd turn the page into a .shtml page instead, so the cart wouldn't detect a scripted PHP page. But of course now the PHP includes don't work in the .shtml page (I get the "[an error occurred while processing this directive]" message).
Is there any way I can get the PHP includes to work on a .shtml page? Or is there another way to call these "look-up" PHP files on a .shtml page?
I can't use SSI include virtuals because I use the PHP includes inside links, and you can't do that with virtual includes.
Anyhow I found a PHP way of doing the work that the javascript does.
Interesting conundrum of mixed scripting languages though!
Thanks for the comments and advice.