| I don't know if PHP has the equivalent of application.cfm (like I said,
I'm
| new at it), but since FB people include the app_local/globals file anyway,
a
| PHP FB app is structured pretty much the same way as a CF FB app. Of
course,
| with XFB that might not hold true, but structuring things a little
| differently would be a small price to pay for the added value that I get
in
| PHP.
You can do an auto-prepend and and auto-append in PHP. Those would act like
Application.cfm and OnRequestEnd.cfm, and you could probably just name the
files the same (Application.php and OnRequestEnd.php). Assuming you are
using Apache and PHP4, use these lines in your .htaccess file (also settable
in the php.ini file, since you have a dedicated server)
php_value auto_prepend_file /path/to/Application.php
php_value auto_append_file /path/to/OnRequestEnd.php
Have fun!
David Huyck
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists