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 When I installed the PHP with Apache, I selected the Unix binary, but the message above implies that it somehow does not know what file to look for, right? Is there somehow I can solve this? My calculate.php is stored on a Linux, while my read.php is on a Windows. Thanks in advance. Alice ====================================================== Alice Wei MIS 2009 School of Library and Information Science Indiana University Bloomington ajwei@xxxxxxxxxxx ________________________________________ From: Daniel Brown [parasane@xxxxxxxxx] Sent: Tuesday, June 24, 2008 1:51 PM To: Jim Lucas Cc: Wei, Alice J.; Jay Blanchard; php-general@xxxxxxxxxxxxx Subject: Re: Include Problem On Tue, Jun 24, 2008 at 1:32 PM, Jim Lucas <lists@xxxxxxxxx> wrote: > > Make sure you have these enabled > > allow_url_fopen = On > allow_url_include = On In addition to what Jay and Jim already correctly suggested, you may also want to try this at the top of your files to see if there are any errors or hints at all: <?php ini_set('display_errors','On'); error_reporting(E_ALL); // .... continue with your code here. ?> Further, you can echo out the response code from include, like so: <?php echo include('http://www.mysite.com/calculate.php'); ?> .... or, with short_open_tags = On: <?=include('http://www.mysite.com/calculate.php');?> -- </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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php