|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-29 14:30 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 06:00:01 2025 UTC |
Description: ------------ Actually it isn't an IIS error, but ISAPI related. I'm using Abyss Web Server 2.x and PHP 5.2.x on ISAPI interface. This error doesn't exist when using CGI. Don't ask me to change the interface to CGI. I have tried it, but since I using low memory computer it can't be done. Thank's before. Reproduce code: --------------- <?php function redirect($page = 'page') { header('Location: '.$_SERVER['PHP_SELF']); exit(); } redirect(); ?> Expected result: ---------------- infinite loop of redirecting Actual result: -------------- Fatal error: Cannot redeclare redirect() (previously declared in G:\Gbr\AbyssWS\htdocs\crash.php:3) in G:\Gbr\AbyssWS\htdocs\crash.php on line 3