cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Set mime type for uploaded files

From: Petreanu Sebastian <sebi_petreanu_at_yahoo.com>
Date: Thu, 12 Apr 2007 03:19:08 -0700 (PDT)

Hello,

I'm want to upload video files to some servers. The problem is that I can't change the mime type for the file selected. If I choose a .wmv or .mpg file the same mime type will be used: application/octet-stream.

I know I can set the mime type using the command tool. But how can I change this mime type in PHP?

Thank you,
Sebi

      Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. http://mobile.yahoo.com/mail

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-04-12