|
Posted by J.O. Aho on 11/01/05 18:05
q wrote:
> Adding to what Aho said, the php code $_SERVER['SERVER_NAME'] allows you to
> define 'SERVER_NAME' = 'my_development_server_name' in a config file, so you
> only have to type this once.
As $_SERVER['SERVER_NAME'] gets the hostname from web server, you don't define
anything, if you enum SERVER_NAME then you will get a false result from the
$_SERVER['SERVER_NAME'].
With other words, you don't have to configure anything at all.
> I strongly recommend you seek out some online tutorials before you begin,
> firstly on installing and configuring Linux/Apache/mySql and php, which is
> no mean feat, then on building a website with php and mySql. There are lots
> of good ones around, and they will save weeks, maybe months of frustration.
> Bear in mind it's all OpenSource, so although there are manuals, they're not
> written with customer service in mind.
Don't forget that much opensource is released under GPL, which means you have
to release your modified code under GPL too.
//Aho
[Back to original message]
|