ID:               37692
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sambukkaa at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         HTTP related
 Operating System: Windows
 PHP Version:      5.1.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2006-06-04 13:57:26] sambukkaa at hotmail dot com

Description:
------------
The functions include() an require() do not return no values what so
ever beside "1"

This test was done with Apache2 (last version) installed on Win2k
advanced server (IIS not installed)

2 domains A and B were installed



Reproduce code:
---------------
On domain A: page index.php containing 2 lines as followed:

$var='1234';
return $var;

On domain B: page index.php containing 2 lines as followed:

$foo = include ('http://server_a/index.php');
echo $foo; 

Expected result:
----------------
The functions include() and require() return only the value 1.
Any variations to call the file index.php on domain A with 
include() or require() would only return "1" and not the value "1234"
as described in PHP documentations.


Actual result:
--------------
Functions include() and reqire() do not return remote values.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37692&edit=1

Reply via email to