Check your server's PHP functions working or not | Small PHP Script

 

 Hi !
I going to show you, how you can check any php function enable or not
In your PHP supported server, using simple php code, that give you status of
PHP function's in your server.

Follow Steps Bellow :

Step 1:

Open Notepad OR Your favorite coding tool &
Create file with name "server-php-function-checker"  and
save it with .html  extension and copy bellow code into this html file.

<html>
<h2>Check PHP Function Enable On This Server Or Not.</h2>
<form action="function-check.php" method="post">
<table>
<tr>
<td><input type="text" id="funcnm" name="funcnm" maxlength="100" size="40" placeholder="Type PHP Function Without ( )" required/></td>
</tr>
</table>
</form>
</html> 


Step 2:

Create file with name "function-check"  and
save it with .php extension and copy bellow code into this php file.


<?php
$funcnm = $_POST['funcnm'];
if(function_exists($funcnm)) {

    echo "<h1 style='color:#009900'>The Function <b>$funcnm()</b> Is <u><mark>Enabled</mark></u> On This Server.</h1><br />

<a href='server-php-function-checker.html'>Click Here To Check Another Function</a>"; }
 

else echo "<h1 style='color:#CC0000'>The Function <i>$funcnm()</i> Is <u><mark>Disabled</mark></u> On This Server<br/>
Contact Your Server Admin And Ask For Enable Function <i>$funcnm()</i>
on this server.</h1><br />

<a href='server-php-function-checker.html'>Click Here To Check Another Function</a>";
?>

  

-------------------

Upload both file into your server, and

run HTML File, and enter php function name

without round ( ) brackets and click on

CHECK Button.

that's it ! 
If It's helpful for you, then share it with your friends.

Thanks !

Postingan terkait:

Belum ada tanggapan untuk "Check your server's PHP functions working or not | Small PHP Script"

Post a Comment