Page 1 of 1

Posted: Wed 22. Dec 2004, 06:56
by Karla
http://www.phpwcms-docu.de/system_tags.phtml
{PHP:my_external_PHP_script.php}

Use: This tag supports complete external php scripts, ending with the *.php suffix. Phpwcms buffers output to enable these scripts to execute. Very robust including connections to remote databases. See forum for details and usage.
Notation: {PHP:my_external_PHP_script.php}
Result: -
Remark: The file name including the necessary indication of path is to be entered. Longer PHP scripts should be merged if necessary within iframe within phpwcms.

Posted: Wed 22. Dec 2004, 07:36
by cguenther
the Replacementtags used in phpWCMS are casesesitive. So [PHP] is not the same as [php].

Posted: Wed 22. Dec 2004, 08:37
by trip
The php program needs to be in the same directory as the cms

eg
http://www.domain.com/phpwcms/
http://www.domain.com/phpwcms/poll/

your tag should then be

[PHP:poll/booth.php]

Hope this helps
TriP

Posted: Fri 24. Dec 2004, 07:34
by trip
Hi there
I normally create my own dir

eg.
http://www.domain.com/mydir/polls/

your tag will then be like this

{PHP:mydir/polls/script.php}

note the tag you are using is incorrect.

Tha should get you going
TriP