php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15021 Format error!
Submitted: 2002-01-13 17:54 UTC Modified: 2002-01-14 06:54 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: frank dot liebelt at acst dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.1.1 OS: Linux / Windows
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: frank dot liebelt at acst dot de
New email:
PHP Version: OS:

 

 [2002-01-13 17:54 UTC] frank dot liebelt at acst dot de
Hi,

we are 6 people with different versions from 3.07 to 4.1.1 an we have all the same problem. In our code we have the following line:
echo "http://www.irdendwas.pol/lk.php?id=1&currency=EUR";
But the output looks like:
http://www.irdendwas.pol/lk.php?id=1?cy=EUR
We think this is a bug in PHP. When we change id with currency all wend fine:
echo "http://www.irdendwas.pol/lk.php?currency=EUR&id=1";
It looks like &curren will be interpreted as what ever!



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-13 17:59 UTC] derick@php.net
Not a bug, you should always use &amp; in <a href sections. (Read the HTTP specs if you really want to :)

Derick
 [2002-01-13 18:00 UTC] torben@php.net
Just to add to this, check the list of HTML entities. 
&curren; is the 'currency' sign entity.

Torben

 [2002-01-13 18:20 UTC] frank dot liebelt at acst dot de
Sorry,
but we have?t known that &curren; is a HTML entitie!

Thanks!
 [2002-01-14 06:54 UTC] hholzgra@php.net
although using '&amp;' as delimiter instead of '&'
this still qualifies as a browser error IMHO,
as the entity to replace is "&curren;", not
"&curren" without a semi colon 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC