So u mean like this?
<?php include('http://192.168.129.103/noc/chikkaps.txt'); ?> Only?, Im not good with this, can you give me some samples? thanks, louie... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "louie miranda" <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 5:41 PM Subject: Re: [PHP] Including a file using php // > > I don't think you can return a value like this. > You should either define a function within your include which could be called from your page > or set a variable within your include that contains the result, this variable will be available as if > the include() statement was replace by the code in your include. > > bvr. > > > On Tue, 15 Jan 2002 17:32:14 +0800, louie miranda wrote: > > >Hi, I was trying to include a url file on another server but could't make > >this to work. > >It displays nothing actually.. > > > > > ><?php > >$retvalue = include('http://192.168.129.103/noc/chikkaps.txt'); > >echo $retvalue; > >?> > > > > > > > >Can someone help me please? > > > > > >thanks, > >louie... > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]