Hardware counter can be set to 0 in PLC code, but it does not have URL link to remotely reset to zero.
To enable your software to reset hardware counter from PHP, you could designate an unused VAR for certain PLC function call. For example, if VAR8 is not used, you could in your PLC main loop...