Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Calling tcl script from PHP

    Hello All ,

    I have a PHP script on the WAMP server . I also have a tcl script in the same directory. But when I run the PHP script from the browser I do not get any output.

    Here are the files .

    PHP Code:
     <?
     
    echo exec"tclsh85 1.tcl ");

    ?>
    //1.tcl

    puts " Hello world "

    Can anyone tell me where am I going wrong ?

    Regards,
    Mithun

  • #2
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just wanted to add that . The PHP scripts works fine when I execute from the command line . It is only when I execute from the browser (http://localhost/1.php ) , I get a blank page.

    It will be great if someone can help me .

    Regards,
    Mithun


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •