PDA

View Full Version : Redirect back to the page the person was on?


jwocky
05-22-2008, 01:12 PM
Im writing a submission form plugin and after the data is submitted to my custom form, I want it to automatically redirect the user back to the page he was on before, I know there is a relativly easy way to do this using standard vbulletin functions, but for the life of me I can't find the info anywhere. Anyone know how to do this offhand?

thanks!!

nexialys
05-22-2008, 02:47 PM
$vbulletin->url is the variable containing the url of the page browsed before submiting

Medina
05-22-2008, 04:48 PM
I don`t where you exactly searching for, but I think you mean this.

<a href="$url">


Sorry if I am wrong.