php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6428 repeate 'include' statement at some page
Submitted: 2000-08-29 22:51 UTC Modified: 2000-10-02 23:18 UTC
From: flush at stmail dot chosun dot ac dot kr Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
 [2000-08-29 22:51 UTC] flush at stmail dot chosun dot ac dot kr
repeate using 'include'statement at some page

mysql log is abnormal

normal mysql log is ..
--------------------------------------
connecting time     PID Connect user@server on
                    PID init DB dbname
                    PID Query  query string
.
.
.
time                PID Quit
--------------------------------------

but, log for that page  is ...
----------------------------------------
connecting time     PID Connect user@server on
                    PID init DB dbname
                    PID Query  query string
.
.
.
.
                    (PID+1) Connect user@server on
                    (PID+1) init DB dbname
                    (PID+1) Query query string
.
.

                    (PID+1) Quit
--------------------------------------


point : 
  - pid increased by 1;
  - abnormal log(time)
  - using 'include' statement is repeated

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-30 04:11 UTC] hholzgra@php.net
what does the included code do?
if it has your mysql_connect() code in it
then what do you expect?
maybe you should use include_once() instead?
 [2000-08-30 07:46 UTC] flush at stmail dot chosun dot ac dot kr
session processing in include statement.

detail :
  - db connect;
  - session create;
  - set cookie;
  - session log in database;
  - select user information;

code is no bug and reusing.

only one processed, in code.

doing equal proced also use include_once() function with that code.


mysql log is show me other process(PID+1) in repeate include.

so, that code is only one process at 'include' statement.

sory, my short english language. ^^;


 [2000-09-03 05:46 UTC] stas@php.net
I can't make any sense of this. Could you please provide a short code snippet explaining what is happening?
 [2000-10-02 23:18 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 27 14:01:33 2024 UTC