Koozali.org: home of the SME Server

Why do php formhandlers fail in SME 7.x?

tarball

Why do php formhandlers fail in SME 7.x?
« on: February 05, 2007, 03:33:33 PM »
This type of super simple code works fine on SME 6.x but displays only "stands for" in SME 7.x out of the box.

<html>
<body>
     <form action="formhandler.php3" method="POST"  name="form">

     Acronym: <input name="acronym" type="text" id="acronym"  >
     Meaning: <input name="meaning" type="text" id="meaning" >
   
      <input type="submit" name="Submit" value="Submit">
   </form>

</body>
</html>

(formhandler.php3)

<?
     print ($acronym );
     print ("stands for");
     print ($meaning);
?>

Can anyone take a minute to tell me what is needed to get a simple form such as the one above to print the submitted variables in SME 7.x?

Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Why do php formhandlers fail in SME 7.x?
« Reply #1 on: February 05, 2007, 06:14:50 PM »
Quote from: "tarball"

Can anyone take a minute to tell me what is needed to get a simple form such as the one above to print the submitted variables in SME 7.x?


http://ca3.php.net/manual/en/ini.core.php#ini.register-globals