At 1:06 AM -0700 5/1/06, Nicolas Verhaeghe wrote:
When I run the Zend debugger, it returns an error telling me it cannot find
a certain include, while when I run the site it works fine.

My development machine is a WIMP (the server is a LAMP but it's not relevant
here).

This is not the first include in this site, but the first include inside of
an include:

require("includes/initiate.php");

I have tried pretty much everything:

require("initiate.php");
require("/includes/initiate.php");
require("./initiate.php");

Nicolas:

Try:

require("../initiate.php");

One dot doesn't do anything (that I know of).

Also, place the following in your code (initiate.php), run it, and find the correct path:

<?php
echo("<br/>");
echo("<pre>");
print_r($_SERVER);
echo("</pre>");
?>

HTH's

tedd
--
--------------------------------------------------------------------------------
http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to