Re: Include Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux