Re: [PHP4BETA] .PHA file?

From: Date: Mon, 27 Mar 2000 05:25:54 +0000
Subject: Re: [PHP4BETA] .PHA file?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12663@lists.php.net to get a copy of this message
* Seth Banks <seth@subimage.com> [000326 21:23] wrote: > All, > > Is there a file that is auto-run upon the first request for a .php page, > like the .asa or .jsa files for ASP and JSP? For those that haven't worked > with either technology, you can setup session or application variables in > this file, and is very useful...Anything like this in PHP4? I'm not too familiar with all this but I think you can achive that via this sort of snippet: if (!session_is_registered("var")) include ("somefile.php"); // sets up 'var' session variable -Alfred

« previous php.version4 (#12663) next »