Re: [PHP] session_cache_expire()

2002-04-25 Thread Matt Rohrer

On Thu, Apr 25, 2002 at 03:03:43PM -0300, Pierre Arsenault wrote:
> 
> session_cache_expire()
> 
> How does this function work?
> 
> I keep getting and error saying the function is undefined... , I'm using 
> version 4.1.2, which session support built in. According to the 
> documentation this function exist, however looking at the source 
> (session.c, php_session.h) It doesn't appear to be defined... hence the 
> error I am getting. Anyone have any insight on this - or on how to use this 
> function?

For each function in the documentation, the second line after the function 
name lists which version of php has the function. Check it again.

-- 
Matt Rohrerhttp://prognostikos.com/503.816.8789
---
If men would only give up their silly desire for world dominance, 
the world would be a much finer place.  - Maureen Dowd

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




Re: [PHP] LDAP Search Scope / Schema Retrieval

2002-05-16 Thread Matt Rohrer

On Thu, May 16, 2002 at 09:34:16AM -0500, D Canfield wrote:
> Two related questions:
> 
> 1) Is there any work being done to support the retrieval of the LDAP
> schema in PHP (similar to Perl's Net::LDAP::Schema)?  Is there any other
> good way to get this information into PHP?
> 
> 2) Is there any way to change the search scope of an LDAP search in
> PHP?  Specifically, the following OpenLDAP search command will fetch the
> schema from the server: 
>  ldapsearch -s base -x -b 'cn=subschema' objectclass=* +
> But, I can find no way to switch the search scope from SUB to BASE, so
> the equivalent call in PHP won't work.
> 
> Any suggestions?

look into ldap_read() and the optional arguments to ldap_search()

 matt

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