You are here: Re: Using development system before uploading to web « PHP SQL « IT news, forums, messages
Re: Using development system before uploading to web

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

 

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

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