cvs: php-bugs-web / bug.php

From: Date: Tue, 09 Oct 2001 16:51:28 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6938@lists.php.net to get a copy of this message
mj Tue Oct 9 12:51:28 2001 EDT Modified files: /php-bugs-web bug.php Log: * header() has to be called before commonHeader() is called Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.1 php-bugs-web/bug.php:1.2 --- php-bugs-web/bug.php:1.1 Sun Sep 23 19:27:04 2001 +++ php-bugs-web/bug.php Tue Oct 9 12:51:28 2001 @@ -1,4 +1,10 @@ <?php /* vim: set noet ts=4 sw=4: : */ +$id = (int)$id; +if (!$id) { + header("Location: /"); + exit; +} + require_once 'prepend.inc'; require_once 'cvs-auth.inc'; @@ -12,12 +18,6 @@ $mail_bugs_to = "php-dev@lists.php.net"; commonHeader("Bug Reporting"); - -$id = (int)$id; -if (!$id) { - header("Location: /"); - exit; -} @mysql_connect("localhost","nobody","") or die("Unable to connect to SQL server.");

« previous php.mirrors (#6938) next »