SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Redirect after page load...
-
Sep 21, 2001, 13:24 #1
- Join Date
- Nov 2000
- Location
- Hong Kong
- Posts
- 1,508
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Redirect after page load...
Hi,
Using PHP is there any way I can redirect a page, after I've outputted headers? I cannot use META REFRESH tags or javascript. It must be php. I thought I saw somewhere that you could do something with ob_xxx(); and it'd work but I can't find it anymore.
Anyone?
-peter
-
Sep 21, 2001, 13:29 #2
- Join Date
- Aug 2000
- Location
- San Diego, CA
- Posts
- 5,460
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Just put ob_start() at the top of the script and you should be able to redirect after ehaders have been sent.
Please don't PM me with questions.
Use the forums, that is what they are here for.
-
Sep 21, 2001, 15:22 #3
- Join Date
- Nov 2000
- Location
- Hong Kong
- Posts
- 1,508
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks allot...
-Peter
Bookmarks