RE: [PHP] Include Problem
| From: | Wei, Alice J. | Date: | Tue, 24 Jun 2008 18:03:30 +0000 |
| Subject: | RE: [PHP] Include Problem | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275900@lists.php.net to get a copy of this message | ||
________________________________________
From: Daniel Brown [parasane@gmail.com]
Sent: Tuesday, June 24, 2008 1:59 PM
To: Wei, Alice J.
Cc: Jim Lucas; Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP] Include Problem
On Tue, Jun 24, 2008 at 1:55 PM, Wei, Alice J. <ajwei@indiana.edu> wrote:
> Hi,
>
> This is the error I got:
>
> Warning: include() [function.include]: URL file-access is disabled in the server configuration
> in C:\Inetpub\wwwroot\read.php on line 29
> Warning: include(http://www.mysite.com/calculate.php) [function.include]: failed to open
> stream: no suitable wrapper could be found in C:\Inetpub\wwwroot\read.php on line 29
> Warning: include() [function.include]: Failed opening
> 'http://www.mysite.com/calculate.php' for inclusion
> (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\read.php on line 29
Did you remember to restart your web server after making the
changes that Jim mentioned?
Yes, I restarted my Apache twice after each of the changes I made. As I mentioned before, the
error I get from calculate.php is located on the Linux server. Does this have to do anything with
the compilation because it is trying to find a Windows directory?
Alice
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.