RE: [PHP4BETA] quick wishlist...
| From: | David Norris | Date: | Sat, 14 Aug 1999 03:31:27 +0000 |
| Subject: | RE: [PHP4BETA] quick wishlist... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3419@lists.php.net to get a copy of this message | ||
> No. A global.asa file is a text file that ASP looks for when it goes into
a
> directory. If it's there, it will load the values in memory (e.g., a
> connection string, session variables, SQL queries). This means you don't
need
> to use include files.
Wouldn't that be similar to auto_prepend_file in PHP? It seems that the
only major difference is that PHP allows you to name the file whatever you
want. auto_prepend_file is basically a global require. Seems to me like
PHP would be more flexible if ASP is using a non-ASP text file to load
global values. Granted, you might have to add a little magic to the
prepended file. But, I consider that an advantage since with ASP you're
likely just plain screwed if it doesn't do what you need. Also, PHP's auto
prepend can load different files based on the include_path, if desired.
Have a look at the auto_prepend_file directive at (first listed under
general directives):
http://www.php.net/manual/configuration.php3
Maybe I'm still missing something. When all you have is a hammer,
everything looks like a nail...
,David Norris
World Wide Web - http://www.geocities.com/CapeCanaveral/Lab/1652/
Home Computer - http://illusionary.tzo.cc/
Page via mail - 412039@pager.mirabilis.com
ICQ Universal Internet Number - 412039
E-Mail - kg9ae@geocities.com