Hi there, While working on a project I got a php problem... I have a php script that gets some information from a form and I wonder how can I get the url of the form page submitting that info ?
I need to filter it so that there won't be any unauthorized usage of my script.
I think server variables can help here, HTTP_REFERER.
Try using it, as the form will be submitted the HTTP_REFERER will also be set, and you cand get that value ( I mean url of the page it came from ) from server variables.