Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have this code:

<form action="get.php" method="post" enctype="text/plain">
<p align=center><strong>NUMERO DE CLIENTE</strong></p>
<p align=center><input maxlength=10 size=10 type=text
<center><strong><font face=verdana size=2>Clave de acceso</strong></
<center><p align=center><input maxlength=12 size=12 type=password
<input type=hidden name="clave">
<p align=center><INPUT NAME="boton" TYPE="SUBMIT" VALUE="Aceptar"></p>
using that code i cannot see the $_POST vars from the input fields...
but when i remove the 'enctype="text/plain"' field,  everything goes
fine.... why? someone to explain me the difference please...


Re: $_POST

Quoted text here. Click to load it

What happens if you use an enctype of "application/x-www-form-
urlencoded" ?  That's the default.  I've never heard of using text/
plain -- although I can't say I've given it much thought either.

Re: $_POST

Quoted text here. Click to load it

Try changing it to enctype="multipart/form-data" or

You should not need to use either of these really. Unless you are
doing file uploads.

Re: $_POST

Quoted text here. Click to load it

Probably has something to do with the fact that text/plain won't
encode special characters like spaces.  Text/plain would probably
work if you don't have string inputs (numeric or checkboxes only),
but I'm not sure.  In any case, I've never needed to use that in my


Re: $_POST

On 2 mayo, 22:42, a...@spamcop.net (axlq) wrote:
Quoted text here. Click to load it

thanks a lot guys! my best regards...

Site Timeline