I have a small question in a project I'm developing.
The following happens, I have 2 buttons on the page, like these ( identical in different positions ):
Top of the page:
<a target="_blank" class="btn-primary" href="http://localhost/exemplo/"> Clique Aqui </a>
To end the page:
<a target="_blank" class="btn-primary" href="http://localhost/exemplo/"> Clique Aqui </a>
I need to make every time the page containing these buttons is accessed, increase the number in the folder. Example:
One person has accessed this page the first time: (Note that the link contains / 01 / )
http://localhost/exemplo/01/
When a other person accesses the second time: (Note that the link contains / 02 / )
http://localhost/exemplo/02/
And so on: / 03 / , / 04 / , / 05 / , / 06 / , etc ...)
Each new access increases the value on the link incrementally.
Furthermore, is it possible to implement something that can tell me what number it is at the moment? I have no idea, maybe something like a file that is updated (txt maybe) , informing me on which number it stopped.