Hello all,
I've a bunch of PHP program that heavily depends
on remote services via fopen("http://...",...) costruct.
Now I've installed mod_gzip on the remote server
and so if I can specify "Accept-Encoding: gzip,deflate" in
my http header request, I can have a (much) smaller network traffic.
My question: how can I specify a custom HTTP header
in the fopen("http://...",...) function ???
Any help will be highly appreciated.
TIA
/gp
--
"anyone can create a cryptography product that he himself cannot break."
Bruce Schneier
"If you don't know the things, study them."
g.p.
"But writing non-free software is another matter. Non-free software is
a plan for subjugating and dividing the people who use it--an
antisocial practice. Our goal is to bring that practice to a halt."
Richard Stallman
Gian Paolo Ciceri via B.Diotti 45 - 20153 Milano MI ITALY
CTO @ Louise mobile : ++39 348 3658272
eMail : [EMAIL PROTECTED],
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]