Redirect use back after execution

From: Date: Fri, 02 Nov 2001 23:14:21 +0000
Subject: Redirect use back after execution
Groups: php.general 
Request: Send a blank email to php-general+get-73258@lists.php.net to get a copy of this message
Hello I'm making vbulletin foru hack, that allows to rate members my code is just 50 lines, I set link to my script from vBulletin page, and after it has been clicked code executes, and then i want to return user to the page where he clicked the link leading to my code, i was wondering how can this be done, use REFERER and then header("Locatiom: $REFERER";), will this work? Thank you very much

« previous php.general (#73258) next »