calling included remote functions
From: juglesh (juglesh_at_nospamRadioKDUG.com)
Date: 02/24/05
- Next message: Sebastian Sickelmann: "Re: Java Servlet"
- Previous message: John Smith: "Picture resizing in PHP"
- Next in thread: Geoff Berrow: "Re: calling included remote functions"
- Reply: Geoff Berrow: "Re: calling included remote functions"
- Reply: Oli Filth: "Re: calling included remote functions"
- Reply: Robin: "Re: calling included remote functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Feb 2005 21:16:48 -0800
at one centraldomain.com, I have central.php, which consists of this:
<?php
function square($num)
{ return $num * $num;
}
?>
at outerdomain.com, I have test.php, which consists of this:
<?php
include "http://www.centraldomain.com/central.php";
echo square(4); // outputs '16'.
?>
outerdomain.com/test.php =
"Fatal error: Call to undefined function: square() in blah/blah/test.php on
line 12"
wha'appen'? I thought you could call included functions? Hmm... if I put
central.php on the outerdomain.com, it works. No calling functions from
files included remotely?
-- juglesh
- Next message: Sebastian Sickelmann: "Re: Java Servlet"
- Previous message: John Smith: "Picture resizing in PHP"
- Next in thread: Geoff Berrow: "Re: calling included remote functions"
- Reply: Geoff Berrow: "Re: calling included remote functions"
- Reply: Oli Filth: "Re: calling included remote functions"
- Reply: Robin: "Re: calling included remote functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|