Report
Question
I’m trying to build a list of functions that can be used for arbitrary code execution. The purpose isn’t to list functions that should be blacklisted or otherwise disallowed. Rather, I’d like to have a grep-able list of red-flag keywords ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
23 Answer 1 views

Report
Question
I have a string that looks like this: 0000000020C90037:TEMP:data And I need to grab everything after the first colon, so that I have TEMP:data. I don’t often work in Javascript, if it were PHP I would do this: $str = '0000000020C90037:TEMP:data'; $arr = explode(":", $str); $var ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
14 Answer 0 views

Report
Question
I am trying to use the migrate function in Laravel 4 on OSX. However, I am getting the following error: Laravel requires the Mcrypt PHP extension. As far as I understand, it’s already enabled (see the image below). What is wrong, and how ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
19 Answer 1 views

Report
Question
Is there a PHP function that returns the date & time in the same format as the MySQL function NOW()? I know how to do it using date(), but I am asking if there is a function only for this. ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
12 Answer 3 views

Report
Question
It seems that PHP has two memcached libraries named memcache and memcached. What is the difference and how do you know which one to use? Is one outdated? It seems that memcached offers more methods so ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
4 Answer 3 views

Report
Question
This failed: define('DEFAULT_ROLES', array('guy', 'development team')); Apparently, constants can’t hold arrays. What is the best way to get around this? define('DEFAULT_ROLES', 'guy|development team'); //... $default = explode('|', DEFAULT_ROLES); This seems like unnecessary effort. ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
16 Answer 2 views