HTML页面的内存限制?? [英] Memory Limit for for HTML pages??
问题描述
你好,
我有一个php程序正在构建一个来自MySQL
数据库的网格(HTML表格)。当我向网格添加一个下拉菜单时,问题就出现了,当我执行表单按钮时,当我在下拉菜单中有一些值时,
将无效。如果我删除了值,那么这是一个空的下拉菜单,
表格按钮就可以了。我以为我的下拉菜单有问题
这是一个非常简单的菜单。
然而,我发现它与它有关我正在建造的桌子大小
。我更改了查询,以便它只能获得大约
1/2记录(134 vs 248),这是它的工作原理(第135条记录
导致按钮退出工作。这不是一个数据问题,因为我接着用不同的数据集测试了
,它也会失败,但是在一个不同的地方。
。 >
我必须遇到某种内存限制,但我不知道它是什么
!有人可以帮忙吗?
Vic
Hello,
I have a php program that is building a grid (HTML table) from a MySQL
database. The problems started when I added a dropdown menu to the grid and
when I did the form buttons would not work when there were a few values in
the drop-down. If I removed the values so it was an empty drop-down menu the
form buttons would work. I thought there was a problem with my drop-down
which is a quite simple menu.
However, what I discovered is that it has to do with the size of the table
that I am building. I changed the query so that it would only pick up about
1/2 the records (134 vs 248) which is where it works (the 135th record
causes the buttons to quit working. It is not a data problem because I then
tested with a different set of data and it would also fail but at a
different spot.
I must be running into some kind of memory limit but I have no idea what it
is! Can someone help?
Vic
推荐答案
-----开始PGP签名消息-----
Hash:SHA1
Vic Spainhower写道:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vic Spainhower wrote:
我必须遇到某种内存限制,但我不知道是什么
它是!有人可以帮忙吗?
I must be running into some kind of memory limit but I have no idea what
it is! Can someone help?
您可能正在达到PHP'的8 MB内存限制。该值是默认值,所以如果
你真的*需要*运行一个消耗更多内存的脚本,
编辑你的php.ini文件,以便更改内存限制值...
- -
- ----------- -----------------------
$ b $bIvánSánchezOrtega-i-punto-sanchez - arroba-mirame-punto-net
Me acuerdo de que hace a?os unDECmanteníadequeizalizarelmicrocódigode
un VAX 8250 y le mandaron un floppy por mensajero。 El floppyresultó
ilegible,y el decmanlodevolvióconuna nota en la quesepodíaleer:
%BADFLOPPY-F-VESPINOISNOTALLOWED;这张软盘已被消磁。这个硬件与Vespino'的Magneto的兼容性并没有通过
认证。请使用出租车。
--Jordi Guillaumes。
----- BEGIN PGP SIGNATURE -----
版本:GnuPG v1.4.2(GNU / Linux)
iD8DBQFDmh7M3jcQ2mg3Pc8RAnbFAJ4jPa6FzDCvqE7yVbTXWO enzZmR6ACeNhMc
UTC6KxItaT3cJIiDtiS57Q4 =
= Dtsg
-----结束PGP SIGNATURE -----
You may be hitting PHP''s 8 MB memory limit. That value is a default, so if
you really *need* to run a script which consumes more memory than that,
edit your php.ini file in order to change the memory limit value...
- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Me acuerdo de que hace a?os un DECman tenía que actualizar el microcódigo de
un VAX 8250 y le mandaron un floppy por mensajero. El floppy resultó
ilegible, y el decman lo devolvió con una nota en la que se podía leer:
%BADFLOPPY-F-VESPINOISNOTALLOWED; This diskette has been demagnetised. The
compatibility of this hardware with a Vespino''s Magneto has not been
certified. Please use a Taxi.
--Jordi Guillaumes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDmh7M3jcQ2mg3Pc8RAnbFAJ4jPa6FzDCvqE7yVbTXWO enzZmR6ACeNhMc
UTC6KxItaT3cJIiDtiS57Q4=
=Dtsg
-----END PGP SIGNATURE-----
Ivan,
我不认为它'这是8meg的限制,因为HTML正在构建正确。
我可以使用生成的html并创建另一个页面,并且它在
中同样失败。
Vic
"IvánSánchezOrtega" <我*************** @ rroba--mirame.punto.net>写在
消息新闻:nf ************ @ blackspark.escomposlinux.org ..。
Ivan,
I don''t think it''s the 8meg limit because the HTML is being built correctly.
I can take the generated html and create another page and it fails in the
same way.
Vic
"Iván Sánchez Ortega" <i.***************@rroba--mirame.punto.net> wrote in
message news:nf************@blackspark.escomposlinux.org.. .
----- BEGIN PGP签名消息-----
哈希:SHA1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vic Spainhower wrote:
我必须遇到某种内存限制,但我不知道它是什么!有人可以帮忙吗?
I must be running into some kind of memory limit but I have no idea what
it is! Can someone help?
你可能会达到PHP'的8 MB内存限制。该值是默认值,因此如果你真的*需要*运行一个消耗更多内存的脚本,
编辑你的php.ini文件以更改内存限制值...
- -
- ---------------------------------- < IvánSánchezOrtega-i-punto-sanchez - arroba-mirame-punto-net
br /> un VAX 8250 y le mandaron un floppy por mensajero。 El floppy结果 -
非常可靠,但是他们不知道怎么回事:
%BADFLOPPY-F-VESPINOISNOTALLOWED;这张软盘已被消磁。这款硬件与Vespino'的Magneto的兼容性尚未经过认证。请使用出租车。
--Jordi Guillaumes。
----- BEGIN PGP SIGNATURE -----
版本:GnuPG v1.4.2(GNU / Linux)
iD8DBQFDmh7M3jcQ2mg3Pc8RAnbFAJ4jPa6FzDCvqE7yVbTXWO enzZmR6ACeNhMc
UTC6KxItaT3cJIiDtiS57Q4 =
= Dtsg
----- END PGP SIGNATURE -----
You may be hitting PHP''s 8 MB memory limit. That value is a default, so if
you really *need* to run a script which consumes more memory than that,
edit your php.ini file in order to change the memory limit value...
- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Me acuerdo de que hace a?os un DECman tenía que actualizar el microcódigo
de
un VAX 8250 y le mandaron un floppy por mensajero. El floppy resultó
ilegible, y el decman lo devolvió con una nota en la que se podía leer:
%BADFLOPPY-F-VESPINOISNOTALLOWED; This diskette has been demagnetised. The
compatibility of this hardware with a Vespino''s Magneto has not been
certified. Please use a Taxi.
--Jordi Guillaumes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDmh7M3jcQ2mg3Pc8RAnbFAJ4jPa6FzDCvqE7yVbTXWO enzZmR6ACeNhMc
UTC6KxItaT3cJIiDtiS57Q4=
=Dtsg
-----END PGP SIGNATURE-----
>
Vic Spainhower写道:
Vic Spainhower wrote:
我有一个php程序正在从MySQL
数据库构建一个网格(HTML表)。当我向网格添加一个下拉菜单时,问题就出现了。
当我执行表单按钮时,如果下拉列表中有一些值,则无法使用。 ...
然而,我发现它与我正在建造的桌子大小有关。我更改了查询,以便它只能获得大约1/2的记录(134 vs 248),这是它工作的地方(第135条记录
导致按钮退出工作。它不是一个数据问题,因为我然后用不同的数据集进行测试,它也会失败,但是在不同的地方。
I have a php program that is building a grid (HTML table) from a MySQL
database. The problems started when I added a dropdown menu to the grid and
when I did the form buttons would not work when there were a few values in
the drop-down. ...
However, what I discovered is that it has to do with the size of the table
that I am building. I changed the query so that it would only pick up about
1/2 the records (134 vs 248) which is where it works (the 135th record
causes the buttons to quit working. It is not a data problem because I then
tested with a different set of data and it would also fail but at a
different spot.
你确定吗?这不是一个数据问题吗?
您可以尝试仅记下第135条记录的下拉菜单吗?
Are you sure it is not a data problem?
Can you try the dropdown with just the 135th record?
这篇关于HTML页面的内存限制??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!