Welcome Guest, Not a member yet? Register   Sign In
cannot user redirect() function..
#2

[eluser]Tim Brownlaw[/eluser]
That sounds like it's not "getting" there... So it's not being executed!

What if you temporarily add just prior to the redirect ( or comment out the redirect ) with...

Code:
echo 'Hello - I am at line: '. __LINE__.'<br>';
exit();

You can plonk that echo statement ( without the exit) in your if's and else's to see where the code is going and where it isn't. The exit() just stops the script whizzing along...

I use that all the time to quickly find out what's going on when things go "Strange"!





Messages In This Thread
cannot user redirect() function.. - by El Forum - 09-12-2014, 07:26 AM
cannot user redirect() function.. - by El Forum - 09-12-2014, 09:12 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 07:15 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 08:28 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:00 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:20 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:28 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:36 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:17 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:19 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:51 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 07:08 PM
cannot user redirect() function.. - by El Forum - 09-15-2014, 12:22 AM
cannot user redirect() function.. - by El Forum - 09-15-2014, 01:12 AM
cannot user redirect() function.. - by El Forum - 09-15-2014, 05:39 PM
cannot user redirect() function.. - by El Forum - 09-15-2014, 06:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB