Re: [PHP] Can php read and than print file like it is

2001-04-03 Thread Christian Reiniger
On Monday 02 April 2001 18:37, you wrote: Thank You Steve! Here is my php ? $fillista = "fillista.xml"; $fp = @fopen($fillista,r); $count = fgets($fp,filesize($fillista)); use fread () -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small

Re: [PHP] Can php read and than print file like it is

2001-04-03 Thread Daniel B I
try readfile() Daniel BI -- 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] Can php read and than print file like it is

2001-04-02 Thread Jan Grafström
Hi! I have a file with text on 17 rows and when I let php read it ,get filezise and than print I only get the first row. I want all rows exatly like it is in the file, is it possible? My file: html head title/title /head body some rows here /body /html Thanks in advance for all help I can

Re: [PHP] Can php read and than print file like it is

2001-04-02 Thread Steve Werby
"Jan Grafstrm" [EMAIL PROTECTED] wrote: I have a file with text on 17 rows and when I let php read it ,get filezise and than print I only get the first row. I want all rows exatly like it is in the file, is it possible? My file: html head Yes, it's possible. Post your code so we can see

Re: [PHP] Can php read and than print file like it is

2001-04-02 Thread Steve Werby
"Jan Grafstrm" [EMAIL PROTECTED] wrote: Thank You Steve! Here is my php ? $fillista = "fillista.xml"; $fp = @fopen($fillista,r); $count = fgets($fp,filesize($fillista)); fclose($fp); print "fillista=".$count; ? Your call to fgets() is only returning the first line of the