Thread: PHP Filesize

    #1
  1. No Profile Picture
    bugi
    Guest
    Devshed Newbie (0 - 499 posts)

    I have tried a LOT to find out a way to get filesize of some page.

    For example if i want to have filesize of http://foo.bar.com/index.html, what i have to do?

    Also is it possible to get that last-modified-stamp of that file?

    I would love to have any help for this!!

    ------------------

    .bugi
  2. #2
  3. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    First place you should look is PHP docs:
    http://www.php.net/manual/function.filesize.php3

    Use of the function is pretty straightforward.

    You'll also find your second question answered in there:
    http://www.php.net/manual/function.filemtime.php3

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 10:45 PM
  2. How to see the Memory used by a PHP script?
    By Pardall in forum PHP Development
    Replies: 4
    Last Post: February 13th, 2004, 03:54 PM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  4. Passing string from PHP to Javascript
    By ka8oad in forum JavaScript Development
    Replies: 4
    Last Post: January 17th, 2004, 03:12 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo