external php

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post 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.
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

Post by cguenther »

the Replacementtags used in phpWCMS are casesesitive. So [PHP] is not the same as [php].
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post 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
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post 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
Post Reply