Thanks Patrick and Barney! This list rocks :)
-jeff
As long as you use the same application name, the application has no
awareness of an Application.cfm/cfc distinction. Only the
Application.* file itself is different. Both have strengths and
weaknesses.
This is not a question about the structure of an Application.cfc, I've got that
down. No problem.
This is about taking a bunch of apps that use the same application scope but
different Application.cfm files, and converting them one by one to
Application.cfc.
All of these have the same
This question has been tossed around a few lists lately. I have not
verified, but from what I understand as long as you have the same
application name within the application.cfc and application.cfm files, then
you should be ok.
On Thu, Apr 10, 2008 at 9:38 AM, Jeff Price [EMAIL PROTECTED] wrote
:
This is not a question about the structure of an Application.cfc, I've got
that down. No problem.
This is about taking a bunch of apps that use the same application scope but
different Application.cfm files, and converting them one by one to
Application.cfc.
All of these have the same
Barney,
I would be interested in knowing what are the weaknesses in Application.cfc
based on your expertise.
Thanks
On Thu, Apr 10, 2008 at 12:47 PM, Barney Boisvert [EMAIL PROTECTED]
wrote:
As long as you use the same application name, the application has no
awareness of an Application.cfm
manually, but I do the last with Application.cfc so I don't
have to cycle CF all the time.
cheers,
barneyb
On Thu, Apr 10, 2008 at 10:50 AM, Qasim Rasheed [EMAIL PROTECTED] wrote:
Barney,
I would be interested in knowing what are the weaknesses in Application.cfc
based on your expertise
The primary one is that you can't set variables in the page's
variables scope without using onRequest, which breaks remote calls.
You can use the request scope from onRequestStart, of course, but
there are different semantics for that (like being shared across
CFCs/custom tags). Less troubling,
OK, im managing to narrow it down a bit but something very strange is happening.
if i close the browser whilst im still logged in and sign in again it does
display the login page correctly. i have dumped the session variables and it
shows that the cfauthorization_appName tag does not exist in
I think that im going to go with some homegrown session storage security for
the login as there seems to be some bug somewhere that doesn't make any sense
thanks
richard
~|
Get involved in the latest ColdFusion discussions,
would it have anything to do with the application timeout which i have set to
the following:
cfset This.sessiontimeout=#createtimespan(0,0,15,0)#
cfset This.applicationtimeout=#createtimespan(30,0,0,0)#
Thanks
~|
Create
Does anyone have any ideas at all that i could try as i just cannot work out
what is wrong and this has been bugging me for over a week now?
Thanks
Richard
~|
ColdFusion is delivering applications solutions at at top
Hi
I am having exactly the same problem, does anyone have any clue why this would
occur and how to fix it
thanks
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
The problem is not when the session ends, but when the user enters again to the
system after his(her) session ended. The applications shows the login template,
the user enter the user name and password and the application (I do not know
how) authenticates the user and let him(her) to enter
neither the login part of my code. So=
I ended without my struct and with a logged in user.
This is my simplified Application.cfc, I do not know what I am missing:
cfcomponent displayname =Application
!--- Atributes ---
cfscript
this.loging = true;
this.name = APP
Placing the following in the onSessionEnd method should solve the
problem:
cfif getAuthUser() NEQ
cflogout/
/cfif
Option B is to persist some cookie data which will re-login the user
when the session ends.
As a side note, you can also use the cflogin name to create a
list. The you can
]
Sent: Saturday, 20 October 2007 11:29 AM
To: CF-Talk
Subject: stop requests of images via application.cfc
I'm uploading (via CFIMAGE) images into a /temp/ folder. Naming them 1.jpg,
2.jpg, etc..
After I approve them, I move them out of /temp/.
It appears application.cfc onRequestStart doesn't
I'm uploading (via CFIMAGE) images into a /temp/ folder. Naming them 1.jpg,
2.jpg, etc..
After I approve them, I move them out of /temp/.
It appears application.cfc onRequestStart doesn't stop requests directly to
/temptemp/UNAPPROVED#.jpg
Any thoughts?? Much appreciated
I'm uploading (via CFIMAGE) images into a /temp/ folder. Naming them 1.jpg,
2.jpg, etc..
After I approve them, I move them out of /temp/.
It appears application.cfc onRequestStart doesn't stop requests directly to
/temptemp/UNAPPROVED#.jpg
Any thoughts?? Much appreciated
On 10/19/07, Jeff Becker [EMAIL PROTECTED] wrote:
It appears application.cfc onRequestStart doesn't stop requests directly to
/temptemp/UNAPPROVED#.jpg
Any thoughts?? Much appreciated!
Well, of course it doesn't - ColdFusion is only involved for .cfm and
..cfc requests and so
I've figured what I was doing wrong, so my corrected question is: is
there any way to terminate a running thread that was launched by a
PREVIOUS page request?
~|
Get involved in the latest ColdFusion discussions, product
I have a cfm page which must at all costs return a simple pipe delimited
list with no whitespace before or after it. Application.cfc is adding some
and messing everything up. For now I have fixed the problem by moving the
relevant cfm page into its own folder with its own [blank] application.cfc
Use output=false on the component and all of the methods
On 9/3/07, James Smith [EMAIL PROTECTED] wrote:
I have a cfm page which must at all costs return a simple pipe delimited
list with no whitespace before or after it. Application.cfc is adding some
and messing everything up. For now I
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 8:47 AM
To: CF-Talk
Subject: Application.cfc adding whitespace
I have a cfm page which must at all costs return a simple
Output=no doesn't quite work (almost but not quite) since setting it on
the onRequest() function results in no output being sent to the browser at
all!
However, adding cfcontent reset=yes directly before cfinclude
template=#Arguments.targetPage# in the onRequest() function seems to have
solved
Is output set to false? You can also use
cfcontent reset=yes / just before any output in the calling page to
reset any white space. That is, of course, if you don't want ANYTHING
displayed before this point
I always like usin that one for the doctype in a header. :)
me
Yep ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 3:58 PM
To: CF-Talk
Subject: Re: Application.cfc adding whitespace
Is output set to false? You can
Pete
Does JSP have an analogue to the application.cfc file?
No, at least not a standard analogue (some JSP containers like JRun
have/had a non-standard thing called global.jsa.) You can initialise
simple global variables using web.xml.
Any other tips for a CF guy teaching himself JSP
Are people still using JSP?
Isn't it even more of a dying language than Coldfusion? ;)
Rick
~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next
The vast majority of developers that I know (mostly friends from previous
jobs) in this area are JSP developers.
Pete
On 8/31/07, Rick Root [EMAIL PROTECTED] wrote:
Are people still using JSP?
Isn't it even more of a dying language than Coldfusion? ;)
Rick
Are people still using JSP?
Isn't it even more of a dying language than Coldfusion? ;)
Oh no! But as Nick mentioned, many JSP programmers use some sort of
abstraction on top of JSP - templating libraries like Velocity, JSF, etc,
etc.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
I'm teaching myself JSP after doing primarily CF for the past 8 years.
Does JSP have an analogue to the application.cfc file?
Any other tips for a CF guy teaching himself JSP? I'm using Apache Tomcat.
Thanks,
Pete
Any other tips for a CF guy teaching himself JSP?
Sure: Prosac!
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
I started using the onError function. I get the below error on one page.
Any ideas? The code runs fine, I just get an email everytime the page is hit
since I started using onError.
It does not like my use of CFLocation, but it seems to work fine and I don't
see any typos.
TagContext array
I googled for 'cflocation application.cfc onerror' and this was the
first result (the fix for it)
http://www.coldfusionjedi.com/index.cfm/2005/9/28/Two-Nice-Fixes-in-Cold
Fusion-701
You can either update to CF 7.01 (why are you not up to date??) or you
can put this into your onError method
Oh wow! this server is not up to date. No wonder I was getting strange
results from staging to production.
Thanks!
-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 9:23 AM
To: CF-Talk
Subject: RE: application.cfc onError
I googled
I am switching an application.cfm to application.cfc.
Im my application.cfm I defined a function that I used through out the web site.
cfscript
function replaceQuotes(arg) {
return Replace(arg, '', ##34;, ALL);
}
/cfscript
Now in the application.cfc I cannot
need, just drop them into utilities.cfc.
On 8/27/07, Chad Gray [EMAIL PROTECTED] wrote:
I am switching an application.cfm to application.cfc.
Im my application.cfm I defined a function that I used through out the web
site.
cfscript
function replaceQuotes(arg
Plenty of ways to do this, but I'd probably create a utilities.cfc and
then
drop it into the application scope (in OnApplicationStart()). That way,
anytime you want to use it on your site, you just call it that way.
I concur with Crow - I was going to suggest exactly the same thing. You
On Friday 03 Aug 2007, [EMAIL PROTECTED] wrote:
Or any alternative way to set this scope variables which is available
in Application.cfc without having any Application.cfc?
A server-wide mapping in the administrator, for instance ?
--
Tom Chiverton
Also, it always helps to remember that Application.cfc is in NO WAY
special or different than any other CFC you will ever write. The only
difference is that the CF application server instantiates it for each
page request and looks for certain methods to call for certain events...
But the CFC
Hi,
Please do not ask why but I am just trying to set a parameter which is normally
defined in Application.cfc this scope, in normal CFM page.
This parameter is new ColdFusion application layer mapping feature.
When we need to define an application layer mapping we can use following
Ok now that I have learned about declaring variables in CFCs so you don't run
into race conditions and problems. How about application.cfc?
Do I need to use cfset var foo = in application.cfc?
~|
Enterprise web applications
application.cfc?
Do I need to use cfset var foo = in application.cfc?
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion
I am trying to include my UDF libraries that I use application wide in
Application.cfc but it is not working. Of coarse, I tried a simple
cfinclude template=path/to/lib/ in onRequestStart() but that did not
work.
What am I missing?
-Aaron
aborts will trigger an error inside a cfc being called as a web service.
- Original Message
From: Jake Pilgrim [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, June 12, 2007 5:06:18 PM
Subject: Re: cfabort triggering onError function in Application.cfc
An abort
Thanks for the help guys, I got it working using Jake's cfif statement.
Sometimes it's the simple things that throw me off hehe.
--
Steve Good
[EMAIL PROTECTED]
Portal Hosting
http://www.lanctr.com
~|
Macromedia ColdFusion
I'm trying to catch errors and display them in a prettier way on one of
my applications. However part of the login script I use has a cfabort
tag in it to stop processing until the user is authenticated. Since I
implemented the onError function in my Application.cfc the cfabort seems
I'm trying to catch errors and display them in a prettier way on one of
my applications. However part of the login script I use has a cfabort
tag in it to stop processing until the user is authenticated. Since I
implemented the onError function in my Application.cfc the cfabort seems
Since I
implemented the onError function in my Application.cfc the cfabort seems
to be triggering it. Is this normal? if so how do I work around this?
I'm fairly certain cfabort doesn't trigger onError; at least I haven't seen
that before. You might have another error around the cfabort
=EventName type=String required=true/
cfif arguments.exception.rootCause NEQ coldfusion.runtime.AbortException
... do error handling
/cfif
/cffunction
Voila!
Jake Pilgrim
Since I
implemented the onError function in my Application.cfc the cfabort seems
to be triggering
An abort is an exception that is caught by the onError event handler.
Whether this is a bug or a desired effect is debatable, but this does in
fact happen. However it is easy enough to catch:
Hmmm...very interesting indeed. I just did a test, and cfabort did not seem
to trigger
Is there a tag I can use on my page to ignore an application.cfc in the root
directory?
Additionally, how many directories above the page being called will CF travel
to look for an application.cfc or .cfm file? Will it look keep going until it
reaches the server root directory?
Thanks
John,
Yep, all the way up. And to get it to ignore it, just add one in your own
folder.
--- Ben
-Original Message-
From: John P [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007 12:29 PM
To: CF-Talk
Subject: Ignoring Application.cfc or .cfm
Is there a tag I can use on my page
Great, thanks Ben!
John,
Yep, all the way up. And to get it to ignore it, just add one in your own
folder.
--- Ben
-Original Message-
From: John P [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007 12:29 PM
To: CF-Talk
Subject: Ignoring Application.cfc or .cfm
Is there a tag I
Yep, all the way up. And to get it to ignore it, just add one in your own
folder.
Exactly, but if you just want this application.cfm to just do nothing,
make sure it contains at least one space,
because CF does not like 0 length files.
--
___
REUSE CODE!
Am I correct in thinking that I CAN NOT intercept a 404 error in my
Application.cfc because ColdFusion is NOT firing the Application.cfc file
cause is dies at missing template level?
And if so, how would one handle this in a shared hosting environment where
there is no access to the ColdFusion
I am converting Application.cfm to Application.cfc in a CF5 site that
is now running under CFMX7. The Application.cfm uses request.dsn to
define the data source. For Application.cfc, I have three choices:
1. Define request.dsn in OnRequestStart
2. Define request.dsn at the top of Application.cfc
as possible with future
work.
cheers,
barneyb
On 4/21/07, Mike Chabot [EMAIL PROTECTED] wrote:
I am converting Application.cfm to Application.cfc in a CF5 site that
is now running under CFMX7. The Application.cfm uses request.dsn to
define the data source. For Application.cfc, I have three
I'm resending this because I'm not sure it made it to the list.
Can somebody confirm that the cflocation in Application.cfc is working fine
in CFMX 7.02?
In my case it still triggers an onError event, which sends an email and as a
result I'm overwhelmed by useless error messages. The user doesn't
Victor, I use cflocation in Application.cfc and it works as expected.
However I'm using it within onError itself. Don't know if that makes a
difference or not, but it does work at least in the onError method.
Maybe you could post your code - there might be something else going astray.
-- Josh
Thank Josh,
The code is in onRequestStart and it works, I mean it redirects the user,
but also triggers onError event.
It seems that it was a problem with using cflocation in Application.cfc and
was fixed in 7.01, at least this is what I have read on Ray blog.
Anyway this is the offending code
The line being reported onError is the line with cflocation
What is the error that is being reported?
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
An exception occurred when invoking a event handler method from
Application.cfc The method name is: onRequestStart.
Event Handler Exception.
coldfusion.runtime.AbortException
On 4/3/07, Josh Nathanson [EMAIL PROTECTED] wrote:
The line being reported onError is the line with cflocation
What
out.
Sorry I can't be of more help.
-- Josh
- Original Message -
From: Victor Moore [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, April 03, 2007 9:53 AM
Subject: Re: (Resend) Application.cfc and cflocation
An exception occurred when invoking a event handler
An exception occurred when invoking a event handler method from
Application.cfc The method name is: onRequestStart.
Event Handler Exception.
coldfusion.runtime.AbortException
Actually, that looks like a perfectly valid exception to throw, I guess. I
don't know anything about whether
coldfusion.runtime.AbortException suggests the execution of a CFABORT tag
somewhere. I'm guessing you forgot about a CFABORT tag during development -
probably on your include page.
Now in our shop, we occasionally throw cfaborts for valid reasons (like a user
trying to access a protected
, Dave Watts [EMAIL PROTECTED] wrote:
An exception occurred when invoking a event handler method from
Application.cfc The method name is: onRequestStart.
Event Handler Exception.
coldfusion.runtime.AbortException
Actually, that looks like a perfectly valid exception to throw, I guess. I
Hi,
I thought that the error triggered when using cflocation in
Application.cfcwas fixed in version
7.01
I'm using 7,0,2,142559 and still have the problem. It was reintroduced in
7.02? do I need to apply a specific fix for it?
Thank you
Victor
/OurApplication/subfolder1/subfolder2/
We have our root Application.cfc at the OurApplication folder. and then we
have our mini Application, with its own Application.cfc at the subfolder2
level.
When we try to use cfcomponent extends. . . it can't find the root
Application.cfc. Of course
One thing I do is use a proxyApplication.cfc in the root that extends the root
application.cfc.
Then in the subfolder app.cfc's, extend them to
testfolder.user.username.yourapp.proxyApplication
Or could you create a mapping
a proxyApplication.cfc in the root that extends the
root application.cfc.
Then in the subfolder app.cfc's, extend them to
testfolder.user.username.yourapp.proxyApplication
Or could you create a mapping
Right, sean's the one that told me to do it like that. Good advice, seems to
work perfectly.
Will
~|
Create Web Applications With ColdFusion MX7 Flex 2.
Build powerful, scalable RIAs. Free Trial
- subfolder2
- Application.cfc
- subfolder3
- Application.cfc
- ApplicationProxy.cfc
- username2
- username3
- testfolder2
- testfolder3
So we have tried using the Proxy file and that uses cfextends to grab
Why doesn't the Application.cfc file run when a template isn't found?
Anyone know how to catch these WITHOUT using the missing template
handler in CF Administrator???
I had a solution using CFERROR tags in application.cfm but since
application.cfc isn't running nothing executes
Jones Eric R Ctr 8 AF Det 1/AFNOC wrote:
Why doesn't the Application.cfc file run when a template isn't found?
Because technically the constructor code of Application.cfc is included
in the template and that is a bit hard when the template isn't present.
Anyone know how to catch
Hello,
Here is the code I have at the top of my Application.cfc file:
cfcomponent output=false
cfset this.Name=Threader1
cfset this.sessionManagement = true
cfset this.clientManagement = true
In my Queue.cfc file I am getting this error when trying to use a client
variable:
The requested
]
Sent: Friday, March 02, 2007 8:40 AM
To: CF-Talk
Subject: Re: php equivalent of application.cfc
Heh,
Can you 60 gigs a month bandwidth, 25 gigs webspace, with CF for less
than £200 PA?
T
On 2 Mar 2007, at 13:26, Peter Boughton wrote
...
Sunshinetechsolutions.com
Hostnexus.com
Those are 2 good hosts...
Eric
-Original Message-
From: Tom King [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 8:40 AM
To: CF-Talk
Subject: Re: php equivalent of application.cfc
Heh,
Can you 60 gigs a month bandwidth, 25 gigs webspace, with CF
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
of application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes
in every file:
cffunction name=onrequest
cfargument name=targetpage'' required
02 11:35:43 2007
Subject: OT: php equivalent of application.cfc
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
of application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes
in every file
. ;)
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
of application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes
in every file:
cffunction name=onrequest
cfargument name=targetpage
. That file can include custom functions.
Unfortunately, I can't remember the setting offhand.
On 3/2/07, Tom King [EMAIL PROTECTED] wrote:
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
of application.cfc onrequest() function:
I.e, I want
if there is the equivalent
of application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes
in every file:
cffunction name=onrequest
cfargument name=targetpage'' required=yes
cfinclude template=header.html
cfinclude template=#targetpage
PROTECTED] wrote:
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
of application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes
in every file:
cffunction name=onrequest
cfargument name
On 3/2/07, Tom King [EMAIL PROTECTED] wrote:
Not my choice, working on a site where they can't afford to move the
hosting...
If it was my choice, I'd rewrite the damn thing from scratch in CF
I did a fair amount of PHP work between 6 and 3 years ago.
I usually refuse PHP work now if
On Friday 02 Mar 2007, Tom King wrote:
I.e, I want to be able to do this, without having to put the includes
in every file:
Every PHP app I've looked at has an include_once() at the top of each file :-/
--
Tom Chiverton
Helping to augmentatively transition revolutionary segments
On:
That could work (as would the related require_once() function), but
it's maintenance-intensive since it has to be explicitly included on
every page. Look at the auto_prepend_file directive in php.ini (I
looked it up and I think that's what I was referring to in my earlier
post). If you need
the project :-)
-Randy
- Original Message -
From: Tom King [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 02, 2007 6:35 AM
Subject: OT: php equivalent of application.cfc
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out
On Friday 02 Mar 2007, Rob Wilkerson wrote:
That could work (as would the related require_once() function), but
it's maintenance-intensive since it has to be explicitly included on
every page.
OTTOMH:
find . -name '*.php' -exec cp {} {}.1;cat header.php {}.1 {} \;
:-)
--
Tom Chiverton
Ugh. :-)
On 3/2/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Friday 02 Mar 2007, Rob Wilkerson wrote:
That could work (as would the related require_once() function), but
it's maintenance-intensive since it has to be explicitly included on
every page.
OTTOMH:
find . -name '*.php' -exec
hehe, so glad I don't have to deal with this on a regular basis -
thanks for the tips!
T
On 2 Mar 2007, at 14:05, Rob Wilkerson wrote:
Ugh. :-)
On 3/2/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Friday 02 Mar 2007, Rob Wilkerson wrote:
That could work (as would the related
Ah, I think that was the thing I was referring to with my Apache comment.
Didn't realise it was actually a php.ini thing.
That could work (as would the related require_once() function), but
it's maintenance-intensive since it has to be explicitly included on
every page. Look at the
Ah, interesting... Did you see my survey about potential low-cost CFML hosting?
/cheeky-plug
:)
heheh,
Not my choice, working on a site where they can't afford to move the
hosting...
If it was my choice, I'd rewrite the damn thing from scratch in CF
T
On 2 Mar 2007, at 11:24, Peter Boughton
Heh,
Can you 60 gigs a month bandwidth, 25 gigs webspace, with CF for less
than £200 PA?
T
On 2 Mar 2007, at 13:26, Peter Boughton wrote:
Ah, interesting... Did you see my survey about potential low-cost
CFML hosting?
/cheeky-plug
:)
heheh,
Not my choice, working on a site where
Subject: OT: php equivalent of application.cfc
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent of
application.cfc onrequest() function:
I.e, I want to be able to do this, without having to put the includes in every
file:
cffunction name
Don't know what to tell them, but I've done it. At least with PHP
4.x. I've included the php.ini doc. Search for auto_prepend_file.
The second hit describes what it does.
http://de3.php.net/manual/en/ini.core.php
On 3/2/07, Andy Matthews [EMAIL PROTECTED] wrote:
I just asked two pro level
headers before any output as well.
!k
-Original Message-
From: Tom King [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 5:36 AM
To: CF-Talk
Subject: OT: php equivalent of application.cfc
Hi All,
Sorry for the OT:
I'm new to PHP, and am trying to find out if there is the equivalent
Yeah, I've done that too. It's something you have to set up in your
php.ini file. I used it to act like application.cfm (instead of
application.cfc).. it worked like a champ. Hopefully, I won't have to
work on another PHP project for a long time. Viva la ColdFusion! :o)
Cheers,
Chris
Rob
In fact, here are the two lines I included in my php.ini file (which on
my fadoracore4 system is located in /etc)
; Automatically add files before or after any PHP document.
auto_prepend_file = application.inc.php
auto_append_file = onrequestend.inc.php
I named the files anything I wanted and
To: CF-Talk
Subject: Re: php equivalent of application.cfc
In fact, here are the two lines I included in my php.ini file (which on
my fadoracore4 system is located in /etc)
; Automatically add files before or after any PHP document.
auto_prepend_file = application.inc.php
auto_append_file
301 - 400 of 717 matches
Mail list logo