Hello,
I was installed the Midgard CMS 1.5.0 and I started using Midgard by creating a host and then a page named "test" with a simple form :
<?php
print_r($HTTP_POST_VARS);
print_r($HTTP_GET_VARS);
?>
<div align="center">
  <p><b>FORM TEST</b></p>
  <form method="post" action="" href="http://localhost.localdomain/test?action="">http://localhost.localdomain/test?action="">>
    <table width="75%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="34%">Type</td>
        <td width="66%">
          <input type="text" name="type" size="30" maxlength="30">
        </td>
      </tr>
      <tr>
        <td width="34%" height="27">&nbsp;</td>
        <td width="66%" height="27">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2">
          <div align="center">
            <input type="submit" name="Submit" value="Submit">
          </div>
        </td>
      </tr>
    </table>
  </form>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</div>
 
When I submit this form I can get the value of the variable contained in $HTTP_GET_VARS : Array ( [action] => test ) but not the one contained in $HTTP_POST_VARS : Array ( ).
 
I was trying to use this form outside of Midgard and I have the result of both variables.
I checked the value of the variable register_globals in the php.ini and it was equal to On.
Is it a known issue or there is something more to configure?
 
Thank you for your help.


Cr�ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Cr�ez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les nouveaut�s pour dialoguer instantan�ment avec vos amis. T�l�chargez GRATUITEMENT ici !

Reply via email to