Seite 1 von 1

Datei mit query string includen?

Verfasst: 24.11.2003 21:34
von KoSSo
hi,
wie kann ich im phpBB eine datei mit einem Query string in einem template includen?

Ich habe es schon so probiert:

php-datei:

Code: Alles auswählen

"FILESYSTEM" => implode("",file("filesystem.php?file_id=$file_id&cat_id=$cat_id&file_title=$file_title"))
und im template dann {FILESYSTEM} aber da bekomme ich nur ne fehlermeldung "Warning: implode(): Bad arguments." :(

Grüße KoSSo

Verfasst: 25.11.2003 13:46
von Pyramide
Siehe http://de.php.net/manual/de/function.in ... hp#AEN5184

Code: Alles auswählen

// Funkt. nicht; file.txt wird von www.example.com nicht als PHP geparst
include 'http://www.example.com/file.txt?foo=1&bar=2';

// Funkt. nicht; schaut nach einer lokalen Datei namens
// 'file.php?foo=1&bar=2' im lokalen Dateisystem
include 'file.php?foo=1&bar=2';

// Funkt
include 'http://www.example.com/file.php?foo=1&bar=2';