Hello,
First post to PHP.
How would I go about gzipping my files to reduce the download. Is it a dynamic server process, or do I have to upload them gzipped myself. In the dark.
![]()
Hello,
First post to PHP.
How would I go about gzipping my files to reduce the download. Is it a dynamic server process, or do I have to upload them gzipped myself. In the dark.
![]()
Just install and enable mod_gzip on your (Apache) server.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
lol - you changed my title.....
![]()
In my defencce there are ways to do this with PHP if mod_gzip is installed and you don't have access to the server (ie hosted account)
There are many options if you search google with "php gzip", but I'm still waiting on the reply from my hosts if they have mod_gzip installed. My host doesn't seem to gzip their own pages, so I'm guessing they're looking in to it, or wondering how to tell me to 'get lost'.
I like the suggestion on the ilovejackdaniels website (from google search) about using htaccess to prepend php files so all .php are automatically compressed.
Bookmarks