0

I got this error:

Warning: shell_exec() has been disabled for security reasons.

when i run the following code:

return mysql_result(mysql_query("SELECT (`user_id`) FROM `users` WHERE `email` = '$email'"), 0,`user_id`);            

how to solve this problem?!

ALBADI
  • 315
  • 2
  • 8
  • 17
  • possible duplicate of [Warning: exec() has been disabled for security reasons](http://stackoverflow.com/questions/11711675/warning-exec-has-been-disabled-for-security-reasons) – Joe Feb 22 '15 at 10:05

1 Answers1

0

dont spawn proccesses or get the system's admin to allow executing programs

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135
  • sure it does. it is disabled and either the OP avoids it or gets the SYSADMIN to allow it -- sorry it isn't better news ;) – Daij-Djan Feb 22 '15 at 18:13