[Typo3] How to insert own PHP scripts into content

Anders Tillebeck at at novomatrix.dk
Fri Aug 19 14:53:37 CEST 2005


This reply is a bit late, anyways...
You can use the extension: page_php_content to insert own php code. It 
works fine :-)

BR. Anders Tillebeck


Thorsten Reichelt wrote:
> Hello !
> 
> I'm trying to insert my own PHP script into
> my website but it did not work. The Script
> itself connects to an own mySQL database and 
> and echos a HTML table with the DB content.
> 
> In my HTML template I have inserted a marker
> named ###PHPSCRIPT### and inside TYPO3 I
> added the following into SETUP:
> 
> page.10.marks.PHPSCRIPT = PHP_SCRIPT_EXT
> page.10.marks.PHPSCRIPT.file = fileadmin/members.php
> 
> but this produces no output neither inside the content area
> nor inside the marker. And if I write
> 
> page.10.marks.PHPSCRIPT = PHP_SCRIPT
> page.10.marks.PHPSCRIPT.file = fileadmin/members.php
> 
> the PHP script is inserted above all the rest
> of the side and not into the ###PHPSCRIPT###
> marker.
> 
> Can someone tell me how to replace my marker
> with the PHP script? Or is is possible that the
> script is copied into content area? Something
> like
> 
> subparts.CONTENT < PHP_SCRIPT_EXT
> 
> ??
> 
> Thanks
> 
>   Thorsten Reichelt
> 
> 



More information about the TYPO3-english mailing list