james438
03-08-2010, 05:23 AM
test.php contains:
<?php
include 'http://www.mysite.com/test2.php';
?>
will produce Array(), but if test.php contains:
<?php
include 'test2.php';
?>works just fine.where test2.php contains:
<?php
print_r($_COOKIE);
?>
Any idea why? Does this have to do with php.ini settings?
<?php
include 'http://www.mysite.com/test2.php';
?>
will produce Array(), but if test.php contains:
<?php
include 'test2.php';
?>works just fine.where test2.php contains:
<?php
print_r($_COOKIE);
?>
Any idea why? Does this have to do with php.ini settings?