Reply to Re: opendir and current path problem ?

Your name:

Reply:


Posted by comehere on 08/29/05 17:36

Hi, sorry for the delay...

Putting the full paths work, as I expected.
My php.ini include path is:
include_path = ".;C:\apachefriends\xampp\php\pear\"

The . is the current directory I think, though logically that would be
apache\bin rather than apache\. However, as I said, this very same
configuration does not give me the problem on a Win2k/XP machine. So
I figure it's WinNT that's being weird here.

For now I think I will simply move the site on a different server
rather than waste time modifiying code - it's just a few lines to fix,
but who knows what other surprises this kind of problem might give me
later...

Anyway, if anyone sees where the bug is, feel free to join in..

later,

Fp


On 23 Aug 2005 10:11:05 -0700, "ZeldorBlat" <zeldorblat@gmail.com>
wrote:

>Take a look at your include path in php.ini. It may be looking in ./,
>then ../, then elsewhere. What happens when you specify the complete
>path to the directory in your call to opendir() ?

[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

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