|
You cannot do that with Javascript. You will need server-side coding. But I have the idea that you would not be able to write such code.
It is your responsibility to die() if necessary….. - PHP Manual
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
|