...

View Full Version : redirecting after POST



mockingbird001
11-02-2012, 08:32 AM
I'm working on a website and don't really know PHP

http://seriesaddict.fr/The-Big-Bang-Theory/86/avis


Basically, you can add a comment on the above link and I want to be able to add a comment from this page:

http://seriesaddict.fr/The-Big-Bang-Theory/86
and then redirect to
http://seriesaddict.fr/The-Big-Bang-Theory/86/avis

I've playing around with the function but can't figure out how to do it, here it is :

redacted

Any help ?

Rowsdower!
11-02-2012, 01:48 PM
I'll admit, I just did a quick scan of the script...but it seems like you would need an adjustment to this line:


header('Location: '.$_SERVER['REQUEST_URI']);

I suppose you would turn it into the following:


header('Location: '.$_SERVER['REQUEST_URI'].'/avis');



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum