Re: How to access a new Include?

Jeff Coughlin <[email protected]> Tue, 16 Oct 2007 01:34:50 -0400
Newsgroups gmane.comp.cms.farcry.user
Message-ID <[email protected]>
RobG wrote:
> Bingo!  Thanks!!!
>
> Now if I may ask... I want to post it back to itself... but just putting
> "_contact.cfm" in the action= field yeilds an error... what's the
> correct path to it?
>
> Rob
>   

Depending on the webserver you're using, you can usually just leave the 
action value blank and it will post to itself (IIS 5 on WinXP doesn't 
like to function this way).  Otherwise you can set it to something like 
"#cgi.script_name#?objectid=#request.navid#".

I have a script I usually use that detects if the friendly urls plugin 
is activated and will use that, otherwise use a url similar to the one 
above.  Unfortunately I don't have an example of the code on this 
machine at the moment.

Regards,

--
Jeff Coughlin
Web Application Developer
[email protected]
http://jeffcoughlin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user-/[email protected]
To unsubscribe from this group, send email to farcry-user-unsubscribe-/[email protected]
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---