Actually, My website has lots of pages so when customer send me his query via on-page contact form option and submit it to me I want the address of the current page on which he filled the contact form and send to me. ex www.website.com/page/page44 so I want to get this URL also with contact form mail submission Please help.
Asked
Active
Viewed 142 times
0
-
1Possible duplicate of [Get current URL with jQuery?](https://stackoverflow.com/questions/406192/get-current-url-with-jquery) – StoYan Apr 23 '19 at 09:25
-
https://stackoverflow.com/questions/165975/determining-referer-in-php might be useful. Or if you want something more reliable, put something to identify the current page as a hidden field in your contact form. – ADyson Apr 23 '19 at 12:22