View Single Post
  #1 (permalink)  
Old 06-25-2008, 06:59 AM
sarel sarel is offline
Novice
Join Date: Jun 2008
Posts: 12
iTrader: (0)
sarel is on a distinguished road
[SOLVED] Shell execution

I need some help with executing a shell using PHP.

The shell is in the following path:

c:\tools\bin\ogr.exe

I have read that <?php $cmd = command string ; shell_exec($cmd); ?> will di the trick but how do I get this function to execute the shell in the above path??


Sarel

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!