You are here: Re: php error « PHP Programming Language « IT news, forums, messages
Re: php error

Posted by Jasen Betts on 02/12/06 02:27

On 2006-02-11, noone <noone@nowhere.com> wrote:

> To what does $_SERVER["DOCUMENT_ROOT"] translate?

>> Parse error: syntax error, unexpected T_VARIABLE in
>> C:\webroot\config\db_config.php on line 2

looks like it translates to

C:\webroot

> (should really be $_SERVER['DOCUMENT_ROOT']

I don't see that the style of qoutes makes any differeence in that case
except possibly saving a few microseconds execution time.

>> Parse error: syntax error, unexpected T_VARIABLE in
>> C:\webroot\config\db_config.php on line 2

looks like the error is in the file mentioned above.
which I suspect is not the one newbie posted

--

Bye.
Jasen

 

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

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