[PHP] PHP code in a database

2002-06-07 Thread Jean-Rene Cormier

I'm trying to make a script that'll take some pages from a database but
I want it to execute the PHP that's in the pages that it'll fetch from
the database.

Say it gets the data from the page in $data I want it to put the data on
the screen and if there's some PHP code in the $data variable I want it
to be executed. Is there a way I can do that?

Jean-Rene Cormier




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




[PHP] How do remove WARNING message

2002-04-22 Thread Jean-Rene Cormier

Ok I'm trying to create a script that would allow users to bind to an
LDAP server and we all know there's gonna be some people mistyping their
password but when I try to bind and put the wrong password I always get
a warning message like this:

Warning: LDAP: Unable to bind to server: Invalid credentials in
/whatever/dir/script.php on line 53

Is there a way I don't get this message and I'd put my own error
message?

Thanks

Jean-Rene Cormier




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




[PHP] ldap_sort function

2002-04-24 Thread Jean-Rene Cormier

It's not documented in the manual yet and since I'm doing quite some
LDAP stuff lately I think it would be useful so if anybody knows how to
use it let me know.

What I need is how do you define the "string sortfilter"? What's the
syntax for that?

Thanks

Jean-Rene Cormier



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