You are here: Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT'] [SOLVED] « PHP « IT news, forums, messages
Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT'] [SOLVED]

Posted by Dave on 02/21/05 11:15

Thank you all for your responses. The problem is now half solved. In
the majority of cases, using a period before the directory path ( i.e.
../directory ) will give me the correct path to the directory I specify
from the relative path from the web root.
However, it still will not work with the random_image function I
created when called from within the web forum I'm using, which is the
PHP based "Simple Machines Forum".
I will take this inquiry to their support forum to see if there is
any special considerations about their PHP that I should know about.

Thank you all for your time and explanations. I have learned a lot
about the DOCUMENT_ROOT variable.

--
Dave Gutteridge
dave@tokyocomedy.com

 

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

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