Re: [PHP] Including a file using php //

2002-01-15 Thread Henning Sprang
louie miranda wrote: > Read the content > I mean, echo it on the browser.. if you send a piece of code that supposedly doesn't do what you want I can't go and read the code to find out what you _really_ want to do. if the code did what you wanted you didn't need to send it. so it is useful fo

Re: [PHP] Including a file using php //

2002-01-15 Thread louie miranda
Read the content I mean, echo it on the browser.. - Original Message - From: "Henning Sprang" <[EMAIL PROTECTED]> To: "louie miranda" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 6:32 PM S

Re: [PHP] Including a file using php //

2002-01-15 Thread Henning Sprang
louie miranda wrote: > So u mean like this? > > > include('http://192.168.129.103/noc/chikkaps.txt'); > ?> > > > Only?, Im not good with this, can you give me some samples? do you want to include the code in that file or read the content? include is used to include code for execution, if

Re: [PHP] Including a file using php //

2002-01-15 Thread louie miranda
> 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 in

Re: [PHP] Including a file using php //

2002-01-15 Thread [EMAIL PROTECTED]
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 y

[PHP] Including a file using php //

2002-01-15 Thread louie miranda
Hi, I was trying to include a url file on another server but could't make this to work. It displays nothing actually.. 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 unsubscri