Categories > TinyButStrong general >

Execute Another Script

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: iwan
Date: 2005-01-15
Time: 13:50

Execute Another Script

Can I execute Another Script CLASSES in TBS,
Please give an example, tks.
By: Skrol29
Date: 2005-01-15
Time: 15:29

Re: Execute Another Script

What do you mean by "Another Script CLASSES" ?
By: iwan
Date: 2005-01-16
Time: 18:37

Re: Execute Another Script

Please Create a new script class and then Execute Another Script template...
By: Skrol29
Date: 2005-01-16
Time: 19:03

Re: Execute Another Script

Sorry, I still don't understand. Could you give more details?
Do you have an exampe?
By: iwan
Date: 2005-01-17
Time: 07:12

Re: Execute Another Script

please go to menu Example.
and choose "Execute another script" from the left pane
click on the "see the script source"
my question...
if this script is a class rather than a text.
can I execute this class from template?
Tks.
By: iwan
Date: 2005-01-17
Time: 08:39

Re: Execute Another Script

OK. I have test and  success tks.

<?
class test {

   function test() {
      echo 'This text is displayed by an external script.<br>' ;
   }
}

$tes = new test ;
$tes->test();
?>