Check if the $page variable has a value. I'm thinking they had 4.0.x before,
or had register_globals enabled, and ur passing $page by querystring right?

Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca

----- Original Message -----
From: "Daniel Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 10:41 AM
Subject: [PHP] PHP 4.2.2 release problems


> After my host recently upgraded to the latest version after reading the
> recent advisory I have got an error that won't load one of my php pages
and
> I can't see why not. Here's the error I get -
>
> Warning: Failed opening '' for inclusion
> (include_path='.:/usr/lib/apache/php') in
/home/sites/site41/web/horror.php
> on line 28
>
> Here's what horror.php looks like -
>
> lbar-highlight-color: #C20808;
> scrollbar-3dlight-color: #000000;
> scrollbar-darkshadow-color: #000000;
> scrollbar-track-color: #000000;
> scrollbar-arrow-color: #C20808;
> A {color:#C20808}
> A {text-decoration: none}
> A:active {text-decoration: none}
> A:active {color:#C20808;}
> A:visited {color:#C20808;}
> A:hover {text-decoration: underline overline}
> A:hover {color:#C20808}
> }
>
> </style>
> <table width="100%" border="0">
>   <tr>
>     <td rowspan="2" width="130" valign=top><? include("poll/menu.php")
> ?></td>
>     <td width="*" height=104><center><img src=images/title.jpg width=450
> height=104 border=0 valign=top></center></td>
>     <td rowspan="2" width="150" valign=top><? include("right.php") ?></td>
>   </tr>
>   <tr>
>     <td width="*" height="387" valign="top">
>       <br><? include("$page") ?>
>     </td>
>   </tr>
> </table>
>
>
> Any help would be greatly recieved. Thanks in advance,
> Dan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



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

Reply via email to