On Mon, Dec 08, 2003 at 01:28:11PM +0800, Jason Wong wrote:
> On Monday 08 December 2003 12:56, Karam Chand wrote:
> > I think there is some problem with the permission.
> > Even if I execute a command like -
> >
> > echo ( "start" );
> > exec ( "pwd" );
> > echo ( "end" );
> >
> > the output is -
On Monday 08 December 2003 12:56, Karam Chand wrote:
> I think there is some problem with the permission.
> Even if I execute a command like -
>
> echo ( "start" );
> exec ( "pwd" );
> echo ( "end" );
>
> the output is - startend
>
> shouldnt be pwd showing the present working directory
> to me.
Y
Hello
I think there is some problem with the permission.
Even if I execute a command like -
echo ( "start" );
exec ( "pwd" );
echo ( "end" );
the output is - startend
shouldnt be pwd showing the present working directory
to me.
Karam
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Saturday 06 D
On Saturday 06 December 2003 12:56, Karam Chand wrote:
> looking at manuals and help and some help from you. i
> wrote the attached code-
>
> error_reporting (E_ALL);
> ini_set('display_errors', 1);
>
> $result = `./myapp`;
> print_r ( $result );
>
> echo ( "2" );
>
> exec("./myapp",$r
have you tried using the full path to the executable (eg /usr/bin/myapp
rather than ./myapp)?
Mike
On Sat, 2003-12-06 at 04:56, Karam Chand wrote:
> Hello
>
> looking at manuals and help and some help from you. i
> wrote the attached code-
>
> error_reporting (E_ALL);
> ini_set('display_err
Hello
looking at manuals and help and some help from you. i
wrote the attached code-
error_reporting (E_ALL);
ini_set('display_errors', 1);
$result = `./myapp`;
print_r ( $result );
echo ( "2" );
exec("./myapp",$result);
print_r($result);
It is returning output
2Array ( )
whi
On Saturday 06 December 2003 02:44, Karam Chand wrote:
> The output is
>
> StartEnd
Good, that shows your PHP program is being executed.
> I am sure that the linux binary is ok. coz if in the
> sheel you just do
>
> ./myapp
>
> it outputs
>
> error
>
> seems that the binary is not getting execut
Hello
The output is
StartEnd
I am sure that the linux binary is ok. coz if in the
sheel you just do
./myapp
it outputs
error
seems that the binary is not getting executred. I
think there is some permission info.
if i do phpinfo() i get the following output for safe
stuff -
safe_mode Off
8 matches
Mail list logo