Results 1 to 2 of 2

Thread: delay a page to display

  1. #1

    delay a page to display

    How I can stop a page for some time to display, e.g
    i use header(location:"url"); to redirect in a moment but I want to delay for sometime and displaying a message that you are now redirecting to this page.

  2. #2
    Header() must be at the top, and nothing can be above it. I reccomend you use <meta> refresh instead. It does the same thing, but you can set an optional delay before it refreshes. (you can choose which URL to go to by hardcoding it or just throw a variable in it.

    Where X = delay in seconds
    and URL = URL

Posting Permissions

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