|  | Posted by Mandragon03 on 06/15/37 12:00 
On Jan 15, 10:25 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:> On Tue, 15 Jan 2008 18:22:52 +0100, <Mandrago...@gmail.com> wrote:
 > > I am using php 5.2.5 via a wamp server on my machine. I have created a
 > > web interface to a mysql database using  php. The web interface has a
 > > link to a php file which calls a dos batch file like this:
 >
 > > $Text = shell_exec("c:\mydatabase\convertdb.bat $Language");
 >
 > If you use \\ or / instead of a single \ , does the problem persist?
 > --
 > Rik Wasmus
 
 using this did work!
 
 $Text = shell_exec("c:\\mydatabase\\convertdb.bat $Language");
 
 Thanks for the help!
  Navigation: [Reply to this message] |