Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2003
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    READFILE Question

    I am using the readfile function to read date from a file and format into a table.
    The only problem I have is that it also
    prints the total number of bytes in the file at the end.. Dont want it how can I get rid of it. Thanks in Advance

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't call it through echo/print, just invoke the function

    PHP Code:
    readfile('file.ext'); 

  • #3
    New Coder
    Join Date
    Jan 2003
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Readfile

    Thanks mordred, just tried it and it
    took care of my problem. I was calling it from Print.......

    Once again thanks.............


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •