[thelist] how to tell if php login functionality uses pear

Max Schwanekamp lists at neptunewebworks.com
Thu May 4 12:43:06 CDT 2006


> -----Original Message-----
> From: Sarah Adams  
> I'm trying 
> to determine if the login functionality is using cookies. Based on a 
> simple search for "cookie" in the files in the site, it 
> isn't, but since 
> it appears to be using a PEAR package (not even sure if this is the 
> right term), I really don't know if my search for "cookie" is 
> sufficient. So my question is, how can I tell for sure if the site is 
> using a PEAR package (and which package)?

That's the right term.  
<?php 
echo get_include_path.'<br />';
exit(print_r(get_included_files())); 
?>
At the right place in the script that deals with the login process ought to
show you if a PEAR pkg is being used.  The include_path will show where PEAR
lives, and the latter statement will show which pkg is being used, if any
(probably Auth or LiveUser, if any).
Probably the login state, whether it's PEAR or not, will use sessions to
maintain state.
HTH.

-- 
Max Schwanekamp
http://www.neptunewebworks.com/





More information about the thelist mailing list