php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #580 doc doesn't explain how to access variable with "." in its name
Submitted: 1998-07-25 05:26 UTC Modified: 1998-07-25 14:49 UTC
From: mnc at diana dot law dot yale dot edu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.1 OS: linux
Private report: No CVE-ID: None
 [1998-07-25 05:26 UTC] mnc at diana dot law dot yale dot edu
When a user clicks on a form element TYPE=IMAGE, the server is sent two variables,
one with .x appended and one with .y appended. Are these turned into PHP globals
when the form is received? If so, how do I access them since they're not legal PHP
variable names? I read through the documentation and searched dejanews and altavista.
I can't believe I'm the first person to run into this. Probably I'm just being stupid.

miguel

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-25 14:49 UTC] jim
PHP automatically converts periods into underscores in

GET, POST, and Cookie data.



A section explaining this has been added to the PHP3

manual (taken from the PHP/FI2 manual).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 21:01:31 2024 UTC