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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mnc at diana dot law dot yale dot edu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 06:01:38 2025 UTC