Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorsam_st
    • CommentTimeFeb 19th 2007
     
    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.

    Please advise...
    Thanks,
    Sam
    • CommentAuthorjustnajm
    • CommentTimeJul 12th 2007
     
    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.