---- Lester Caine <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> > On Mon, Apr 7, 2008 at 12:24 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]>
> > wrote:
> >> Here's the error I get:
> >>
> >> Warning: include(.\file.inc.php) [function.include]: failed to open stream:
> >> No such file or directory in C:\Inetpub\httpdocs\test.php on line 3
> >>
> >> Warning: include() [function.include]: Failed opening '.\file.inc.php' for
> >> inclusion (include_path='.;.\includes;.\pear') in
> >> C:\Inetpub\httpdocs\test.php on line 3
> >
> > If you're going to use Windows-style paths, try escaping your
> > slashes and see what happens.
> >
> > <?php
> > include(".\\file.inc.php");
> > ?>
>
> People seem to be missing the point here. These are PUBLIC applications that
> are failing to work for Noah. He should not need to re-write PHPMyAdmin in
> order to get it to work?
>
> Next people will be saying that we should re-write PHP if it does not work
> for
> us.
>
> Noah - I know that some 'security' has been added to the include function,
> but
> I'm not sure why you are having problems. I'm running applications on windows
> and Linux and the "./otherdir/" select is working fine.
>
> --
Funny, none of the code *I* have seen posted to the list looks like it it
phpMyAdmin or anything else public.... And since when did basic debugging mean
you look past the basics?
Noah- Change the includes to REQUIRE and see if the path that it outputs helps
you out any with trying to figure out where things have gone wrong.
HTH,
Wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php