Hi zusammen,
seit der neuen 126 Version kann ich keinen externen PHP Code mehr einbinden. Bzw. er wird nicht mehr angezeigt.
Vorher klappte es auch mit "readfile". Jetzt nicht mehr.
Gibt es dafür eine Erklärung oder einen Workaround?
Hiermit klappt es übrigens irgendwie auch nicht mehr:
[PHP] mein_PHP_code ; mehr_PHP_code [/PHP]
{PHP:mein_externe_PHP_Datei.php}
Wie kann ich nun am besten eine externe PHP Datei einbinden?
Danke und Gruss
Externen PHP Code einbinden "readfile"
external php
Hi,
in my 1.2.6 installation, I had to edit the conf.inc.php
I used iframes beforehand to include my self-written php-scripts but I am right now experimenting in how to include more into the wcms. (Using the replacement tags like { PHP }, [ PHP ] and the php variables content-part.)
But I'm seeking help on this topic myself...
Bye! Ren
in my 1.2.6 installation, I had to edit the conf.inc.php
Code: Select all
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
But I'm seeking help on this topic myself...
Bye! Ren
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
Komisch,
das Problem hatte ich auch, aber nachdem ich
die Schalter in der conf "umgelegt" habe, ging wieder
alles ganz normal.
Stimmt den der Pfad bzw. die Bezeichnung?
Schau bitte in der conf noch mal nach.
Da müssen richtige PHP-Schalter sein.
das Problem hatte ich auch, aber nachdem ich
die Schalter in der conf "umgelegt" habe, ging wieder
alles ganz normal.
Stimmt den der Pfad bzw. die Bezeichnung?
Schau bitte in der conf noch mal nach.
Da müssen richtige PHP-Schalter sein.
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
config
Hi,
is also important expecially if you use scripts from a number of different servers, as is in our intranet.
Bye! Ren
Code: Select all
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
Bye! Ren
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
Jupp, damit sollte es nun auch wieder funktionieren.
Der Code für diesen Rep-Tag ist schli8eßlich nicht
verändert worden und noch aktiv.
Vielleicht lässt sich ja eine "Worauf du achten solltest"-Liste
der Änderungen veröffentlichen, wenn es wieder mal ein
Update/Upgrade oder so gibt.
Das ist jetzt vielleicht nicht so dramatisch, aber ich finde
es schon ein wenig nervig, wenn man sich nach Updates
erst einmal auf die Suche machen muss, was wofür nun
verantwortlich ist.
Der Code für diesen Rep-Tag ist schli8eßlich nicht
verändert worden und noch aktiv.
Vielleicht lässt sich ja eine "Worauf du achten solltest"-Liste
der Änderungen veröffentlichen, wenn es wieder mal ein
Update/Upgrade oder so gibt.
Das ist jetzt vielleicht nicht so dramatisch, aber ich finde
es schon ein wenig nervig, wenn man sich nach Updates
erst einmal auf die Suche machen muss, was wofür nun
verantwortlich ist.
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -