comunication browser-server server-browser "inlive"
Moderator: General Moderators
- visonardo
- Forum Contributor
- Posts: 136
- Joined: Mon Oct 02, 2006 7:49 pm
- Location: Argentina, South America´s Sun.
comunication browser-server server-browser "inlive"
i has been see the classic "preloading bar". I want to know if i can do some thus with php and javascript only. understand? for example when an user upload something to the server the classic preloading bar that is made with javascript and cgi generally but i would like with php. can I (and how) do it?
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
PHP doesn't get enough information from the post request to be able to calculate it. Anyway, I used Google.com, an up and coming data mining service, and found this little hack. Uses Ajax to call a PHP script that reports the size of the file being uploaded in the temp directory.