I am developing a site that is using server-side PHP within the product pages.
This all works fine until you click on the "Add to basket" button with the number of products being = 0.
This generates the ca000001.pl script, displays the error message at the top of the page and screws up my PHP.
The PHP has to be server side otherwise I would have used it on the desktop.
I know that you cant run PHP code within CGI scripts and it is not a problem on some CGI script pages like the Search Results page whereby I can check for the pagetype = Search Results and hide the PHP.
Is there anything I can check for on the this page?
This all works fine until you click on the "Add to basket" button with the number of products being = 0.
This generates the ca000001.pl script, displays the error message at the top of the page and screws up my PHP.
The PHP has to be server side otherwise I would have used it on the desktop.
I know that you cant run PHP code within CGI scripts and it is not a problem on some CGI script pages like the Search Results page whereby I can check for the pagetype = Search Results and hide the PHP.
Is there anything I can check for on the this page?
Comment