|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-09-12 13:39 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 15:00:01 2026 UTC |
1st file in my working machine is --------------------------------- <? require ("http://targetDomain/test_remote.php"); testPr(); ?> 2nd file on targetDomain(other machine) is ------------------------------------------ <? echo("this is test_remote.php"); function testPr() { echo("remote : testPr()"); } ?> When I execute 1st file, it prints out : ---------------------------------------- this is test_remote.php Fatal error: Call to undefined function: testpr() in 1st file on line 3 I know that the 1st file required the 2nd file successfully because it printed out the echo statement of 2nd file. However I cannot understand why it cannot use the function of the remote file. OS : ReaHat 6.0 PHP : 4.0 apache : 1.3