You are here: Re: rewrite this a little better « All PHP « IT news, forums, messages
Re: rewrite this a little better

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация