PDA

View Full Version : how to enable the disabled functions for an account


digitalmahdi
4th July 2008, 22:39
hi
i have disable many functions for security reasons
but i have some problem to use a bank gate way for my billing System !
my questions is how can i enable the functions for an account ??
just for my account to use the billing system ?!
thanks :)

till
5th July 2008, 00:14
What kind of account do you mean? A shell login via bash, FTP account or a process in a programming language like PHP?

digitalmahdi
5th July 2008, 06:13
see
in the php.ini i have disabled curl_exec function ! ok ?
now i want to enable curl_exec function for an account ! for example you.com

digitalmahdi
5th July 2008, 15:41
Please Help Me

till
5th July 2008, 15:52
Do you use mod_php or suphp?

digitalmahdi
5th July 2008, 16:03
No !
i disable php functions in php.ini !
but i want to enable theirs in one account !

till
5th July 2008, 16:58
Ok, you mean commandline PHP or PHP in a webserver account? It will be very helpful if you describe it more detailed.And sying no to my question above does not answer anything, the php settings for mod_php and suphp are both set in php.ini.

digitalmahdi
5th July 2008, 21:58
i dont use suphp !
i had disbale unsecure functions manualy !
but i want to disable this for an account !

till
5th July 2008, 22:05
Please answer my question above, if you dont answer them, we can not help you. To make this clear, give a exact answer to every question below:

a) Do you use PHP in a webserver or on the shell?
b) If you use PHP in a webserver, do you use mod_php, php-cgi, php-fcgi?

digitalmahdi
5th July 2008, 22:09
i am using php in a linux web server
b) If you use PHP in a webserver, do you use mod_php, php-cgi, php-fcgi? --> how can i know it ?

till
5th July 2008, 22:20
i am using php in a linux web server

Thanks, this is a answer that helps to solve the probelm!

b) If you use PHP in a webserver, do you use mod_php, php-cgi, php-fcgi? --> how can i know it ?

Please create a file named info.php in one of your websites with the following content:

<?php
phpinfo();
?>

now open this page in a webbrowser. In the output you will find a line that starts with "Server API". Please post the API name that you find there.

digitalmahdi
6th July 2008, 07:51
it a apache server
with Cpanel

falko
6th July 2008, 12:58
Can you post the URL to the info.php file so that we can check it ourselves?

digitalmahdi
6th July 2008, 14:30
see here ! http://www.hub.globat.ir/status/index.php?action=phpinfo
see friends ! i had enable all functions becuse the phpinfo function closed :d
my problem is here ! i just want enable all functions for this account !
as register_globals ! we can enable it with htaccess ! i want to enable funcitons for an account ! with a configuration for this !