Re: a DOT or a BLANK SPACE
| From: | Lenar Lohmus | Date: | Wed, 20 Jun 2001 20:28:33 +0000 |
| Subject: | Re: a DOT or a BLANK SPACE | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54603@lists.php.net to get a copy of this message | ||
as I remeber, dots should be replaced by underscores not spaces .. at least
if your input type is image and it's name is img then you would get two
variables:
img_x and img_y instead of what html4 spec specifies: img.x and img.y.
Evevn if they get replaced then does it happen with $HTTP_POST_VARS[] array?
I see now purpose of those names being replaced for this array only when
they are populated as global variables.
And still .. are you sure your webbrowser doesn't do that before t even
makes to php?
Lenar
""Jaime Torres"" <jtorres@elsitio.com.co> wrote in message
news:NEBBKJIDEMHEKOOFHIMGEEJDDAAA.jtorres@elsitio.com.co...
> Hi. We HAVE TO use names like Num. or Home Address in for our input tags
in
> the forms. That is:
>
> <input type="text" name="Num.">
> <input type="text" name="Home Address">
>
> When I receive the info in my PHP file, after the form has been posted,
the
> variable name I get is: 'Num '. So, the dots are being replaced for a
blank
> space. I can't take for granted that any blank space is a dot since my
> inputs names are using them.
>
> How can I identify between this two variable names?
>
> Thanks for your help!
>
> Regards,
> Jaime
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>