How can I?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux