You are here: Re: batch file issue... « PHP Programming Language « IT news, forums, messages
Re: batch file issue...

Posted by Mandragon03 on 11/11/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация