1

Topic: Weird problem with extern.php

I tried to integrate extern.php into a script with the string

include('http://host.com/forums/extern.php?action=active&show=3');

and

include('http://host.com/forums/extern.php?action=online');

The inclusion works, but at the end of inclusion the display shows "1".

You can find a test installation at

http://www.clickwork.ch/alcl/

(inclusion highlighted in red)

What could cause this?

Re: Weird problem with extern.php

Very strange indeed. I very much doubt it's a problem with extern.php though. Having a look at the output from extern.php, we can see that PunBB isn't spitting that 1 out:

http://www.psychotopia.ch/extern.php?ac … amp;show=3

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Weird problem with extern.php

Rickard wrote:

Very strange indeed. I very much doubt it's a problem with extern.php though. Having a look at the output from extern.php, we can see that PunBB isn't spitting that 1 out:

http://www.psychotopia.ch/extern.php?ac … amp;show=3

I think it has to do with the script, extern.php is included.

Thank you anyway!

4 (edited by Shiva 2006-05-25 23:28)

Re: Weird problem with extern.php

Okay, I found what causes this. There was an echo command before the string include().