Re: SEARCHING for an answer...
| From: | Robert Cummings | Date: | Tue, 11 Sep 2007 19:52:29 +0000 |
| Subject: | Re: SEARCHING for an answer... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261975@lists.php.net to get a copy of this message | ||
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!
...........................................................