[PHP-DEV] Bug #12501: authen/authz handler capability

2001-07-31 Thread jbarrett

From: [EMAIL PROTECTED]
Operating system: any (apache)
PHP version:  4.0.6
PHP Bug Type: Feature/Change Request
Bug description:  authen/authz handler capability

Doesn't loom large on the totem pole but it'd be nice if we could have
similar authen/authz handler capabilities to that which perl has. as in..

PHPAuthenHandler authen script here
PHPAuthzHandler authz script here

sort of stuff.
-- 
Edit bug report at: http://bugs.php.net/?id=12501edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12474: possible incorrect strtotime handling of -1Month

2001-07-30 Thread jbarrett

From: [EMAIL PROTECTED]
Operating system: Linux (should happen on any)
PHP version:  4.0.4pl1
PHP Bug Type: Date/time related
Bug description:  possible incorrect strtotime handling of -1Month

when running
?PHP
print date(d/m/Y, strtotime(31 July 2001)).\n;
print date(d/m/Y, strtotime(-1 month, strtotime(31 July
2001))).\n;
?

it replies with 
X-Powered-By: PHP/4.0.3pl1
Content-type: text/html

31/07/2001
01/07/2001

of course what it's doing is turning it into 31 june which is then being
considered to be the 1 of july.. Should this be right or should strtotime
realise that there are 30 days in june and truncate the 31st day?
-- 
Edit bug report at: http://bugs.php.net/?id=12474edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11599: stdio stream problem

2001-06-21 Thread jbarrett

From: [EMAIL PROTECTED]
Operating system: cobalt linux 2.2.14C10
PHP version:  4.0.4pl1
PHP Bug Type: Apache related
Bug description:  stdio stream problem

The following php lines :-

?PHP
$fp = fopen(php://stderr, w);
fputs($fp, here's a debug message);
fclose($fp);
phpinfo();
?

work the first time but the second time reply with :-

Warning: fopen(php://stderr,w) - Bad file descriptor in 
/home/sites/site2/users/jbarrett/web/test.php on line 2

Warning: Supplied argument is not a valid File-Handle resource in 
/home/sites/site2/users/jbarrett/web/test.php on line 3

Warning: Supplied argument is not a valid File-Handle resource in 
/home/sites/site2/users/jbarrett/web/test.php on line 4

unless apache is restarted. Called it apache related cos the code works fine on 
console but only fails this way as an apache module. (more than likely something to do 
with PHP cleaning up the file pointer)



-- 
Edit Bug report at: http://bugs.php.net/?id=11599edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]