From: [EMAIL PROTECTED] Operating system: n/a PHP version: 4.3.0 PHP Bug Type: Documentation problem Bug description: header page example bogus
The example on http://php.net/header: | <?php header ("Content-type: audio/x-pn-realaudio"); ?> | // Broken, note the blank line above Is bogus, because whitespace before and after examples is stripped off, so the example should be modified to have a different error case presented. Ie: | <html> | <?php header ("Location: http://www.example.com/"); ?> | // Broken, note the script output above I cannot do this myself now... -- Edit bug report at http://bugs.php.net/?id=21391&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21391&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21391&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21391&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21391&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21391&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21391&r=support Expected behavior: http://bugs.php.net/fix.php?id=21391&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21391&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21391&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21391&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21391&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21391&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21391&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21391&r=gnused -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php