Forum Moderators: coopster

Message Too Old, No Replies

Php equivalent of global.asa?

Newbie needs help

         

TravelSite

4:48 pm on Mar 1, 2005 (gmt 0)

10+ Year Member



In asp I used a global.asa file to open up database connections, record details about the number of people on the site, where they came from and some other stuff (affiliate ids etc).

What is the closed thing to this in php?

jatar_k

6:10 pm on Mar 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I write specific scripts or incorporate those types of functions into my pages. There is no equivalent as it isn't needed.

gettopreacherman

9:08 pm on Mar 1, 2005 (gmt 0)

10+ Year Member



I agree, however, from a productive standpoint, there is a nuke equivalent out there as db.php which stores your database connection information as globals...that's about as close to an *.asa as it comes I believe.

TravelSite

9:35 am on Mar 2, 2005 (gmt 0)

10+ Year Member



Thanks,

Thats helpful :)