need some help about redirect

Discussion in 'PHP' started by Rices, Nov 12, 2011.

  1. #1
    can we generate a redirect file ib php which tell server which data to show. & from where we call this redirect file....... Very simple there is dummy links at index.php & when a link is click then the server goes to this redirect file.


    any effort will be appreciated
     
    Rices, Nov 12, 2011 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    The easy answer is Yes but I'm not sure exactly what you are trying to do.

    Your index page can have any sort of real or rewritten link in it
    If they are clicked then your .htaccess will read the link, rework it and send the user to the correct it.
     
    sarahk, Nov 12, 2011 IP
  3. amgadhs

    amgadhs Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    amgadhs, Nov 14, 2011 IP
  4. beven

    beven Well-Known Member

    Messages:
    483
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #4
    I think that u are try to make a dynamic site that have a index page which have shown data from database & u manually make a link & then desire to call a specific file which also have some situation....... am i right
     
    beven, Nov 16, 2011 IP