Posted by Steve on 12/04/06 22:05
"windandwaves" <nfrancken@gmail.com> wrote in message
news:1165268000.168977.227370@l12g2000cwl.googlegroups.com...
|
| Steve wrote:
| .....
| > $site->uri = 'http' . ($securityEnabled ? 's' : '') . '://' .
| > $_SERVER['HTTP_HOST'];
|
| I dont really understand $site->uri part. It seems that you are
| referring to a class. Is this php 5? I am working with php 4.3 I
| believe.
|
| Can you explain it a bit more?
|
| Thank you
it is a static interface on an application class that i use. it stores
global settings/information about the site...like directory paths for
different things for example. it is php 5. that's not what's important. what
is, is the simple approach it takes to do what you want.
if you can explain your setup a bit more, then perhaps i could explain mine
to you better.
Navigation:
[Reply to this message]
|