Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 29th, 2005, 8:13 PM   #1
ktsirig
Programmer
 
Join Date: Oct 2005
Posts: 54
Rep Power: 4 ktsirig is on a distinguished road
External programs ---Grrrrrrrrrrr

Hi all!
I have just installed my first Linux distribution (SUSE 10.0).
Everything is compiled as far as Apache, Mysql & PHP is concerned.
But, I have this problem: I call system commands through PHP using system, shell_exec etc
The thing is that PHP responds OK when it comes to 'ls' or 'grep' or 'wget', but, in another program,
not UNIX-native, there is no response.
I am sure that the program is set up in the PATH, because, if I open a terminal, I can call it from everywhere and it works fine!
Any ideas on why PHP can't call it like 'ls' for example?

**One thing that really angries me is that in the University, these things work fine, and the external program is called without any problem. **
ktsirig is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC