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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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 17:01:31 2024 UTC