Reply to include directive

Your name:

Reply:


Posted by Martin A. Weinberger on 08/11/05 05:56

Hi all,

I'm using the "include_once" directive in a PHP file, although I could be
using any of the other variants. My problem is that PHP doesn't like the
following code:

=========
Doesn't Work
=========
include_once( "/Folder/File.php" );

but if I do the following than it does.

=====
Works
=====
include_once( "./Folder/File.php" );

Is there any way to use the absolute path from the beginning of the domain?
HTML doesn't have a problem with absolutes, but PHP does.

Thanks in advance,

--
Martin A. Weinberger
ButterflyVista
http://www.butterflyvista.com/

[Back to original 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

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