php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13929 No more than 43 variables with the same starting char
Submitted: 2001-11-05 01:42 UTC Modified: 2001-12-01 15:35 UTC
From: clbustos at apsique dot com Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.6 OS: Windows 98
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: clbustos at apsique dot com
New email:
PHP Version: OS:

 

 [2001-11-05 01:42 UTC] clbustos at apsique dot com
When a POST is send to the script, if more than 43 variables have the same starting char, the engine freezes.
No modules loaded.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-10 04:26 UTC] sniper@php.net
Could you please add the shortest possible script
here which causes this?

 [2001-11-10 04:29 UTC] clbustos at apsique dot com
An example

$query="INSERT INTO cuestionario ";
$query.="(id, c1, c2, c2_7, c3, c4, c5, c6, c71, c721, c731, c741, c751, c722, c723, c724, c725, c8, c9a1, c9a2, c9a3, c9b1, c9b2, c9c1, c9c2, c9d1, c9d2, c9d3, c9e1, c9e2, c9f1, c9f2, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, csexo, cedad, cocupacion, cts, cemail)";
$query.="values(NULL, '$c1', '$c2', '$c2_7', '$c3', '$c4', '$c5', '$c6', '$c71', '$c721', '$c731', '$c741', '$c751', '$c722', '$c723', '$c724', '$c725', '$c8', '$c9a1', '$c9a2', '$c9a3', '$c9b1', '$c9b2', '$c9c1', '$c9c2', '$c9d1', '$c9d2', '$c9d3', '$c9e1', '$c9e2', '$c9f1', '$c9f2', '$c10', '$c11', '$c12', '$c13', '$c14', '$c15', '$c16', '$c17', '$c18', '$c19', '$csexo', '$cedad', '$cocupacion', '$cts', '$cemail')";}

 [2001-11-10 04:31 UTC] clbustos at apsique dot com
I forgot this:

mysql_query($query) or die("I can't access the database!");

On my computer works well, but when I access the page from another computer, the system freezes.

When I change the name of the variables, the problem was solved

 [2001-11-10 04:47 UTC] sniper@php.net
So what has this got to do with POSTs ?

 [2001-12-01 15:35 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC