Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: php_self

  1. #1
    Regular Coder
    Join Date
    Sep 2004
    Posts
    713
    Thanks
    6
    Thanked 2 Times in 2 Posts

    php_self

    hi, i have page with path like "history.php#mission"
    however when i use php_self, it only returns "history.php" what shall i do? how to let the script return "history.php#mission"
    flying dagger

  • #2
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    Anchors are only used locally by the browser and aren't sent to the server, so you'd have to look at window.location in javascript and report back with AJAX or something.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •