Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by needphphelp

  1. needphphelp

    PHP equivalent of JS document.location

    BTW: it 's pitty, I can 't redirect with apache or PHP without loosing the ancor '#section2'. Need to redirect mydomain.com/oldurl/view.php?page1#section2 to mydomain.com/newurl/view.php?page1#section2
  2. needphphelp

    PHP equivalent of JS document.location

    >Where do these requests originate? From other websites. I want to use this for reseller tracking. It 's meant to be a secret, but hell... I can use the standard sell.php?reseller=john but in this case sell.php?reseller=john sell.php?reseller=adam sell.php?reseller=eve will be considered...
  3. needphphelp

    PHP equivalent of JS document.location

    I give up. I think it 's impossible to grab the fragment from url entered by user. I 'll have to use javascrpt then. Any other solution?
  4. needphphelp

    PHP equivalent of JS document.location

    >As for the '#'. Are you trying to get the HTML anchor from the URL? Exactly. This is what I need. Too long to explain why, but I will be generating sections on the fly. If the visitor requests aruba.php#waterfalls And the <a name=waterfalls> isn't there, it will be created filled with...
  5. needphphelp

    PHP equivalent of JS document.location

    OK, crack this. I call it 100 dollar PHP question Can anyone translate this piece of javascript into PHP? <script> document.write(document.location); </script> It should return the current document URL, including: query - after the question mark ? (I would use $QUERY_STRING) fragment - after...

Part and Inventory Search

Back
Top