RE: [PHP] Read a file, extract and echo some information

2003-10-21 Thread Chris W. Parker
PHP Webmaster on Tuesday, October 21, 2003 4:17 AM said: > The required file will be changing all the time, that's why I want > to set the title in the individual pages and get the main page to > read that information. in that case let me revise my original code.

Re: [PHP] Read a file, extract and echo some information

2003-10-21 Thread PHP Webmaster
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] PHP Webmaster on Monday, October 20, 2003 4:36 PM said: > As you can see, the above code will not work as the $title variable > has not been set yet. So, I need a way of opening up the hom

RE: [PHP] Read a file, extract and echo some information

2003-10-20 Thread Chris W. Parker
PHP Webmaster on Monday, October 20, 2003 4:36 PM said: > As you can see, the above code will not work as the $title variable > has not been set yet. So, I need a way of opening up the home.php > file, extracting the line containing the $title variable and putting >

[PHP] Read a file, extract and echo some information

2003-10-20 Thread PHP Webmaster
Hi all, I have a little dilemma on my hands that I can't seem to solve. Iv'e looked through the PHP Manual at the fread(), fgets(), fopen(), file() etc functions which I beleive are capabile of what I want to do, but I just can't seem to peice it all together. Anyway, the following code is inside

RE: [PHP] Read a file

2003-07-08 Thread Ralph Guzman
You might want to look at patConfiguration: http://www.php-tools.de/ It can read/write text and xml files. -Original Message- From: carlos castillo [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 8:53 AM To: 'PHP List' Subject: RE: [PHP] Read a file But them how

RE: Re[2]: [PHP] Read a file

2003-07-08 Thread Adam Voigt
___ > > > -Mensaje original- > De: Burhan Khalid [mailto:[EMAIL PROTECTED] > Enviado el: martes, 08 de julio de 2003 11:03 > Para: carlos castillo; [EMAIL PROTECTED] > Asunto: Re[2]: [PHP] Read a file > > On Tuesday, July 8, 2003, 6:52:56 PM, carlos wrote: &g

RE: Re[2]: [PHP] Read a file

2003-07-08 Thread carlos castillo
para redes - Licenciamiento de Software - Asesoría y Soporte Técnico -Mensaje original- De: Burhan Khalid [mailto:[EMAIL PROTECTED] Enviado el: martes, 08 de julio de 2003 11:03 Para: carlos castillo; [EMAIL PROTECTED] Asunto: Re[2]: [PHP] Read a file

Re[2]: [PHP] Read a file

2003-07-08 Thread Burhan Khalid
On Tuesday, July 8, 2003, 6:52:56 PM, carlos wrote: cc> But them how i can look for the tag i need if i have the file in an cc> array, i need to read an xml file and extract the info between tags cc> and . Well, I wish you would have said that earlier. Parsing XML files is different than par

RE: [PHP] Read a file

2003-07-08 Thread Dan Anderson
- Soluciones web para Internet e Intranet > - Soluciones para redes > - Licenciamiento de Software > - Asesoría y Soporte Técnico > > > > -Mensaje original- > De: Burhan Khalid [mailto:[EMAIL PROTECTED] > Enviado el: martes

Fwd: Re: [PHP] Read a file

2003-07-08 Thread Burhan Khalid
This is a forwarded message From: Burhan Khalid <[EMAIL PROTECTED]> To: Carlos Castillo <[EMAIL PROTECTED]> Date: Tuesday, July 8, 2003, 6:14:45 PM Subject: [PHP] Read a file ===8<==Original message text=== On Tuesday, July 8, 2003, 6:08:20 PM, Carlos wrote

RE: [PHP] Read a file

2003-07-08 Thread carlos castillo
Khalid [mailto:[EMAIL PROTECTED] Enviado el: martes, 08 de julio de 2003 10:15 Para: Carlos Castillo Asunto: Re: [PHP] Read a file On Tuesday, July 8, 2003, 6:08:20 PM, Carlos wrote: CC> I need to read a whole file and then look for an info on it, i want to know CC> with which function is

[PHP] Read a file

2003-07-08 Thread Carlos Castillo
  Hi,   I need to read a whole file and then look for an info on it, i want to know with which function is better, fopen(), fpasstrhu()...fseek()   Thanks,   Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectiv

[PHP] Read a file and scroll it?

2003-07-07 Thread Dave Carrera
Hi All I know that some level of JS will be needed for this but how can I do this. 1) I have a script that writes to a file. All ok there ;-) 2) I want to load this contents of the file, line by line, so that it scrolls upwards. So how can I do that. What JS would I need and how do I read the f