Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: rate_success change - pugdog?

Quote Reply
Re: rate_success change - pugdog? In reply to
Did you try giving it an actual file path, not a directory (which is in itself a re-direction)?

(print $in->redirect("http://www.yourdomain.com/index.html")) or (return &error ("Page not found: $id"));

I'm _NOT_ sure you want to _AND_ the return.

Once you "print" the output, and redirect to a new page, you want to end processing, rather than return. You'd only want to return if you were unable to print or redirect for some reason... ie: the left side was "FALSE" so the right side of the OR had to be evaluated for a TRUE.

Does someone know for sure? (I've hated logic since High School!)

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Subject Author Views Date
Thread rate_success change - pugdog? jeffb 3858 Aug 22, 2000, 10:47 AM
Thread Re: rate_success change - pugdog?
Stealth 3756 Aug 22, 2000, 11:21 AM
Thread Re: rate_success change - pugdog?
jeffb 3761 Aug 22, 2000, 11:38 AM
Thread Re: rate_success change - pugdog?
pugdog 3748 Aug 23, 2000, 11:41 AM
Thread Re: rate_success change - pugdog?
jeffb 3730 Aug 29, 2000, 2:54 PM
Thread Re: rate_success change - pugdog?
jeffb 3720 Sep 13, 2000, 5:35 AM
Post Re: rate_success change - pugdog?
pugdog 3706 Sep 13, 2000, 10:28 AM
Post Re: rate_success change - pugdog?
Alex 3707 Sep 13, 2000, 1:14 PM