Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Strange PHP anomaly

Quote Reply
Strange PHP anomaly
I am using a PHP/MySQL counter script, which displays visitors currently online.

The strange thing is that it displays correctly in the Index pages but not on the Detailed pages.

For example the source code on the index pages, category pages shows:
Code:
Visitors Online: 2

but the source code on the Detailed pages shows:
Code:
Visitors Online:<?php
include("/home/mysite/public_html/counter/counter.php");
?>

Everything is built with .php extensions so I don't know why it's not happy with the Detailed pages.

Any clues?
Subject Author Views Date
Thread; hot thread Strange PHP anomaly MJB 9873 Aug 19, 2009, 12:44 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 9695 Aug 19, 2009, 1:08 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 9734 Aug 19, 2009, 1:57 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 9683 Aug 19, 2009, 2:15 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
VishalT 9654 Aug 19, 2009, 7:19 PM
Post; hot thread Re: [SWDevil.Com] Strange PHP anomaly
MJB 9669 Aug 20, 2009, 3:47 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 9733 Aug 20, 2009, 12:23 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 9623 Aug 20, 2009, 3:44 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 9700 Aug 20, 2009, 3:49 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 9633 Aug 20, 2009, 3:54 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 9639 Aug 20, 2009, 3:56 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 9626 Aug 20, 2009, 3:59 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 9656 Aug 20, 2009, 4:00 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 9650 Aug 20, 2009, 4:09 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 9631 Aug 20, 2009, 4:24 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 9686 Aug 20, 2009, 5:20 AM
Post; hot thread Re: [Andy] Strange PHP anomaly
MJB 9620 Aug 20, 2009, 7:05 AM