How can I?
| From: | Tony Devlin | Date: | Mon, 22 Nov 2004 14:20:21 +0000 |
| Subject: | How can I? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25012@lists.php.net to get a copy of this 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