php-windows Digest 22 Nov 2004 14:20:12 -0000 Issue 2478

Topics (messages 25012 through 25012):

How can I?
        25012 by: Tony Devlin

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
First off, I wanna thank everyone who helped me with the GD image issue.  I
have fixed the problem and appreciate the responses.

Onto the real question.  I'm trying to make a switch statement that switches
a header file based upon what folder you are in...

An example:

Let's say I have 3 folders with some files inside.

/company/
 --> index.php
 --> contact.php

/customer/
 --> index.php
 --> profile.php

/tips/
 --> index.php


Basically instead of building a huge switch with EVERY full path file name
included,  I want to just make a switch based on folder, then every file
inside that folder will have the switch applied to it.  I am sure this is
possible, anyone have any ideas about how to do this?

Greatly appreciated,

Tony Devlin

--- End Message ---

Reply via email to