Reply to Re: OT. Windows server paths and PHP includes

Your name:

Reply:


Posted by dorayme on 06/18/07 08:01

In article
<ENqdi.2375$ZY1.678@newsread2.news.pas.earthlink.net>,
"BootNic" <bootnic@bounce.earthlink.net> wrote:

> > dorayme <doraymeRidThis@optusnet.com.au> wrote:
> > news: doraymeRidThis-AE0E5C.16200918062007@news-vip.optusnet.com.au
> > In article
> > <M0pdi.5438$tb6.782@newsread3.news.pas.earthlink.net>,
> > "BootNic" <bootnic@bounce.earthlink.net> wrote:
> [snip]
> > Well, you are starting to knock me over as in 'with a feather'. I
> > got a result! I got a path from your code that looked (I have *
> > some content just for here) like this:
> >
> > e:\****\****\includes
> [snip]
> > Seriously, thanks mate.
>
> Your welcome.
>
> Now if you have more then one inclued per page this will be worth your
> time as well.
>
> <?php
> ini_set('include_path',ini_get('include_path').';e:\*****\*****\includes');
> ?>
>
> <?php include('head.inc'); ?>
> <div>...</div>
> <?php include('nav.inc'); ?>
> <div>...</div>
> <?php include('footer.inc'); ?>
> <?php include('copy.inc'); ?>

O... ok...thanks. Yes, I do have more than one per page and am
planning even more. And I see that this will make it simpler and
neater. Even as I deck out my sites with extensive use of S & R
and GREP, this will make it easier. Have not tested what you say
yet, not that I disbelieve it of course. Just getting tired...

--
dorayme

[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

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