Redirecting Pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrinal
    New Member
    • Aug 2006
    • 1

    Redirecting Pages

    Hello,
    I want some information regarding PHP pages.
    I have developed one site and it is working well on my localhost
    but when I uploaded it, it was not working good.
    I want some info. about sessions and cookies.
    Is it necessary to register a session? How to redirect pages?
    If I used header("locatio n:") it was giving me the warning.
    How I redirect page if the code is after html code?
    Please send me all info. regarding tht.
    Thanking you

    Mrinal
  • bevort
    New Member
    • Jul 2006
    • 53

    #2
    You can use the meta command
    <meta http-equiv="Refresh" content="2; URL=index.php">

    but remeber that this is done on the client side.
    I use this to send a succes message to the user when updating a database. Then I rediredt to another page like a list

    The number in the content is the number of seconds to wait

    Vincent

    Comment

    Working...