happyIndian100
Programmer
How can i call a TCL script from PHP and return a value from TCL to php.
Please Help!!!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]master #[/blue] cat blabla.php
<?php
echo "2 + 3 = ".exec( "tclsh blabla.tcl 2 3" )."\n";
?>
[blue]master #[/blue] cat blabla.tcl
puts [expr [lindex $argv 0]+[lindex $argv 1]]
[blue]master #[/blue] php blabla.php
2 + 3 = 5