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
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.
On Fri, June 10, 2005 3:04 am, Bob Snowdon said:
>
> $execstring="winposd.exe \"${physical}-${logical}-${parameter}\"";
> $output=exec($execstring);
>
exec only returns the FIRST LINE of output -- perhaps winposd (whatever
that is) prints a blank line first?
For that matter, winposd mig
Hello Bob,
Friday, June 10, 2005, 11:04:52 AM, you wrote:
BS> Investigation/debugging indicates that the exec call simply doesn't invoke
the
BS> win32 application at all with no error indications from PHP. (echo
statements
BS> either side of the call). I have checked things like the path to the
18 matches
Mail list logo