|
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]
|