How to use # instead of ? to get variables??

Discussion in 'PHP' started by 123GoToAndPlay, Mar 18, 2010.

  1. #1
    Hi,

    Trying to get the php/ajax div and back button issue to work, for this i like to know if it's possible to get vars like

    
    mydomain.com#runquery=1&filterA=sports&filterB=3&filterD=parttime
    
    Code (markup):
    instead of the regular
    
    mydomain.com?runquery=1&filterA=sports&filterB=3&filterD=parttime
    
    Code (markup):
    and using $_GET
     
    123GoToAndPlay, Mar 18, 2010 IP
  2. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    you can get that with javascript
    and send with ajax.
     
    guardian999, Mar 18, 2010 IP
  3. SolomonZhang

    SolomonZhang Peon

    Messages:
    523
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could try use htaccess rewrite system.
    But be careful as "#" is used for the link navigation system at normal url naming convention.
     
    SolomonZhang, Mar 18, 2010 IP