[PHP] PHP-Based Authentication Security?

2002-03-06 Thread Coggeshall, John
Hey all.. I've got a question -- I'd like to restrict access to entire directories based on if the user has been authenticated or not. Basically, I'd like to set up a auto-include *FROM APACHE* to run a PHP script prior to sending any documents what-so-ever and only send the requested document i

RE: [PHP] Re: PHP-Based Authentication Security?

2002-03-07 Thread Coggeshall, John
.htaccess and pw files are pointless, who wants to maintain potentially 10 or 20 of these things? Furthermore, it's gotta do more than just serve a single file at a time -- that's simple... I needed directly-level security. The solution I came up with was to use a module called mod_auth_any, whi

RE: [PHP] Makeing $string into CAPS

2002-03-07 Thread Coggeshall, John
$str = strtoupper($str); John -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 4:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Makeing $string into CAPS How can I make a $string = hello into $string = HELLO? Philip J. Newman PhilipN

RE: [PHP] Execute php script inside an HTML page???

2002-03-12 Thread Coggeshall, John
If you are running apache, open httpd.conf and search for .php (the line where it specifies what types of files are PHP files)... Simply add .html to the list. John -Original Message- From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 3:41 PM To

RE: [PHP] object reflection in php?

2002-03-18 Thread Coggeshall, John
Why are you going through all of this trouble, exactly? If you are looking to store the instance of the object in the databaes, why not just use serialize()/unserialize()?? John -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 10:43 AM To

RE: [PHP] printing in HTML or PHP

2002-03-18 Thread Coggeshall, John
For that matter, even better... Why bother with PHP at all? -Original Message- From: John Steele [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 7:53 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] printing in HTML or PHP PHP doesn't have to parse this string (since it conta

RE: [PHP] WHOIS in PHP

2002-03-18 Thread Coggeshall, John
Read my article on connecting to Internet services (Creating a WHOIS interface): http://www.zend.com/zend/spotlight/connecting.php John -Original Message- From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 4:48 PM To: PHP List Subject: Re: [PHP] WHOIS