This may be a curl question, but it may not.... I have a script through which I'm trying to push all images. The push happens using mod_rewrite:
RewriteRule ^/(.+\.(gif|jpg|jpeg|png))(\?.*)?\$ /inc/script.php?f=$1 [NC,L,PT] Oddly, when hitting the script from a command line, I get different results depending on how it's called: > curl -D- http://hostname/test.jpg | grep Content- Content-Type: text/html > curl -I http://hostname/test.jpg | grep Content- Content-Type: image/jpeg What's going on here? -- Paul Chvostek <[EMAIL PROTECTED]> Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php