2

Function () in PHP

 3 years ago
source link: https://www.codesd.com/item/function-in-php.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Function () in PHP

advertisements

When Iam accessing my friends site with shell by using this link example.com/cmd.php?cmd=ls then i'm getting this error

warning the function system() diasbled in php in /opt/lampp/htdocs/files/cmd.php on line 1

So how can I enable that system function by using Phpmyadmin >>

I have the access to only phpmyadmin because i know that root password.I had tried for a solution in google but lot of sites saying that edit php.ini file but I can't access that php.ini file.

So please someone help me to enable that function through phpmyadmin

Thank You


As described on the PhpMyAdmin site itself

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web.

PhpMyAdmin only allows you to manage your MySQL database and doesn't have anything to do with PHP itself nor can it change anything to the configuration of PHP.

Because system is a very powerful tool in PHP, most hosting providers will restrict or even disable this function in their configuration (the php.ini file) for safety measures. This means you won't be able to access this function without having the permission to change the configuration file itself.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK