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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 43 = ?
Subscribe to this entry?

 
 [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: Fri May 17 12:01:32 2024 UTC