You are here: Referencing a File or Folder « PHP Programming Language « IT news, forums, messages
Referencing a File or Folder

Posted by TristaSD on 05/08/06 07:47

I'm trying to point to an include file from php like so:

<?php require('/main/includes/nav_stripe.php');?>

That approach is perfectly fine when trying to point to a folder
INCLUDES inside folder MAIN on the root IN HTML. However, php is
producing errors.

Is there a solid safe way to reference a file/folder regardless of how
many levels up or down it is?

 

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

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