How can I get with php
the url
current where the script is running?
Is it possible to obtain what is the url
of origin if there is one?
Example:
If the url is: https://es.stackoverflow.com/posts/76245/edit
how can I get it with php
??