php-general | 2000071
Date: 07/15/00
- Next message: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Previous message: Flint Doungchak: "[PHP] MSSQL PHP4pl2 Truncates Dates"
- In reply to: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Reply: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What if it's on a host and you don't have access to those files?
Ed
"Rasmus Lerdorf" <rasmus <email protected>> wrote in message
news:Pine.LNX.4.21.0007151127250.9332-100000 <email protected>
> > Is there a function in PHP that always executes first before loading
> > anything else in a directory. In Cold Fusion it's called an
application.cfm
> > and ASP has a global.asp. You put the file inside a directory and any
time a
> > file is requested from that directory the script in the global or
> > application file is executed first. It is how most login scripts are set
up.
> > I suspect PHP has something along this line but what is it called? I've
> > looked in my book but w/o having some idea of what it is called in PHP
I'm
> > not having much luck finding it.
>
> You define it yourself using the auto_prepend_file directive in your
> php.ini file, or you can define it in your httpd.conf.
>
> -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Previous message: Flint Doungchak: "[PHP] MSSQL PHP4pl2 Truncates Dates"
- In reply to: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Reply: Rasmus Lerdorf: "Re: [PHP] Newbee question?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

