I have a PHP script that includes a multi-dimensional array the size of over 1 MB in a separate file (include("1MB_file.inc"). The array contains over 15,000 separate key/value pairs. Will my script load the entire 1MB file even if only one of the key/value pairs is requested and displayed on a web page?
Hi, this include it's loaded just in memory of server, php do its stuff then send the solution (only echo, not php code...) on the web...
So it think a big array kill mem&time to server, but not bandwidth..
You desparately need MySQL my friend.