View Full Version : PHP preloader
Rockonmetal
09-03-2007, 07:47 PM
I was wondering if its possible for php and with or without ajax... It needs to be able to load these type of files:
.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...
Loading... %10.1
Or
Loading... at 150Mbps 1500gb to load
:D 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!
boogyman
09-03-2007, 08:01 PM
check out
http://www.dynamicdrive.com/dynamicindex4/preloadimage.htm
Rockonmetal
09-03-2007, 08:07 PM
K, i tried it, it only loads images, not other files like php...
boogyman
09-03-2007, 08:29 PM
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
Rockonmetal
09-03-2007, 08:33 PM
i dont believe there is a way to "preload" another page...
ok...
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...
alexjewell
09-03-2007, 11:54 PM
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.
Rockonmetal
09-04-2007, 12:00 AM
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...
alexjewell
09-04-2007, 12:04 AM
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.
Rockonmetal
09-04-2007, 12:23 AM
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
alexjewell
09-04-2007, 12:50 AM
Why is the blog so big?
Rockonmetal
09-04-2007, 12:59 AM
The articals are so big plus its also a comments from people... Each entry is like 100kb cuz we only put one every month, and we only got 10 of them... lol, over 1000 people per entry have posted... and it takes like 2-20 seconds to load the entire thing...
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.