many useful php routines

About: PHP Help: PHP Code Examples

Tags

  1. php
  2. programming
  3. library
  4. programmer~help

Comments


JP says
Hi,

I have different URL's pointing to the same geanealogy site. Do you know a PHP routine that checks which URL was used to access the site? Based on this info I can then lead the visitor to different subpages for different family names.
Hope you can help.

Kind regards,
Jan Paul Buijs

Seth says
JP 2006-03-20 04:22:57 1682
Hi,

I have different URL's pointing to the same geanealogy site. Do you know a PHP routine that checks which URL was used to access the site? Based on this info I can then lead the visitor to different subpages for different family names.
Hope you can help.

Kind regards,
Jan Paul Buijs
The URL that the user requested is in the PHP variable $REQUEST_URI.  It is relative to your server.

See Also

  1. Thought Project to switch php version at Speak To Me Catalog.Com with 94 viewings related by tag "php".
  2. Thought Footer problem on individual page at speaktomecatalog.com with 19 viewings related by tag "programming".
  3. Thought Promotions in the Speak To Me Catalog Shopping Basket with 7 viewings related by tag "programming".
  4. Thought My Bookmarks with 1 viewings related by tag "php".
  5. Thought about: Then each went to his own home with 1 viewings related by tag "programming".
  6. Thought about: try ruby! (in your browser) with 1 viewings related by tag "programming".
  7. Thought unzip for install.php with 1 viewings related by tag "programming".
  8. Thought SQL for selecting triples inside of one field. with 1 viewings related by tag "programming".
  9. Thought some thoughts on trans domain data transfer with 1 viewings related by tag "programming".
  10. Thought a good place to satisfy question~answer with 0 viewings related by tag "programming".
  11. Thought sources of php code with 0 viewings related by tag "php".
  12. Thought sql explained for group tagroom with 0 viewings related by tag "programming".
  13. Thought related tags with 0 viewings related by tag "programming".
  14. Thought background processes with 0 viewings related by tag "php".
  15. Thought deactivate HTML in comments - or how and where to escape with 0 viewings related by tag "programming".
  16. Thought propogate logic from front door to rooms and refactor with 0 viewings related by tag "programming".
  17. Thought ok here is the sizing algorithm that will go into testing with 0 viewings related by tag "programming".
  18. Thought It's on our server now ... wonder if it works with 0 viewings related by tag "programming".
  19. Thought How to mix node and PHP with 0 viewings related by tag "php".
  20. Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "programming".
  21. Thought What fbi needs now ... with 0 viewings related by tag "php".
  22. Thought Perl regex with 0 viewings related by tag "programming".
  23. Thought [title (1663)] with 0 viewings related by tag "programming".
  24. Thought Pride an Glory in Your Code with 0 viewings related by tag "programming".
  25. Thought PHP 4 support with 0 viewings related by tag "php".
  26. Thought about: weaverluke: Looking for a web developer (PHP, MySQL) with 0 viewings related by tag "php".
  27. Thought tutorial for php classes with 0 viewings related by tag "php".
  28. Thought This is a tutorial on the rte software with 0 viewings related by tag "programming".
  29. Thought about: iCasualties: OIF Iraqi Deaths with 0 viewings related by tag "php".
  30. Thought work in progress for Chat Who's Here with 0 viewings related by tag "programming".
  31. Thought about: PEAR :: Package :: HTML_AJAX with 0 viewings related by tag "programming".
  32. Thought about: About image buttons in HTML forms (and multi-line texts in normal submit buttons) with 0 viewings related by tag "programming".
  33. Thought programming of edit tag with 0 viewings related by tag "programming".
  34. Thought QA understands the code ! with 0 viewings related by tag "php".
  35. Thought about: joel bender - google+ - me, after blindly copying a load of code into a project with 0 viewings related by tag "programming".
  36. Thought Playing in the river with 0 viewings related by tag "programming".
  37. Thought testing mostly tag maintence with 0 viewings related by tag "programming".
  38. Thought the tag maintence window problem goes on with 0 viewings related by tag "programming".
  39. Thought Why does this work on his server and not on mine ? with 0 viewings related by tag "programming".