Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-17-2009, 06:14 AM   PM User | #1
mithunmo
New to the CF scene

 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mithunmo is an unknown quantity at this point
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
mithunmo is offline   Reply With Quote
Old 08-17-2009, 07:14 AM   PM User | #2
mithunmo
New to the CF scene

 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mithunmo is an unknown quantity at this point
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
mithunmo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:16 PM.


Advertisement
Log in to turn off these ads.