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
, 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
louie miranda wrote:
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?
do you want to include the code in that file or read the content?
include is used to include code for execution,
if
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
Subject: Re: [PHP] Including a file using php //
louie
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 for
5 matches
Mail list logo