Re: [PHP] Re: shell_exec fails to compile java class?

2009-11-12 Thread Mark Cilissen
דניאל דנון schreef: Where are you trying to write text.txt? Are you setting a current working directory in your batch file? Do you have write permission in this directory? (copied it to make it easier to understand my answer) In the same folder. Yes, there is a "cd javafiles" Yes. I know its not

[PHP] Re: shell_exec fails to compile java class?

2009-11-04 Thread Nathan Rixham
דניאל דנון wrote: Hello! I need to use shell_exec (or any other similar function) in order to compile a java class-file. I have all the needed components installed on my computer (Windows XP with Java SDK) - I can use "java c:\path" in order to compile using Start->Run. When I try to do th

[PHP] Re: shell_exec - asynchronous would be cool!

2009-02-18 Thread Martin Zvarík
German Geek napsal(a): Hi all, A while ago, i had a problem with shell_exec: I was writing some code to execute imagemagick to convert a bunch of images. This could take ages to execute and the page therefore ages to load. The solution was to get a linux box and append a & at the end to do it i

[PHP] Re: shell_exec("zip.. ?

2005-08-04 Thread Matthew Weier O'Phinney
* Sam Smith <[EMAIL PROTECTED]>: > > shell_exec("zip -r ddd ddd"); // don't work Many version of zip won't append the .zip extension. In such a case, what you have above will try to name the zip file the same as the existing directory, which obviously won't work. Try: shell_exec("zip -r ddd.z

[PHP] Re: shell_exec and accents

2004-01-29 Thread DvDmanDT
As I said somewhere else about an hour ago, use like Iconv or something like that.. It's caused by different charsets.. Chances are quite big you want to use iso-8859-1, but the shell command uses something else.. -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "Phpdiscuss - Php

Re: [PHP] re: shell_exec

2003-08-17 Thread Curt Zirzow
* Thus wrote John ([EMAIL PROTECTED]): > > I know the perl script executes because a basic print statement in the > perl script is outputted to /tmp/error. However anything else in the > script not having to do with output is not executed. The perl script is > basically supposed to add a file. Tha

[PHP] re: shell_exec

2003-08-17 Thread John
All I want to do is execute a perl script. I do not care about output to browser. I have used shell_exec, system, exec, and backticks with no avail. Here is what i have now in my php page. shell_exec("perl data/addSite.pl" . " &> /tmp/error " ); I know the perl script executes because a basic pri

[PHP] Re: Shell_exec() [ or what else? ] to kill root-started FTP daemon

2003-07-22 Thread Pete Morganic
check out the linux "sudo" command pete R evėŹĘår{óv ņń wrote: Hello. I am trying to restart my FTP daemon by killing it and then starting it using the shell_exec() function: shell_exec('kill '.$pid ); Shell_exec does nothing by this - when i do ps -ef later, i see the daemon with the same p

[PHP] Re: shell_exec problem

2002-11-15 Thread Sebastian Konstanty Zdrojewski
Why don't you try to use the system() function call? I use it to launch different programs on a server and it works perfectly. Be sure the sendfax application is launchable by the apache daemon. Best Regards, En3pY Coert Metz wrote: Hi everybody I have some few problems with the shell_exec co