[PHP-DOC] Bug #18287 Updated: setcookie() return value not documented

2002-07-11 Thread drfickle

 ID:   18287
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  4.2.1
 New Comment:

You are correct, it is indeed a boolean. I was just doing a print on
the return value before. Perhaps changing that and including a sentence
or two about the condition you mentioned too. Many people might assume
that the cookie wasn't sent if they get false returned.

Thanks much.


Previous Comments:


[2002-07-11 18:31:00] [EMAIL PROTECTED]

I get boolean TRUE on success, and boolean FALSE on failure.  Of course
failure does not mean the cookie wasn't set, it means the function
failed. Like if header info was already sent.

Docs say int is returned, should it be boolean instead?



[2002-07-11 17:26:45] [EMAIL PROTECTED]

The documentation for setcookie() does not specify what a successful
return value should be (0 or 1).




-- 
Edit this bug report at http://bugs.php.net/?id=18287&edit=1


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




[PHP-DOC] Bug #18287: setcookie() return value not documented

2002-07-11 Thread drfickle

From: [EMAIL PROTECTED]
Operating system: n/a
PHP version:  4.2.1
PHP Bug Type: Documentation problem
Bug description:  setcookie() return value not documented

The documentation for setcookie() does not specify what a successful return
value should be (0 or 1).
-- 
Edit bug report at http://bugs.php.net/?id=18287&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=18287&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=18287&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=18287&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=18287&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18287&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=18287&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18287&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18287&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=18287&r=globals


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




[PHP-DOC] Bug #15411: Mention 'AllowOverride Options' in the Apache configuration

2002-02-06 Thread drfickle

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.1.1
PHP Bug Type: Documentation problem
Bug description:  Mention 'AllowOverride Options' in the Apache configuration

The configuration section of the documentation refers to using .htaccess
files to override system wide PHP settings. However, it does not mention
that you need "AllowOverride Options" or higher in order for this to work.
Adding this to the documentation may save some people some hours of
frustration.

Thanks ;0)
-- 
Edit bug report at http://bugs.php.net/?id=15411&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=15411&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=15411&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=15411&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15411&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15411&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15411&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15411&r=notenoughinfo