← Back to team overview

sslug-teknik team mailing list archive

Re: PHP

 

On Tue, 28 Sep 1999, Anders Thorsby wrote:

> Hejsa
> 
> Lige et spørgsmål:
> 
> Findes der i PHP noget tilsvarende til, ja undskyld mig, global.asa i MS
> ASP?
> Altså hvor jeg kan sætte nogle globale variabler, der gælder for "alle"
> scripts?

Sort of.

Kig på 

http://dk.php.net/manual/configuration.php3

Du kan erklære en fil, som altid bliver inkluderet før alle andre filer.

Så, du skal altså selv, i opsætningen, angive hvad din "global.asa" skal
være. Derefter bliver den altid inkluderet over hele sitet.

Det må vel være ca. ok?

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@xxxxxxxxxxxx
Linux supports the notion of a command line or a shell for the same reason
that only children read books with only pictures in them. Language, be it
English or something else, is the only tool flexible enough to accomplish a
sufficiently broad range of tasks. 
                                     - Bill Garrett



Follow ups

References