Ok! Thank you! wink

I'm lost! lol hmm

Smartys wrote:

So

$_GET["action"] = "active";
$_GET["show"] = "18";
$_GET["fid"] = "9,7,12,13,8,15,16,17,18,20,4,22,23";
include("/home/www/xxxxxx/www/forums/extern.php");

doesn't work? What error are you getting?

Fatal error: Cannot redeclare check_cookie() (previously declared in /home/www/xxxxxx/www/forums/include/functions.php:28) in /home/www/xxxxxx/www/forums/include/functions.php on line 97

Yes! You are entirely right!!! wink

Thank you!
However, I note that CURL generates slownesses.

Thank you very much!
Could you tell me if it works with allow_include_url = off?

But I cannot use url in include (allow_include_url doesn't work good in my servor).

Indeed, display_errors is not activated. But I cannot modify this now.

I have a blank page.

It doesn't work.

I have forgotten to specify that I cannot use url in include (allow_include_url doesn't work good in my servor).

Hello!

In forums/include/user/ I created tableau2.php in wich I put this code:

<?php define('PUN_ROOT','../../');
$_GET["action"] = "active";
$_GET["show"] = "18";
$_GET["fid"] = "9,7,12,13,8,15,16,17,18,20,4,22,23";
include("/home/www/xxxxxx/www/forums/extern.php");
?>

It's working good when I go to forums/include/user/tableau2.php.

After, in forums/include/template/main.tpl, I put <pun_include "tableau.php"> before <pun_main>... and bug! The include doesn't work any more.

Where is the problem?! sad

Hello!

It is possible to have this example with AJAX:

List of topics with forums ID=4,22
- topic 1
- topic 2
- topic 3
- etc.

List of topics with forums ID=3,10,20
- topic 1
- topic 2
- topic 3
- etc.

List of topics with forums ID=1,12,5
- topic 1
- topic 2
- topic 3
- etc.