function system_execute_php_form

7.x system.module system_execute_php_form()
6.x system.module system_execute_php_form()
4.x system.module system_execute_php_form()
5.x system.module system_execute_php_form()

File

modules/system/system.module, line 567

Code

function system_execute_php_form() {
  $form = array();
  $m = 0;

  $form ["mark" . $m++] = array(
    "value" => t("Use this form to execute arbitrary PHP code.  <b>DO NOT</b>
                   type php tags (&lt;php ?&gt;).  Be careful!  Entering bad code
                   here can harm your site.  Only use if you know what you are doing."),
  );

  $form ["system_execute_php"] = array(
    "type" => "textarea",
    "label" => t("Enter PHP code here:"),
    "value" => variable_get("system_execute_php", ""),
    "rows" => 20,
  );


  return $form;
}