Re: cf to php
| From: | chris herring | Date: | Mon, 19 Mar 2001 10:18:02 +0000 |
| Subject: | Re: cf to php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44510@lists.php.net to get a copy of this message | ||
<cfoutput>
<cfif NOT ISDEFINED("url.page")>
<cfinclude template="main.cfm">
<cfelseif url.page IS "rants">
<cfinclude template="rants.cfm">
<cfelseif url.page IS "columns">
<cfinclude template="columns.cfm">
<cfelseif url.page IS "staff">
<cfinclude template="staff.cfm">
<cfelseif url.page IS "links">
<cfinclude template="links.cfm">
<cfelseif url.page IS "about">
<cfinclude template="about.cfm">
<cfelseif url.page IS "movies">
<cfinclude template="movies.cfm">
<cfelseif url.page IS "music">
<cfinclude template="music.cfm">
<cfelse>
<cfinclude template="main.cfm">
</cfif>
</cfoutput>
----- Original Message -----
From: "Jack Dempsey" <dempsejn@georgetown.edu>
To: <php-general@lists.php.net>; "chris herring"
<chrisherring@subdimension.com>
Sent: Monday, March 19, 2001 2:09 AM
Subject: RE: [PHP] cf to php
> What exactly does that do chris?
> If you're trying to check and see if there's a file on the server, then
you
> could do something with readdir, is_file, etc...if you want to post what
> that actually tests for then i might be able to help more
>
> jack
>
> -----Original Message-----
> From: chris herring [mailto:chrisherring@subdimension.com]
> Sent: Monday, March 19, 2001 3:00 AM
> To: php-general@lists.php.net
> Subject: [PHP] cf to php
>
>
> is there a php equivalent for this little tidbit from a friend's cf
script?
> here it is:
>
> <cfif NOT ISDEFINED("url.page")>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net