[dev] getting a user's prefs without loggin the user

Jon Parise jon@horde.org
Wed, 11 Jul 2001 23:06:31 -0400


On Thu, Jul 12, 2001 at 01:59:40AM +0200, Atif Ghaffar wrote:

> Jon, thanks for your help, but the code that you show me does not work.
> See http://www.aghaffar.ispman.net/jonp.php  (and phps for the source)
> Also see
> http://www.aghaffar.ispman.net/test.php  (and phps for the source)
> 
> any ideas?
 
I can only guess without being able to actually play with it, but
I'd wager it has something to do with the scope field.  If that
is left blank (which it is in the above code), the scope will
default to 'horde'.  If the scope field of the entry in your
table (or whatever source you're using) isn't also set to
'horde', you'll get an empty result.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member