> Hello,
> Thank you for your reply.
> Sure I filled the text part and I tried to display this variable like this :
> print_r($_POST); => gives Array
> $type = trim($_POST['type']);
> echo "POST result:$type"; => $type is empty...
>
> I changes the value in my php.ini and my midgard-data.conf for variables :
> magic_quotes_gpc, register_globals, track_vars but there is always the same issue...
> I can get the GET values and not the POST and outside of Midgard I get Both...
> Just one more thing I use for my test page the Type "active" with no
> authentification.

<form method="post" action=http://localhost.localdomain/test?action=test>

If the page is active you may treat test as $action ($action = $argv[0]).
http://localhost.localdomain/test/test
So in this case first "test" is page name and second argv[0].

Also it is safe to get $_POST values when url is ending with slash.
http://localhost.localdomain/test/test/

And check php.ini for GPC. In Your case $_GET is with higher priority than $_POST.

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to