PHP 4.0 Bug #6428 Updated: repeate 'include' statement at some page

From: Date: Tue, 03 Oct 2000 03:18:05 +0000
Subject: PHP 4.0 Bug #6428 Updated: repeate 'include' statement at some page
Groups: php.dev 
Request: Send a blank email to php-dev+get-34034@lists.php.net to get a copy of this message
ID: 6428 Updated by: sniper Reported By: flush@stmail.chosun.ac.kr Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No feedback. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-03 05:46:37] stas@php.net I can't make any sense of this. Could you please provide a short code snippet explaining what is happening? --------------------------------------------------------------------------- [2000-08-30 07:46:41] flush@stmail.chosun.ac.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-08-30 04:11:00] 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-29 22:51:08] flush@stmail.chosun.ac.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6428

« previous php.dev (#34034) next »