On Tue, 2007-09-11 at 15:42 -0400, Jason Pruim wrote:
>
> Total length is 293 lines.
> 
> It redirects before any output of $search is visible.
> I put it up as a .txt file at: raoset.com/oldb/index.txt for anyone  
> who wants to see the code...
> 
> I know it repeats it's self, but I couldn't figure out how to get it  
> to log in and stay logged in right without doing that... If anyone  
> has any ideas on that as well... But that is a different issue :)

*lol* I ALWAYS create a wrapper function to perform redirects so that in
times of confusion I can add a simple print_r( debug_backtrace() ) to
find out where the hell the redirect is occurring :) it's also simpler
for ensuring that I use the Location header properly (absolute URL) and
for saving me having to write header( 'Location: '.$wherever ) when it's
so much clearer to write: doRedirect( $wherever ).

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to