[Typo3] Embedding php scripts

Dmitry Dulepov typo3 at fm-world.ru
Tue Nov 29 07:50:27 CET 2005


Hi!

Vlatko Šurlan wrote:
> But 'works!' does not get displayed.

Ok, change this file to the following:

<?php
echo "<br/>--Outside--</br>";		// <<<<<
    class user_invoice {
        function store_invoice($content, $conf) // <<<<<
        {
echo "<br/>--Inside--</br>";		// <<<<<
            return 'works!';
        }
    }
?>

and call page with "&no_cache=1" appended to "id=...". See if you have
those "inside" and "outside" marks.

Dmitry.



More information about the TYPO3-english mailing list