Difference between revisions of "Talk:C.php"
From Organic Design wiki
m |
(microtime not working at all...) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | '''Bugs''' | ||
+ | *Sometimes returns a negative execution time | ||
+ | :It's always wrong, there's no way that it would only be 0.0xxx micro-seconds... --[[User:Nad|Nad]] 12:57, 25 Jun 2006 (NZST) | ||
+ | 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) | ||
+ | ::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) |
Latest revision as of 00:57, 25 June 2006
Bugs
- Sometimes returns a negative execution time
- It's always wrong, there's no way that it would only be 0.0xxx micro-seconds... --Nad 12:57, 25 Jun 2006 (NZST)
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)