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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: flush at stmail dot chosun dot ac dot kr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC