ID: 16972 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Output Control Operating System: Red Hat Linux 6.2 PHP Version: 4.1.2 New Comment:
how could anyone tell without seeing a *short* and *self-contained* script first? I suggest you take this issue to php-general@, and if the conclusion on the list is that it's really a change NOT announced in ChangeLog or NEWS, take it (along with a short script) here. Previous Comments: ------------------------------------------------------------------------ [2002-05-03 09:05:14] [EMAIL PROTECTED] But at first I thought it was a bug. In fact, I'm only speculating that it is a configuration problem. I would like some confirmation as to whether a bug truly exists which would cause this behavior or whether it is a problem in the configuration. If it is a bug causing 4.12 to behave differently than earlier versions, then it should be addressed. ------------------------------------------------------------------------ [2002-05-03 04:11:49] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-05-03 00:48:55] [EMAIL PROTECTED] The more I think about this problem, the more I believe it must be a configuration problem. However, since I have shared hosting accounts, I am dependent on my web host to set the configuration. If anyone can think of where the configuration may be set wrong, please let me know, so I can notify my web host (in this case, Linuxwebhost) where to look. In the meantime, I have found a rather awkward solution to keep the web tracking system working with Netscape. I have the PHP web tracking script check to see if it has received an identical request from an html page with the 1 by 1 pixel image in the last few seconds. (Identical in terms of user IP and page visited.) For IE, I can simply use the die command to stop the process. However, Netscape will continuously try to call the 1 by 1 pixel image. I had put in the command print "OK" hoping that would stop the browser. I noticed that I could direct a 1 by 1 pixel at another PHP script, such as a form mail script which prints html to the screen, and Netscape would not make multiple requests for the image. So I experimented, and placed the flush command ahead of the print command. Flush and print together stop the Netscape browser. However, as I said, that is a very awkward solution. Hopefully, a better solution can be found, such as finding the source of a configuration error. Thanks, Robert Jenkins ------------------------------------------------------------------------ [2002-05-02 14:56:46] [EMAIL PROTECTED] Thank your for your help. I have developed a PHP web tracker (ideal-tracker.com) which relies on a 1 by 1 pixel image placed on the html page being tracked. I also have another web host for a second site and I run an identical version of the web tracker on this additional site for test purposes. This second host recently upgraded to PHP 4.12 and now I am having problems with multiple counting of pages. Basically, the browser requests the 1 by 1 pixel image over and over. I inserted code to kill the script should an identical request come within 15 seconds. This works fine with IE. However, Netscape continues to request the 1 by 1 pixel image, and every 15 seconds, a hit is recorded. The process would basically go on forever unless the user hits the stop button or closes out the browser. This did not happed in either 4.04 or 4.06. Do you have any suggestions? Thanks, Robert Jenkins ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16972&edit=1