Global Data in PHP

    Date: 09/09/04 (PHP Development)    Keywords: php

    I have a large ammount of global data that I need to access in a PHP script. Imagine the following file data.php:



    But instead of three lines there are 100,000. If I include(data.php) in another script, does that mean the whole 100,000 line file will be read and parsed on every request, or will the content be kept in memory somehow? Is there some way that I can force it to stay in memory?

    Source: http://www.livejournal.com/community/php_dev/47935.html

« First post(phpmyadmin not... || how to make an ecard? »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home