You are here: Re: Help with path issue? « PHP Programming Language « IT news, forums, messages
Re: Help with path issue?

Posted by petersprc on 10/21/06 02:40

Hi,

You might try using:

require_one(dirname(__FILE__) . '\\Snoopy.class.php');

>From dahnielson_mimetex.php. Issue may be related to the current
working directory using the PHP ISAPI module? Not sure.

brett wrote:
> I have a file named Snoopy.class.php on my hosted web server in a
> directory called d:\home\ABC.COM\blog\wp-content\plugins\
>
> A file named dahnielson_mimetex.php references it. However, when
> dahnielson_mimetex.php tries to reference the Snoopy file, I get these
>
> types of errors:
>
> Warning: main() [function.include]: Failed opening
> './Snoopy.class.php' for inclusion
> (include_path='.;C:\php5\pear') in
> d:\home\ABC.COM\blog\wp-content\plugins\dahnielson_mimetex.php
> on line 34
>
> The person that wrote the Snoopy file tried to help me but it isn't
> going so well. You can see his suggestions here
> http://www.anlak.com/?page_id=66.
>
> Does any one have ideas on how I can fix this?
>
> Thanks,
> Brett

 

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

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