[Loris-dev] header redirect
Tom Beaudry
waveflux at gmail.com
Thu Aug 10 11:39:25 EDT 2017
Hi Guys,
I am trying to do a redirect on my instrument (after the save button has
been clicked), and it doesn't work. I am guessing there are some redirect
rules somewhere else that are affecting what I'm trying to do.
My code is the follows:
$actual_link = "https://loris.loris.ca/main.php?test_name=E4_Data"
. $endOfURL;
header("Location: '$actual_link'");
I then get redirected to this instead:
http://loris.concordia.ca/E4_Data/'https:/loris.loris.ca/main.php/?test_name=E4_Data&candID=936829&sessionID=53&commentID=936829PER0002531241502311230%27
Any help would be greatly appreciated,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20170810/9af5fe4f/attachment.html>
More information about the Loris-dev
mailing list