I have an os X 10.3 server with a page that gives me this error.  I have
the same site on a red hat machine that does not give me this error.
The way the page is:

Warning: main(): Failed opening '' for inclusion
(include_path='.:/usr/lib/php') in /Library/WebServer/html/services.php
on line 65

line 65 if the $page variable as below


<?
include "header.inc";
include "functions.php";
?>
<html>
text
<? include "$page"; ?>

</html>

<?
include "footer.inc";
?>

The page is called with an href page.php?page=content.php
with the content.php page in the web root (both pages are in the web
root).

The header, functions and footer are all okay, the content.php is where
the error is.

Does anyone know from the info above what is causing this?

Any help appreciated.


Best regards,

Andrew Judge

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

Reply via email to