Re: Help with path issue?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sat, 21 Oct 2006 21:58:42 -0400
brett wrote:
Maybe it's not an IIS issue.... Don't know! What's your environment?
I'm new to PHP. What in particular do you mean by environment? I'm on
a hosted machine so I'll probabably have to call and get those answers.
Unless there is another way to do it.
You might try using:
require_one(dirname(__FILE__) . '\\Snoopy.class.php');
working directory using the PHP ISAPI module? Not sure.From dahnielson_mimetex.php. Issue may be related to the current
What code do I substitute for the above?
Thanks,
Brett
Brett,
This is entirely system dependent. You need to point to the file where you loaded it.
require_once(...) (not require_one as you have it above) uses a relative or absolute pathname.
I usually use a path relative to my server root directory. That way I can move it and not need to change any code, i.e.
require_once($_SERVER['DOCUMENT_ROOT'] . '/relative/path/to/file.ext');
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Help with path issue?
- From: brett
- Re: Help with path issue?
- References:
- Help with path issue?
- From: brett
- Re: Help with path issue?
- From: petersprc
- Re: Help with path issue?
- From: petersprc
- Re: Help with path issue?
- From: brett
- Help with path issue?
- Prev by Date: HELP! Selecting Array Rows based on an array of field=>value s
- Next by Date: Re: problems using copy() and rename()
- Previous by thread: Re: Help with path issue?
- Next by thread: Re: Help with path issue?
- Index(es):
Relevant Pages
|