דניאל דנון 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
דניאל דנון 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
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
* 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
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
* 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
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
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
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
9 matches
Mail list logo