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 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 you wanna read the content of the file you have to use the fopen and > fread functions, see the manual section "filesystem functions". > > > HTH, > Henning > > -- 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]