Difference between revisions of "Talk:C.php"

From Organic Design wiki
(I tested the ''shell_exec'' with ''ls -al'' and it worked fine)
(shell_exec behaviour)
Line 1: Line 1:
 +
There is something funny going on with the output redirection of the shell command. With the -v switch we should get initial gcc diagnostic info (regardless of whether the code does anything) and this is not happening. Maybe some constant SWITCH in the shell_exec. --[[User:Rob|Rob]] 16:26, 24 Jun 2006 (NZST)
 +
----
 
Theres lots of php.ini stuff and "security" that will affect the ability to use these kinds of functions. ''passthru, system'' are also affected. --[[User:Rob|Rob]] 14:20, 23 Jun 2006 (NZST)
 
Theres lots of php.ini stuff and "security" that will affect the ability to use these kinds of functions. ''passthru, system'' are also affected. --[[User:Rob|Rob]] 14:20, 23 Jun 2006 (NZST)
 
:I just based it on [[swf.php]] which has to use ''shell_exec'' to execute ''png2dbl'', I've put a link to ''gcc'' in the same place with same perms, but no go... --[[User:Nad|Nad]] 14:25, 23 Jun 2006 (NZST)
 
:I just based it on [[swf.php]] which has to use ''shell_exec'' to execute ''png2dbl'', I've put a link to ''gcc'' in the same place with same perms, but no go... --[[User:Nad|Nad]] 14:25, 23 Jun 2006 (NZST)
 
::Actually it's not weird shit - I just remembered that ''png2dbl'' is not executing, it probably is like yousaid, a different php security setup than the closet server. --[[User:Nad|Nad]] 15:02, 23 Jun 2006 (NZST)
 
::Actually it's not weird shit - I just remembered that ''png2dbl'' is not executing, it probably is like yousaid, a different php security setup than the closet server. --[[User:Nad|Nad]] 15:02, 23 Jun 2006 (NZST)
 
:::I tested the ''shell_exec'' with ''ls -al'' and it worked fine. --[[User:Nad|Nad]] 15:04, 23 Jun 2006 (NZST)
 
:::I tested the ''shell_exec'' with ''ls -al'' and it worked fine. --[[User:Nad|Nad]] 15:04, 23 Jun 2006 (NZST)

Revision as of 04:26, 24 June 2006

There is something funny going on with the output redirection of the shell command. With the -v switch we should get initial gcc diagnostic info (regardless of whether the code does anything) and this is not happening. Maybe some constant SWITCH in the shell_exec. --Rob 16:26, 24 Jun 2006 (NZST)


Theres lots of php.ini stuff and "security" that will affect the ability to use these kinds of functions. passthru, system are also affected. --Rob 14:20, 23 Jun 2006 (NZST)

I just based it on swf.php which has to use shell_exec to execute png2dbl, I've put a link to gcc in the same place with same perms, but no go... --Nad 14:25, 23 Jun 2006 (NZST)
Actually it's not weird shit - I just remembered that png2dbl is not executing, it probably is like yousaid, a different php security setup than the closet server. --Nad 15:02, 23 Jun 2006 (NZST)
I tested the shell_exec with ls -al and it worked fine. --Nad 15:04, 23 Jun 2006 (NZST)