SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist cturner01's Avatar
    Join Date
    Jun 2006
    Location
    My computer
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Extracting from the web page address

    I am just wondering is it possible to extract from this: /foldernamehere/tag/search engines/. I would like to know how I can get the bolded text to be displayed on a page please. The whole thing will be displayed in the address of a web page but after the domain name.

  2. #2
    SitePoint Evangelist
    Join Date
    Aug 2007
    Posts
    566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    usually, you use an address like this in conjunction with the apache mod_rewrite module.
    This allows you to match the address, and to have apache redirect it to a specific php page, with a predefined variable filled with this value.

    Look there for examples:
    http://www.workingwith.me.uk/article...ng/mod_rewrite
    http://www.sitepoint.com/article/apa...rite-examples/


Bookmarks

Posting Permissions

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