On Sun, Aug 25, 2013 at 11:41 PM, Ethan Rosenberg
wrote:
> Dear List -
>
> I'm lost on this one -
>
> This works -
>
> $out = system("ls -l ",$retvals);
> printf("%s", $out);
>
> This does -
>
> echo exec("ls -l");
>
> This does not -
>
> if( !file_exists("/var/www/orders.txt"));
> {
>$out = s
On 8/26/2013 5:01 PM, Ethan Rosenberg, PhD wrote:
On 08/26/2013 03:28 PM, Jim Giner wrote:
On 8/26/2013 2:41 PM, Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple hat am 26. August 2013 um
08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenb
"Ethan Rosenberg, PhD" wrote:
>
>
> Ethan Rosenberg, PhD
> /Pres/CEO/
> *Hygeia Biomedical Research, Inc*
> 2 Cameo Ridge Road
> Monsey, NY 10952
> T: 845 352-3908
> F: 845 352-7566
> erosenb...@hygeiabiomedical.com
>
> On 08/26/2013 07:33 PM, David Robley wrote:
>> Ethan Rosenberg wrote:
>>
>>
Ethan,
A return code of not 0 means an error occured.
Probably /var/www is not writable. Test that one by doing this:
$a = is_writable("/var/www);
var_dump($a);
If that says anything else than (boolean) TRUE, you can't write in the
directory.
Sincerely,
Jasper Kips
Op 27 aug. 2013, om 02:32
Ethan Rosenberg, PhD
/Pres/CEO/
*Hygeia Biomedical Research, Inc*
2 Cameo Ridge Road
Monsey, NY 10952
T: 845 352-3908
F: 845 352-7566
erosenb...@hygeiabiomedical.com
On 08/26/2013 07:33 PM, David Robley wrote:
Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara
Ethan Rosenberg wrote:
>
> On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
>>
>>
>>> Tamara Temple hat am 26. August 2013 um 08:33
>>> geschrieben:
>>>
>>>
>>>
>>> On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
>>> wrote:
>>>
Dear List -
I'm lost on this one -
This works
On 08/26/2013 03:28 PM, Jim Giner wrote:
On 8/26/2013 2:41 PM, Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
wrote:
Dear List -
I'm lost on this one -
On Aug 26, 2013, at 1:41 PM, Ethan Rosenberg
wrote:
> On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
>>> Tamara Temple hat am 26. August 2013 um 08:33
>>> geschrieben:
>>>
>>>
>>>
>>> On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
>>> wrote:
>>>
Dear List -
I'm lost on this
> Ethan Rosenberg hat am 26. August 2013 um
> 20:41 geschrieben:
>
> > Please show the output of the directory listing.
> > Please us "ls -la"
>
> echo exec('ls -la orders.txt');
>
> -rw-rw-rw- 1 ethan ethan 43 Aug 25 23:50 orders.txt
Please supply the complete output. Especially the rights
On 8/26/2013 2:41 PM, Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
wrote:
Dear List -
I'm lost on this one -
This works -
$out = system("ls -l ",$retva
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
wrote:
Dear List -
I'm lost on this one -
This works -
$out = system("ls -l ",$retvals);
printf("%s", $out);
This does -
echo ex
> Tamara Temple hat am 26. August 2013 um 08:33
> geschrieben:
>
>
>
> On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
> wrote:
>
> > Dear List -
> >
> > I'm lost on this one -
> >
> > This works -
> >
> > $out = system("ls -l ",$retvals);
> > printf("%s", $out);
> >
> > This does -
> >
> > echo
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
wrote:
> Dear List -
>
> I'm lost on this one -
>
> This works -
>
> $out = system("ls -l ",$retvals);
> printf("%s", $out);
>
> This does -
>
> echo exec("ls -l");
>
> This does not -
>
> if( !file_exists("/var/www/orders.txt"));
> {
> $ou
On 13-08-25 11:41 PM, Ethan Rosenberg wrote:
Dear List -
I'm lost on this one -
This works -
$out = system("ls -l ",$retvals);
printf("%s", $out);
This does -
echo exec("ls -l");
This does not -
if( !file_exists("/var/www/orders.txt"));
{
$out = system("touch /var/www/orders.txt", $re
*/var/www* is usually under *www* user. It may be a permissions problem.
On Mon, Aug 26, 2013 at 6:41 AM, Ethan Rosenberg <
erosenb...@hygeiabiomedical.com> wrote:
> Dear List -
>
> I'm lost on this one -
>
> This works -
>
> $out = system("ls -l ",$retvals);
> printf("%s", $out);
>
> This does
Dear List -
I'm lost on this one -
This works -
$out = system("ls -l ",$retvals);
printf("%s", $out);
This does -
echo exec("ls -l");
This does not -
if( !file_exists("/var/www/orders.txt"));
{
$out = system("touch /var/www/orders.txt", $ret);
$out2 = system("chmod 766 /var/www/orders
On Sun, 2013-01-27 at 21:40 +1100, jupiter wrote:
> On 1/27/13, Ashley Sheridan wrote:
> > On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:
> >
> >> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote:
> >> > Hi,
> >> >
> >> > I have a client.php which calls an external python socket
On 1/27/13, Ashley Sheridan wrote:
> On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:
>
>> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote:
>> > Hi,
>> >
>> > I have a client.php which calls an external python socket client
>> > program exec("Client.py"), the Client.py calls
>> > s
On 1/27/13, tamouse mailing lists wrote:
> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote:
>> Hi,
>>
>> I have a client.php which calls an external python socket client
>> program exec("Client.py"), the Client.py calls
>> sockobj.connect(("localhost", 6)) to connect socket.
>>
>> If I run th
On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:
> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote:
> > Hi,
> >
> > I have a client.php which calls an external python socket client
> > program exec("Client.py"), the Client.py calls
> > sockobj.connect(("localhost", 6)) to conne
On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote:
> Hi,
>
> I have a client.php which calls an external python socket client
> program exec("Client.py"), the Client.py calls
> sockobj.connect(("localhost", 6)) to connect socket.
>
> If I run the client.php from Linux command line $ ./client.php
Hi,
I have a client.php which calls an external python socket client
program exec("Client.py"), the Client.py calls
sockobj.connect(("localhost", 6)) to connect socket.
If I run the client.php from Linux command line $ ./client.php, it
works find, no problem at all.
But when I run it from w
2012/7/3 Devang Patel
> Hello Experts,
>
> I have putty.exe on my desktop so if I will go to command prompt and then
> to C:\Documents and Settings\user\Desktop location and execute following
> command it will launch the Putty window of telnet connection to server
> specified:
>
> putty.exe tel
On Tue, Jul 3, 2012 at 8:24 PM, Devang Patel wrote:
> Hello Experts,
>
> I have putty.exe on my desktop so if I will go to command prompt and then
> to C:\Documents and Settings\user\Desktop location and execute following
> command it will launch the Putty window of telnet connection to server
>
Hello Experts,
I have putty.exe on my desktop so if I will go to command prompt and then
to C:\Documents and Settings\user\Desktop location and execute following
command it will launch the Putty window of telnet connection to server
specified:
putty.exe telnet://10.3.215.15/
I am trying to l
On 14 January 2011 18:48, Nicholas Kell wrote:
>
> On Jan 14, 2011, at 12:41 PM, Kai Renz wrote:
>
>> Hi guys and thanks for your answers...
>>
>> @Nicholas:
>> Yes, you are right. The first socket is only used if a new clients
>> connects, thats why the script generates a new port so the client c
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote:
> Hi guys and thanks for your answers...
>
> @Nicholas:
> Yes, you are right. The first socket is only used if a new clients
> connects, thats why the script generates a new port so the client can
> connect to the new socket. After that socket1 shoul
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote:
> Hi guys and thanks for your answers...
>
> @Nicholas:
> Yes, you are right. The first socket is only used if a new clients
> connects, thats why the script generates a new port so the client can
> connect to the new socket. After that socket1 shoul
Hi guys and thanks for your answers...
@Nicholas:
Yes, you are right. The first socket is only used if a new clients
connects, thats why the script generates a new port so the client can
connect to the new socket. After that socket1 should continue its work
and wait for new clients.
@Daniel:
Yeh
On Fri, Jan 14, 2011 at 13:28, Kai Renz wrote:
(Putting this back on the list. Please use Reply-All.)
> @Daniel:
> Yeh i tried sending it to the background, this works but still it does
> wait for the other script to finish.
It shouldn't. In fact, just to see if I somehow completely f
Sorry, not sent to the list.
-- Forwarded message --
From: Evil Son
Date: Sat, Jan 15, 2011 at 4:26 AM
Subject: Re: [PHP] Exec Script in the background, don't wait till it finishes
To: Kai Renz
On Sat, Jan 15, 2011 at 2:56 AM, Kai Renz wrote:
> Hi there,
>
>
On Fri, Jan 14, 2011 at 11:56, Kai Renz wrote:
>
> Now here is the problem:
> it all works fine, but the client can't send a quit message to socket1
> because socket1.php waits until socket2.php is finished. socket2.php
> is working properly, and if i connect to the new socket and quit the
> conne
On Jan 14, 2011, at 10:56 AM, Kai Renz wrote:
> Hi there,
>
> i'm currently working on a socket project. It consists of two scripts.
> The first script (socket1.php) creates a socket on a specified port
> and waits for a client to connect. If a client connects, they exchange
> some informations,
Hi there,
i'm currently working on a socket project. It consists of two scripts.
The first script (socket1.php) creates a socket on a specified port
and waits for a client to connect. If a client connects, they exchange
some informations, including a random created port. Next, the first
script cal
Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
>> Tom Sparks wrote:
>>
>>> How do I take the output from a command line program and update a
>>> MYSQL database with it?
>>
>> | mysql -u user -p -Ddatabase
>>
>
> I don't think this is what he needs? Otherwise wh
On Wed, 2010-07-21 at 12:57 +0530, Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
> > Tom Sparks wrote:
> >
> >> How do I take the output from a command line program and update a
> >> MYSQL database with it?
> >
> > | mysql -u user -p -Ddatabase
> >
> >
> >
> >
On Wed, Jul 21, 2010 at 12:39 PM, Tom Sparks wrote:
> --- On Wed, 21/7/10, Nilesh Govindarajan wrote:
>> On Wed, Jul 21, 2010 at 8:49 AM, Tom
>> Sparks
>> wrote:
>> > How do I take the output from a command line program
>> and update a MYSQL database with it?
>> >
>> > tom_a_sparks
>> > Light tr
On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
> Tom Sparks wrote:
>
>> How do I take the output from a command line program and update a
>> MYSQL database with it?
>
> | mysql -u user -p -Ddatabase
>
>
>
> --
> Per Jessen, Zürich (22.6°C)
>
>
> --
> PHP General Mailing List (http://www.php.
--- On Wed, 21/7/10, Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 8:49 AM, Tom
> Sparks
> wrote:
> > How do I take the output from a command line program
> and update a MYSQL database with it?
> >
> > tom_a_sparks
> > Light travels faster then sound, which is why some
> people appear brig
Tom Sparks wrote:
> How do I take the output from a command line program and update a
> MYSQL database with it?
| mysql -u user -p -Ddatabase
--
Per Jessen, Zürich (22.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jul 21, 2010 at 8:49 AM, Tom Sparks wrote:
> How do I take the output from a command line program and update a MYSQL
> database with it?
>
> tom_a_sparks
> Light travels faster then sound, which is why some people appear bright,
> until you hear them speak
>
>
>
>
> --
> PHP General Mail
How do I take the output from a command line program and update a MYSQL
database with it?
tom_a_sparks
Light travels faster then sound, which is why some people appear bright, until
you hear them speak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Hi,
I'm trying to utilize EXEC to have some text from a db query converted to
a wav file using 'espeak'.
The 'espeak' command works admirably by cli, but no matter what I do, exec
does not
seem to function on my Linux box, even though safe_mode is off.
I've stripped the db query out, and ra
I have a begin of explanation
When PHP is run as CGI it's work but with this header message :
'\\xxx.xxx.xxx.xxx\scriptdir'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Status: 200 OK
X-Powered-By: PHP/5.2.8
Cont
loki wrote:
Hello,
PHP is installed in c:\program files\php
the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
in the PHP script, we try to launch the command @exec(...) with a
executable located in c:\program files\ourexecutable\
it's not work :(
but if we move the PHP script f
From: loki
> On 5/24/2010 11:31 PM, Bob McConnell wrote:
>> From: loki
>>
>>> PHP is installed in c:\program files\php
>>> the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
>>> in the PHP script, we try to launch the command @exec(...) with a
>>> executable located in c:\program fil
On 5/24/2010 11:31 PM, Bob McConnell wrote:
From: loki
PHP is installed in c:\program files\php
the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
in the PHP script, we try to launch the command @exec(...) with a
executable located in c:\program files\ourexecutable\
it's not work
the script is vbulletin
function fetch_im_exec($command, $args, $needoutput = false, $dieongs =
true)
{
if (!function_exists('exec'))
{
$this->error =
array(fetch_error('php_error_exec_disabled'));
return
From: loki
> PHP is installed in c:\program files\php
> the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
> in the PHP script, we try to launch the command @exec(...) with a
> executable located in c:\program files\ourexecutable\
>
> it's not work :(
>
> but if we move the PHP sc
Hello,
PHP is installed in c:\program files\php
the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
in the PHP script, we try to launch the command @exec(...) with a
executable located in c:\program files\ourexecutable\
it's not work :(
but if we move the PHP script from \\xxx.xx
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unes
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unes
Ashley Sheridan wrote on 2009-11-15 00:23:
Looked to all log...nothing! :-(
What other logs did you look at?
Then do this from a command line:
su - "the user apache runs as"
copy the command from the ph script and run it from commandline and let
us see the error you recieve...
--
Kind
On Sun, 2009-11-15 at 00:25 +0100, A. Mannini wrote:
> Ashley Sheridan ha scritto:
> > On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
> >
> >> Ashley Sheridan ha scritto:
> >>> Have you checked to ensure that the exec is actually running at all?
> >>> Check the error logs to see what they
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unes
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
> Ashley Sheridan ha scritto:
> >
> > Have you checked to ensure that the exec is actually running at all?
> > Check the error logs to see what they say. There may be a problem with
> > the string argument for exec(), like an unescaped charact
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unescaped character that is
causing an issue
Thanks,
Ash
http://www.ashleysheridan.
Hi all,
i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.
I would run /usr/lib/mailman/bin/find_member -l so i used
exec("sudo run /usr/lib/mailman/bin/find_member -l
",$output) and set /etc/sudoers with apache ALL=NOPA
On Sat, 2009-11-14 at 22:20 +0100, A. Mannini wrote:
> Hi all,
>
> i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
> 2.2.13. Safe mode is OFF and Apache isn't chrooted.
>
> I would run /usr/lib/mailman/bin/find_member -l so i used
> exec("sudo run /usr/lib/mailman/bin/
Hi all,
i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.
I would run /usr/lib/mailman/bin/find_member -l so i used
exec("sudo run /usr/lib/mailman/bin/find_member -l
",$output) and set /etc/sudoers with apache ALL=
On Mon, Oct 12, 2009 at 2:10 PM, Soner Tari wrote:
> On Mon, 2009-10-12 at 13:21 -0300, Jonathan Tapicer wrote:
>> Confirmed, it also happens to me on Linux, PHP version:
>>
>> PHP 5.2.4-2ubuntu5.7 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21
>> 2009 19:52:39)
>> Copyright (c) 1997-2007 The PHP
On Mon, 2009-10-12 at 13:21 -0300, Jonathan Tapicer wrote:
> Confirmed, it also happens to me on Linux, PHP version:
>
> PHP 5.2.4-2ubuntu5.7 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21
> 2009 19:52:39)
> Copyright (c) 1997-2007 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend
Confirmed, it also happens to me on Linux, PHP version:
PHP 5.2.4-2ubuntu5.7 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21
2009 19:52:39)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
And adding a single character to the echoed string makes
When shell command returns a specially crafted string, I get an empty
array as $output of exec(), instead of the string. I can very easily
reproduce this issue as follows:
Put the following lines in bug.php:
Then put the following in echostr.php (the string is just one line
actually, new lines
Well if the server your running on is linux based (and I haven't tried
this) you could try adding a nohup and background the task for example
rather than doing:
system('updatedb');
try
system('nohup updatedb &');
It should background the task and let it continue running even when the
php sc
Fellows:
I'm experimenting problems with a call that I made to exec or system. The
problem is that the script await for the function finish and that take's a lot
of time.
I need a way to use those functions in order to continue without await for it.
Saludos Fraternales
Am 2008-11-03 13:28:27, schrieb cheesiong:
> hi Chris,
> thank you. i change the path and change the httpd.conf LogLevel to debug
> then restart apache.
> but nothing is change from the output or the error log.
> basically it is still not working.
>
> this is weird, isn't it. the apache is run
On 3 Nov 2008, at 08:06, cheesiong wrote:
i tried you suggestion, with
lalala.txt');?>
the lalala.txt was created but the file is empty.
anymore suggestion?
Try...
&1');?>
It's not uncommon for CLI utilities to output their banner on stderr
so it doesn't get included when the output is pip
Hi,
I'm not a Linux guru, so maybe my question is stupid, but are you sure
the command prints its output to the *standard* output?
Z
cheesiong wrote:
hi ash,
i tried you suggestion, with
lalala.txt');?>
the lalala.txt was created but the file is empty.
anymore suggestion?
thank you.
rega
hi ash,
i tried you suggestion, with
lalala.txt');?>
the lalala.txt was created but the file is empty.
anymore suggestion?
thank you.
regards,-keo
On Mon, Nov 3, 2008 at 3:29 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote:
> On Mon, 2008-11-03 at 15:21 +0800, cheesiong wrote:
> > hi Chris,
> >
On Mon, 2008-11-03 at 15:21 +0800, cheesiong wrote:
> hi Chris,
> i found out that when execute ipkg, the return is before the header.
>
> root [ /srv/www/test ]# /program/php-5.2.6/bin/php-cgi ipkg.php
> ipkg version 0.99.163
> X-Powered-By: PHP/5.2.6
> Content-type: text/html
>
> Array
> (
> )
hi Chris,
i found out that when execute ipkg, the return is before the header.
root [ /srv/www/test ]# /program/php-5.2.6/bin/php-cgi ipkg.php
ipkg version 0.99.163
X-Powered-By: PHP/5.2.6
Content-type: text/html
Array
(
)
which is different than the whoami program.
root [ /srv/www/test ]# /pr
hi Chris,
i did try,
below is the continouos output from prompt when i do su.
root [ /srv/www/test ]# su daemon
root [ /srv/www/test ]#
i didnt manage to switch user.
i will create an user... so that i can switch to it.
i created a user call lfs into group lfs.
able to execute ipkg-cl and /prog
cheesiong wrote:
hi Chris,
my linux system is LFS that i build from scratch.
i cant su to daemon.
below is my /etc/passwd:
root [ /srv/www/test ]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin
hi Chris,
my linux system is LFS that i build from scratch.
i cant su to daemon.
below is my /etc/passwd:
root [ /srv/www/test ]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false
daemon:x:6:6
cheesiong wrote:
hi Chris,
thank you. i change the path and change the httpd.conf LogLevel to
debug then restart apache.
but nothing is change from the output or the error log.
basically it is still not working.
this is weird, isn't it. the apache is run with Daemon, but i already
change t
hi Chris,
thank you. i change the path and change the httpd.conf LogLevel to debug
then restart apache.
but nothing is change from the output or the error log.
basically it is still not working.
this is weird, isn't it. the apache is run with Daemon, but i already change
the chmod to 777. shoul
cheesiong wrote:
hi Chris,
i change the script to:
the output from browser:
array()
other stuff remain the same. can i conclude php program is not a problem
here?
It could be a path problem still even though you put it in /usr/bin/
try a full path (recommended anyway):
exec('/usr/bin/ipkg
hi Chris,
i change the script to:
the output from browser:
array()
other stuff remain the same. can i conclude php program is not a problem
here?
i will try to use other server to see if it is server inheritance.
and will try to increase errorlog level to see what is the problem.
regards,-keo
cheesiong wrote:
hi Chris,
thank you.
it is not working as well.
i copy the ipkg-cl into /usr/bin
add
error_reporting(E_ALL);
and
ini_set('display_errors', true);
to the top of your script.
any errors/warnings/whatever show up?
--
Postgresql & php tutorials
http://www.designmagick.com/
hi Chris,
thank you.
it is not working as well.
i copy the ipkg-cl into /usr/bin
do i need to set anything in the httpd.conf on the directive?
i am running apache-2.2.9.
this is code copy from you suggestion:
output from browser:
Array ( )
output from prompt if i execute on the linux system:
the output from the browser is the same and not the expecting version of the
ipkg-cl.
then i tried to echo exec('ifconfig'); the output is the same also.
You need to do this:
$output = array();
exec('/program/', $output);
for it to put the results of running the command into the $output
i try to use the system() function, i found the the last line of the
ifconfig is actually nothing.
but i still cannot execute the ipkg-cl program. any idea?
thank you.
regards,-keo
On Mon, Nov 3, 2008 at 11:31 AM, cheesiong <[EMAIL PROTECTED]> wrote:
> hi all,
> this is the first time i try out
hi all,
this is the first time i try out the mailing list. i hope to get help from
here. thank you.
i hope this email can reach the mail group as i use bluecolour.sz to sign on
the news group but using bluecolour to do all the emailing.
i am facing a problem when i study exec() php function:
i t
to:[EMAIL PROTECTED]
> > Sent: Thursday, June 26, 2008 7:50 AM
> > To: Boyd, Todd M.; php-general@lists.php.net
> > Subject: RE: Re: [PHP] exec() Error
> >
> > Hi, Todd:
> >
> >It looks like I have some other errors in my Perl code, and I got
> it
&
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2008 7:50 AM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: Re: [PHP] exec() Error
>
> Hi, Todd:
>
>It looks like I have some other errors in
==
> Alice Wei
> MIS 2009
> School of Library and Information Science
> Indiana University Bloomington
> [EMAIL PROTECTED]
> ________
> From: Boyd, Todd M. [EMAIL PROTECTED]
> Sent: Wednesday,
Boyd, Todd M. wrote:
>> >PHP or other programming languages? For example, C, Python, or Perl.
>>
>> And that works just fine using exec().
>
> Well... if she was trying to execute *LOCAL* PHP code from within a
> PHP script that was already running (which she was not), why would you
> suggest th
> -Original Message-
> From: Per Jessen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2008 1:11 AM
> To: php-general@lists.php.net
> Subject: RE: Re: [PHP] exec() Error
>
> Boyd, Todd M. wrote:
>
> >>
> >> Well, "http://www.mysite.com
net
Subject: RE: Re: [PHP] exec() Error
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2008 3:31 PM
> To: Boyd, Todd M.; Per Jessen; php-general@lists.php.net
> Subject: RE: Re: [PHP] exec() Error
---8<--- snip
> >
Boyd, Todd M. wrote:
>>
>> Well, "http://www.mysite.com/calculate.php"; is not an executable.
>> Try this instead:
>>
>> exec("php /calculate.php");
>
> I still don't think this is how exec() should be used when executing
> remote PHP scripts via HTTP, since the web server is not going to give
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2008 3:31 PM
> To: Boyd, Todd M.; Per Jessen; php-general@lists.php.net
> Subject: RE: Re: [PHP] exec() Error
---8<--- snip
> > Well, "http://www.mysite.
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 4:25 PM
To: Per Jessen; php-general@lists.php.net
Subject: RE: Re: [PHP] exec() Error
> -Original Message-
> From: Per Jessen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday
> -Original Message-
> From: Per Jessen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2008 2:48 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] exec() Error
>
> Wei, Alice J. wrote:
>
> > I have got a task from my clien
___
From: Per Jessen [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 3:47 PM
To: php-general@lists.php.net
Subject: Re: [PHP] exec() Error
Wei, Alice J. wrote:
> I have got a task from my client asking me to build something
> that allo
Wei, Alice J. wrote:
> I have got a task from my client asking me to build something
> that allows the variables in the PHP file passed to another
> PHP file or a file in a different computer language to perform
> some operations on another remote machine. According
Hi,
I have got a task from my client asking me to build something that
allows the variables in the PHP file passed to another PHP file or a file in a
different computer language to perform some operations on another remote
machine. According to my client, he calls this behind the scenes
On Fri, Apr 4, 2008 at 11:34 AM, Philip Thompson <[EMAIL PROTECTED]> wrote:
> Is there a set list of return values/error codes returned by exec? I am
> running this command on a windows box and getting the following error:
>
> exec ("net use /delete i: /y", $output, $ret);
> print_r ($output);
Is there a set list of return values/error codes returned by exec? I
am running this command on a windows box and getting the following
error:
exec ("net use /delete i: /y", $output, $ret);
print_r ($output);// Array()
echo "Return: $ret"; // Return: 2
I tested this statement with the m
http://php.net/imap_createmailbox
On Sun, December 23, 2007 4:31 pm, mattias wrote:
> If i use courier-mta
> Can i create a php script wich create mailboxes?
> And users
> Hope any understand
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.
1 - 100 of 387 matches
Mail list logo