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 7251 Aug 19, 2009, 12:44 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 7118 Aug 19, 2009, 1:08 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 7158 Aug 19, 2009, 1:57 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 7105 Aug 19, 2009, 2:15 PM
Thread; hot thread Re: [MJB] Strange PHP anomaly
VishalT 7075 Aug 19, 2009, 7:19 PM
Post; hot thread Re: [SWDevil.Com] Strange PHP anomaly
MJB 7090 Aug 20, 2009, 3:47 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 7154 Aug 20, 2009, 12:23 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 7046 Aug 20, 2009, 3:44 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 7123 Aug 20, 2009, 3:49 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 7056 Aug 20, 2009, 3:54 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 7062 Aug 20, 2009, 3:56 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 7048 Aug 20, 2009, 3:59 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 7079 Aug 20, 2009, 4:00 AM
Thread; hot thread Re: [Andy] Strange PHP anomaly
MJB 7068 Aug 20, 2009, 4:09 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
MJB 7051 Aug 20, 2009, 4:24 AM
Thread; hot thread Re: [MJB] Strange PHP anomaly
Andy 7108 Aug 20, 2009, 5:20 AM
Post; hot thread Re: [Andy] Strange PHP anomaly
MJB 7044 Aug 20, 2009, 7:05 AM