PDA

View Full Version : redirection


Serge
05-15-2003, 08:03 PM
Is there a function of some sort I can pass in PHP so that when someone submits a forum it shows a message and then redirects kind of like vbulletin. I'm currently looking for how they do it but having trouble finding it. Could some one lend a few words?

Thanks,
Serge

Xenon
05-16-2003, 10:32 AM
standartredirect is defined in functions.php

but it's just to stop the user a bit, truely code is executed during this time...

Serge
05-16-2003, 06:50 PM
Well this really didn't really help I don't think. I don't seem how they to it. They don't seem to use a function to forward the user to another page. I need to know how to redirect a user after they have submitted a form. Any more help you can provide?

EDIT: I guess I could include a redirection page using the include function and then in that page have a meta tag to take them somewhere. If there is an easier way be let me know.

Xenon
05-16-2003, 09:40 PM
you can either use the header() function for a redirect as you can see in forumdisplay.php for example or if you already startet the output you have to use javascript to redirect as you'll find in the redirect templates.