Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: PHP preloader

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default PHP preloader

    I was wondering if its possible for php and with or without ajax... It needs to be able to load these type of files:
    Code:
    .PNG  .JPG  .PHP  .HTML  .FLV  .SWF  .BMP  .JS  .HTM .GIF .JPEG .
    if is possible to do so big thanks... It needs to be able to display either upload speed and amount to upload... or the percentage of how much is uploaded. example below...
    Code:
    Loading...  %10.1
    Or
    Code:
    Loading... at 150Mbps 1500gb to load
    that would be a ton of stuff to load at that speed

    Thanks to anyone who helps... please note I do not know how to do this so its best to give me the whole entire code, I will give you credit off my site's contact page if you want to...

    Big Thanks to all who help!

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

  3. #3
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    K, i tried it, it only loads images, not other files like php...

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    i dont believe there is a way to "preload" another page... you create a script to load multiple pages at the same time, but i dont believe you can "pre-load" another page.. and I think it would take up too much bandwidth / RAM to be efficient

  5. #5
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    Quote Originally Posted by boogyman View Post
    i dont believe there is a way to "preload" another page...
    ok...
    Quote Originally Posted by boogyman View Post
    you create a script to load multiple pages at the same time, but i dont believe you can "pre-load" another page..
    Ok... I'm listening, or reading... how would I go about doing this...

  6. #6
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Hm, well, even on slow connections, you would never need to preload a page. Boogy's right, it would probably take more for the script than it was even needed for the page.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  7. #7
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    would uh, 1mb be enough for a preloader??? cuz thats pretty much how much stuff is this one page, and it takes 3-5 seconds to load off my hard drive, because its gotta load stuff from like 20 different places...

  8. #8
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    I see where you're confused...

    The 1mb size is not from the page...it's from the images/media on the page. Those individual pieces of media are what the preloader is for.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  9. #9
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    The page consists of 5 images a style sheet, and the blog
    Banner 174kb
    Corner Images total 757 bytes
    Css style sheet 4kb
    The page 3kb
    Then the blog *which is in a php include tag* its 2mb
    over 2mb all together
    I would for some how to load the blog its self or have some way of having a Please wait huge blog loading...

    That would be fantastic

  10. #10
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Why is the blog so big?
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

Bookmarks

Posting Permissions

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