#21391 [NEW]: header page example bogus

From: Date: Fri, 03 Jan 2003 14:17:14 +0000
Subject: #21391 [NEW]: header page example bogus
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350596@lists.php.net to get a copy of this message
From: goba@php.net 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

« previous php.doc (#969350596) next »