top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

PHP and exception for disabled_functions

0 votes
21 views

in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function "exec" again. And here is a question - does php have an option, that I could set : this binary file could use this disabled function ? Like :

disable_functions_binary_exception = /usr/local/bin/compute_doomsday
disable_functions_function_exception = exec
posted Jul 30, 2013 by Sonu Jindal

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
Interesting function, but disable_function is configurable only from php.ini file.

1 Answer

0 votes

Maybe you think for ini_set()
http://php.net/manual/en/function.ini-set.php

answer Jul 30, 2013 by Abhay Kulkarni
Similar Questions
+1 vote

Also, tell me the difference between them.I know about empty() function(It will used to check whether the variable is empty or not).I wonder to know what's the main use for is_null() function.

+1 vote

I'm trying to find open source code which is a form with upload script allowing a user to fill in some fields of data, then pick a couple of documents to upload and finally submit the form.

The status bar will show progress insuring the user doesn't click out and close the browser etc allowing the documents to upload. Once completed it then emails the form results and the attachments to the predetermined email address.

+1 vote

What is the "->" operator for functions called?

At the bottom of PHP: Operators - Manual (http://php.net/manual/en/language.operators.php) is the note:

"The -> operator, not listed above, is called "object operator" (T_OBJECT_OPERATOR)."

It has been down-voted 81 times. Is that because the operator is not called the "object operator"? Or is it because the note says that the operator is not listed?

I apologize if my criticism is not appropriate, but the operator is not properly documented. The "->" operator should be listed among the other PHP operators and there should be documentation of it.

The C++ standard calls the "." and "->" operators the "dot" and "arrow" operators, correspondingly. For example, see "5.2.4 Pseudo destructor call" in: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf
That is the latest draft of the newest C++ standard.

PHP can call its "->" operator whatever the designers decide, but there should be a definition to eliminate the confusion of different names depending on personal preference. A book I am reading calls the operator the "arrow operator". Is it called the object operator (as implied by the tag) or the arrow operator or something else?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...