Re: [PHP] Mime Mail problem

2012-03-28 Thread tamouse mailing lists
On Wed, Mar 28, 2012 at 3:53 PM, Alexis wrote: > Actually Fatih, I have also been playing around with the PEAR mimemail > option and have just got that to work, so will not be pursuing this problem > any further, but thank you very much for the time you spent helping me. > > Alexis > > > On 28/03/

Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
Actually Fatih, I have also been playing around with the PEAR mimemail option and have just got that to work, so will not be pursuing this problem any further, but thank you very much for the time you spent helping me. Alexis On 28/03/12 14:50, Fatih P. wrote: On Wed, Mar 28, 2012 at 11:44 P

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 11:44 PM, Alexis wrote: > If I insert the full stop after the \n then the output stops just before > the fullstop. > > Currently I have \r\n \r\n > That is a space between the two sets of \r\n's. I tried it without any > spaces and still got the same result. > > Would it

Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
If I insert the full stop after the \n then the output stops just before the fullstop. Currently I have \r\n \r\n That is a space between the two sets of \r\n's. I tried it without any spaces and still got the same result. Would it be better if I post the code that creates the headers? I avo

Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
Thanks Faith What exactly do you mean by 'Make sure the boundary is as it should be', please? Here is the full uncensored info, the data is not sensitive anyway, minus the initial standard email headers. Thanks Alexis MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="a528ff729471

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 9:26 PM, Alexis wrote: > I am hitting my head over a problem with Mime Mail...which i am hoping > some kind some can help me out on please > > The email is sent out fine and when viewing the source, appears to be > fine, however neither the body of the email, nor the attac

[PHP] MIME email = Content-ID in CSS not supported

2007-10-31 Thread Martin Zvarík
Hello, I am trying to send MIME type email with in message image attachments. It works OK when doing ...but it does not work in this style="background:url(cid:specialcode)"> I am trying to have fading background, is there any way I can achieve this without using IMG tag? Thank you, Mar

Re: [PHP] Mime Magic functions - how standard are they?

2007-10-03 Thread mike
On 10/3/07, Dave M G <[EMAIL PROTECTED]> wrote: > So, ultimately, what I'm wondering is, what should I be using in order > to determine file MIME types that will be the most commonly installed on > servers with PHP? I wrote something that does system("file -iNr $file") which gives you the applicat

[PHP] Mime Magic functions - how standard are they?

2007-10-03 Thread Dave M G
PHP List, I would like to set up a function within my system that can test a file that a user has uploaded and determine what kind of file it is. My intention is to only handle a fairly small number of common file types*, so I don't think I need to build anything too robust. Of course, I che

Re: [PHP] MIME type

2007-09-13 Thread Angelo Zanetti
GOt it working by adding the MIME type to the .htaccess file on the server. Angelo Zanetti wrote: Thanks heavyccasey Im not sure which comment you are referring to, perhaps this one? There are many posts. || [EMAIL PROTECTED] wrote: Look up readfile(); Make sure you read the comments.

Re: [PHP] MIME type

2007-09-12 Thread Angelo Zanetti
Thanks heavyccasey Im not sure which comment you are referring to, perhaps this one? There are many posts. || [EMAIL PROTECTED] wrote: Look up readfile(); Make sure you read the comments. On 9/11/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Hi guys. I am linking to a file on a WA

Re: [PHP] MIME type

2007-09-11 Thread heavyccasey
Look up readfile(); Make sure you read the comments. On 9/11/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > Hi guys. > > I am linking to a file on a WAP site. the backend is written in PHP. > However I need to link to a file but set the content type. I've done the > following and am wonderin

[PHP] MIME type

2007-09-11 Thread Angelo Zanetti
Hi guys. I am linking to a file on a WAP site. the backend is written in PHP. However I need to link to a file but set the content type. I've done the following and am wondering if this is correct: header('Content-Disposition: attachment; filename="../File/norEnglish.sis"'); ?> So bas

Re: [PHP] mime type over http post?

2007-05-19 Thread Ray
server (fsockopen) > 3. send the header (fputs) > 4. send the body (fputs) > 5. close the connection > > Additional Questions? > > Best Regards, > > Oliver > > P.S: I just know better where to look for information:-) > > - original Nachricht > &g

Re: [PHP] mime type over http post?

2007-05-16 Thread Oliver Block
Nachricht Betreff: [PHP] mime type over http post? Gesendet: Mi, 16. Mai 2007 Von: Ray<[EMAIL PROTECTED]> > Hello, > I'm trying to write a web-based aplication that talks to a third party > server. > I'm having a hard time getting support from from them. t

Re: [PHP] mime type over http post?

2007-05-16 Thread Tijnema !
On 5/16/07, Ray <[EMAIL PROTECTED]> wrote: On Wednesday 16 May 2007 11:12 am, Stephen wrote: > > I'm having a hard time getting support from from them. the method of > > comunication (direct quote from their docs is: > > "Data will be transferred to [server] via an HTTP POST operation using > > t

Re: [PHP] mime type over http post?

2007-05-16 Thread Ray
On Wednesday 16 May 2007 11:12 am, Stephen wrote: > > I'm having a hard time getting support from from them. the method of > > comunication (direct quote from their docs is: > > "Data will be transferred to [server] via an HTTP POST operation using > > the MIME type, text/xml" > > They want you to

Re: [PHP] mime type over http post?

2007-05-16 Thread Stephen
I'm having a hard time getting support from from them. the method of comunication (direct quote from their docs is: "Data will be transferred to [server] via an HTTP POST operation using the MIME type, text/xml" They want you to mimic what a browser would send to a web site when the user cl

[PHP] mime type over http post?

2007-05-16 Thread Ray
Hello, I'm trying to write a web-based aplication that talks to a third party server. I'm having a hard time getting support from from them. the method of comunication (direct quote from their docs is: "Data will be transferred to [server] via an HTTP POST operation using the MIME type, text/xml

Re: [PHP] mime with php4.4.4 does not work anymore

2006-12-30 Thread Rasmus Lerdorf
Roger Thomas wrote: > I have been serving my community with Invision Power Board (IPB) v1.3.1 > Final. Things are working well with PHP 4.3.8 and Apache 1.3.29. > > Yesterday I just upgraded to PHP4.4.4 and I have problems with Excel and Word > attachments with IPB. Whenever I click on those att

[PHP] mime with php4.4.4 does not work anymore

2006-12-29 Thread Roger Thomas
I have been serving my community with Invision Power Board (IPB) v1.3.1 Final. Things are working well with PHP 4.3.8 and Apache 1.3.29. Yesterday I just upgraded to PHP4.4.4 and I have problems with Excel and Word attachments with IPB. Whenever I click on those attachments, I will get all sort

Re: [PHP] MIME E-mail message

2005-12-15 Thread Oli Howson
I would imagine it would be significantly faster, and you must be doing some processing to extract the email body. I'll run some tests (when I can be bothered!) and post the results ;) Not sure exactly how accurate they'll be though, cos the IMAP routines won't let you retrieve just the whole me

Re: [PHP] MIME E-mail message

2005-12-15 Thread Richard Heyes
Oli Howson wrote: Than what? The imap extension is faster and has parsing functionality built in. True, but the parsing is to be done at a completely different time, and then imap extension can't be >that< much faster, when you consider that my method is doing very little processing, and basi

Re: [PHP] MIME E-mail message

2005-12-15 Thread Oli Howson
Than what? The imap extension is faster and has parsing functionality built in. True, but the parsing is to be done at a completely different time, and then imap extension can't be >that< much faster, when you consider that my method is doing very little processing, and basically getting the me

Re: [PHP] MIME E-mail message

2005-12-15 Thread Richard Heyes
Oli Howson wrote: I'm working on a private webmail (and other) system, and am struggling a little with MIME mails. I've got a script to save all the attachments, but the thing I can't figure out is how I decide which "part" is the main email message itself (and hence which to display). Oh and

[PHP] MIME E-mail message

2005-12-14 Thread Oli Howson
I'm working on a private webmail (and other) system, and am struggling a little with MIME mails. I've got a script to save all the attachments, but the thing I can't figure out is how I decide which "part" is the main email message itself (and hence which to display). Oh and cheers for the info

Re: [PHP] Mime-type handling

2005-12-09 Thread Manuel Vacelet
2005/12/9, Curt Zirzow <[EMAIL PROTECTED]>: > > On Thu, Dec 08, 2005 at 12:31:52PM +0100, Manuel Vacelet wrote: > > Hi all, > > > > I'm facing a bad behaviour of 'file' command used by fileinfo PECL > module > > (recommanded for mime-type checking): > > * Some Microsoft Excel documents are detected

Re: [PHP] Mime-type handling

2005-12-08 Thread Curt Zirzow
On Thu, Dec 08, 2005 at 12:31:52PM +0100, Manuel Vacelet wrote: > Hi all, > > I'm facing a bad behaviour of 'file' command used by fileinfo PECL module > (recommanded for mime-type checking): > * Some Microsoft Excel documents are detected as Microsoft Word documents > * Some HTML files are just t

Re: [PHP] Mime-type handling

2005-12-08 Thread Curt Zirzow
On Thu, Dec 08, 2005 at 02:41:43PM -0500, Zack Bloom wrote: > mime types are very unreliable and should never be used for file type > authentication (they can also be faked by users). Instead you could try > using the extension of the file or an identifying statement in the file. He isn't using t

Re: [PHP] Mime-type handling

2005-12-08 Thread Zack Bloom
mime types are very unreliable and should never be used for file type authentication (they can also be faked by users). Instead you could try using the extension of the file or an identifying statement in the file. On 12/8/05, Manuel Vacelet <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm facing a

[PHP] Mime-type handling

2005-12-08 Thread Manuel Vacelet
Hi all, I'm facing a bad behaviour of 'file' command used by fileinfo PECL module (recommanded for mime-type checking): * Some Microsoft Excel documents are detected as Microsoft Word documents * Some HTML files are just text/plain * ... I tested on multiple machines (with different version of fi

[PHP] mime magic & MS word docs

2005-06-13 Thread Rob Agar
hi all, I was just wondering if anyone has had any success using mime_magic to guess the content type of MS Word documents..? The extension works for gif's & jpeg's, but mime_content_type() returns "text/plain" for Word and Excel docs. I'm using php 5.0.4 on Windows, and the mime.magic file tha

Re: [PHP] MIME Types

2005-03-16 Thread Chris Ramsay
On Wed, 16 Mar 2005 11:01:29 -, Mikey <[EMAIL PROTECTED]> wrote: > Sunny mornings to you all! > > Does anyone on this NG know off of the top of their heads what the correct > MIME type is for a CSV file? What I've always used is: Content-type: application/octet-stream > > The closest I have

[PHP] MIME Types

2005-03-16 Thread Mikey
Sunny mornings to you all! Does anyone on this NG know off of the top of their heads what the correct MIME type is for a CSV file? The closest I have found on my google is the "application/msexcel" type, but this spawns Excel when viewing the file, and I do not want this behaviour. TIA, Mik

[PHP] Mime type and PECL::Fileinfo.

2004-08-29 Thread Dave Restall - System Administrator,,,
Hi, PHP 4.3.8, Apache 1.3.31, Debian/GNU Linux Is anybody using PECL extensions ? I want to let people upload data to a site I'm building and want to avoid using mime_content_type because from the manual :- "This extension has been deprecated as the PECL extension fileinfo provides the same fun

[PHP] MIME files decoding

2004-07-15 Thread C.F. Scheidecker Antunes
Hello all, In order to use pear mimedecode.php I have a few questions that were not answered by the documentation. I have emails that have .zip, .pdf, .txt and .csv files. Some emails have more than one attachment. I would like to have a php script to fetch these emails and save only those with

[PHP] mime::decode and multipart

2003-10-30 Thread Geoffrey Makstutis
Hi, Can someone explain how to extract the body information from a multipart/mixed part of a mime encoded mail using Pear's mime::decode class? I can get everything else, but when part is defined as multipart/mixed it does not have a body because there are more than one part. I assume that I h

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
Chris Boget wrote: How do you intend on using that information? Typically the mime types are set up in one of apache's .conf files. The same file you set up the PHP extension, if I remember correctly. The actual use involves handling file uploads. The uploaded files must be moved to a permanent

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Chris Boget
> Is there any facility that will help one map a MIME-type to a file > extension or extensions? E.g. 'image/jpeg' should map to ('jpg', > 'jpeg'), 'image/gif' should map to ('gif') and so on. Client side or server side? If the latter, what webserver are you running? More information is definite

[PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
Hello. Is there any facility that will help one map a MIME-type to a file extension or extensions? E.g. 'image/jpeg' should map to ('jpg', 'jpeg'), 'image/gif' should map to ('gif') and so on. Thank you, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
Chris Boget wrote: Client side or server side? If the latter, what webserver are you running? Server side and I am running Apache 1.3.27. I preferably would like to know whether PHP offers such facility, but alternative solutions are welcome as well. More information is definitely needed and it

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Chris Boget
> > Client side or server side? If the latter, what webserver are you > > running? > Server side and I am running Apache 1.3.27. I preferably would like to > know whether PHP offers such facility, but alternative solutions are > welcome as well. > > More information is definitely needed and it us

[PHP] MIME Mail Problem with Netscape

2003-08-10 Thread Hendry J
Hi all, I'm having problem sending MIME Mail using PHP (SMTP) to netscape.net emails, it didn't display the content of html, (although i've filled the content-type with text/html), instead, it display the garbled text. I've tried to encode the message with 7bit and base64 encoding, but those don

[PHP] MIME decoder for use as the target of an Alias?

2003-07-21 Thread Larry Rosenman
I've got a strange request, maybe one of the experts here can help? I need to be able to take a mail message on stdin, bust it up into headers, and the constituent mime-parts if any, and be able to parse the headers, and get at any text/plain (or only) part, and shove the headers and text/plain

[PHP] mime type

2003-06-27 Thread Brian V Bonini
I want to get php to output text/css for one .php file. I tried using header() and ini_set () but seems no matter what I do the Content-type remains text/html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using a PHP mime email attachment

2003-02-24 Thread Steve Jackson
My problem is that I am trying to send a PDF file from my server after someone has registered for it. The email message, correct attachment name and even file type arrive correctly but the file is only 73Bytes and when you try to open it I get a read error. Can anyone see what is wrong? // send an

[PHP] MIME help needed please...

2003-02-23 Thread Shawn McKenzie
I got this from the user contributed notes in the php.net manual. It seems to work fine most of the time, but Eudora and Pegasus users either get mangled attachments or no attachments. Can anyone see a problem (most files are zip, but sometimes tar.gz or sit) I tried using Content-Type: applicati

Re: [PHP] MIME Decoding Class

2003-02-08 Thread Hatem Ben
http://sourceforge.net/projects/phpmimeclass "Jonathan Chum" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > I'm looking through Google for MIME decoding classes, one developed by > Richard Heyes used in Pear and a few others. What I'm curious is how > complete are these

[PHP] MIME Decoding Class

2003-02-08 Thread Jonathan Chum
I'm looking through Google for MIME decoding classes, one developed by Richard Heyes used in Pear and a few others. What I'm curious is how complete are these classes or if there is one you recommend that completely decodes emails from Outlook, Hotmail, Eudora, etc. based emails. I've looked at so

[PHP] MIME email...

2003-01-16 Thread Brian McGarvie
All, I have a problem sending Multipart - MIME (plaintext + html) email $bodyPlaintext = " (PLAINTEXT)"; $bodyHTML = " (HTML CODE)"; $headers = ""; $headers .= "From: [EMAIL PROTECTED]\r\n"; $headers .= "Reply-To: [EMAIL PROTECTED]\r\n"; $headers .= "X-Mailer: PHP " . phpversion(); $

[PHP] Mime Types

2002-10-03 Thread PHP List
Hi, Is it possible to get a mime type of a file? I need to be able to attach files, but I won't always know the mime type of what is being attached. I could look at the extension of the file for a general Idea, but I wouldn't know if a .jpg file is an image/jpg or image/jpeg.(progressive) and t

Re: [PHP] mime type list

2002-09-30 Thread christian haines
cheers for that... that listing should do the trick it was right under my nose as usual also thanks for your reply in my other post christian Marek Kilimajer wrote: > I know about /etc/mime.types, does that help? > > christian haines wrote: > > >hi all, > > > >i have been looking around on

Re: [PHP] mime type list

2002-09-30 Thread Marek Kilimajer
I know about /etc/mime.types, does that help? christian haines wrote: >hi all, > >i have been looking around on the net for a relatively complete >mime-type listing (possibly showing extensions) but have not come across >anything. >does anyone know of such a list or where i could obtain one? > >

[PHP] mime type list

2002-09-30 Thread christian haines
hi all, i have been looking around on the net for a relatively complete mime-type listing (possibly showing extensions) but have not come across anything. does anyone know of such a list or where i could obtain one? who looks after such a list might be a better question. many thanks christian

[PHP] Mime Decoder

2002-08-28 Thread Santosh Pasi
Hi All, I am looking for Mail Mime Decoder tutorial or guide. Does any have any idea how to decode mail (for example torture mail) or OE mail with multipart/mixed Content Type. I tried Richard Heyes' mimeDecode, but actually don't know how to proceed further. Regards, Santosh Pasi -- PHP

Re: [PHP] Mime types?

2002-08-21 Thread Justin French
Generally looking your browser preferences is a great help. For IE mac it's known as "helper applications", and lists what IE should do with each mime type. Justin French on 22/08/02 7:17 AM, Wm ([EMAIL PROTECTED]) wrote: > Is there a resource somewhere that would show what the various MIME

Re: [PHP] Mime types?

2002-08-21 Thread Matt
From: "Wm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 5:17 PM Subject: [PHP] Mime types? > Is there a resource somewhere that would show what the various MIME types > are? For a file upload page, I want to include .TIF, .AI, .PSD

[PHP] Mime types?

2002-08-21 Thread Wm
Is there a resource somewhere that would show what the various MIME types are? For a file upload page, I want to include .TIF, .AI, .PSD, etc., in addition to the "standard" GIF and JPG types... Thanx, Wm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] RESOLVED --> RE: [PHP] Mime type prepeded at file upload

2002-03-25 Thread David McInnis
, 2002 11:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Mime type prepeded at file upload When I save a file that has been uploaded through PHP it prepends (adds to the beginning of the file) the mime type. This renders the file unusable when it is downloaded as MS Word cannot open the file and tries

RE: [PHP] Mime type prepeded at file upload

2002-03-25 Thread Miguel Cruz
> issue in PHP. I gather that is taken care of in later releases. > > > David McInnis > > -Original Message- > From: Miguel Cruz [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 3:47 PM > To: David McInnis > Cc: [EMAIL PROTECTED] > Subject: Re

RE: [PHP] Mime type prepeded at file upload

2002-03-25 Thread David McInnis
PROTECTED] Subject: Re: [PHP] Mime type prepeded at file upload On Mon, 25 Mar 2002, David McInnis wrote: > When I save a file that has been uploaded through PHP it prepends (adds > to the beginning of the file) the mime type. This renders the file > unusable when it is downloaded as MS Word ca

Re: [PHP] Mime type prepeded at file upload

2002-03-25 Thread Miguel Cruz
On Mon, 25 Mar 2002, David McInnis wrote: > When I save a file that has been uploaded through PHP it prepends (adds > to the beginning of the file) the mime type. This renders the file > unusable when it is downloaded as MS Word cannot open the file and tries > to install some kind of converter.

[PHP] Mime type prepeded at file upload

2002-03-25 Thread David McInnis
When I save a file that has been uploaded through PHP it prepends (adds to the beginning of the file) the mime type. This renders the file unusable when it is downloaded as MS Word cannot open the file and tries to install some kind of converter. Any ideas for me? David McInnis -- PHP Genera

RE: [PHP] mime emails

2002-02-08 Thread Jerry Verhoef (UGBI)
http://php.resourceindex.com/detail/00896.html GOOGLE is the ultimate programmers tool. And i used this some time ago... :) > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 9:23 AM > To: php-list > Subject: [P

[PHP] mime emails

2002-02-08 Thread Kunal Jhunjhunwala
hey.. does anyone know of any good classes / functions for handling mime emails? i am writing a mail checker, and was wondering if there are any pre-written mime email handling classes out there... thanks! Regards, Kunal Jhunjhunwala "Minds think with ideas, not information. No amount of data, ba

[PHP] MIME format

2001-11-11 Thread jtjohnston
Can someone help? I'm trying to figure out how to attach my image.png that I create on the fly. This would work if I had mime text. What's wrong with this? How do I conver $image to mime format or ... how shlould I approach this problem? -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Mime attachment woes with MSWord doc......

2001-09-05 Thread poi poi
OK, I know that everyone on the planet (well almost) has asked this question, but NONE of the answers I found ACTUALLY answer my problem, and I've scoured the web for two days. I can SUCCESSFULLY attach images, plain text, binaries, etc to a mime email, and transmit and recieve them. _however

Re: [PHP] mime types

2001-08-21 Thread Evan Nemerson
Making a web based proxy server. On Tuesday 21 August 2001 01:08, you wrote: > On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: > > Well, I hope nobody will ever have to do what I just did, so here you go. > > I got them from the apache/conf/mime.types > > > > Have fun! > > > > > > > > $extension

Re: [PHP] mime types

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: > Well, I hope nobody will ever have to do what I just did, so here you go. I > got them from the apache/conf/mime.types > > Have fun! > > > > $extensions = Array( "ez" => "application/andrew-inset", What are you using them for Evan? Brad -- PH

[PHP] mime types

2001-08-21 Thread Evan Nemerson
Well, I hope nobody will ever have to do what I just did, so here you go. I got them from the apache/conf/mime.types Have fun! $extensions = Array("ez" => "application/andrew-inset", "hqx" => "application/mac-binhex40", "cpt" => "application

[PHP] mime types & file uploads

2001-07-18 Thread Carolyn Campbell
I have a strange problem. When I upload files, the mime-type gets appended to the top of the file, so if I upload a text file Content-Type: text/plain is appended to the top. It's causing images to break. Has anyone had similar problems? --

RE: [PHP] MIME type

2001-06-27 Thread scott [gts]
MSIE pretty much throws away any header information about a file that the server sends and tries to make a determination itself about the file based on the file extension > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] MIME type

Re: [PHP] MIME type

2001-06-27 Thread teo
Hi Jon! On Sat, 26 May 2001, Jon Yaggie wrote: > is there a function to get the mime of a given file? if so what? > unless you upload it, nope you may try : using `magic' -- really, that one installed by Apache for mod_mime_magic.c parsing 'file' output -- teodor -- PHP General Mai

Re: [PHP] MIME type

2001-06-27 Thread Richard Lynch
> is there a function to get the mime of a given file? if so what? Probably not... For starters, PHP doesn't really know much about mime-types, because they are defined by Apache*, not PHP. Secondly, mime-types *can* change on the fly in different directories based on .htaccess files, if your

[PHP] MIME type

2001-06-26 Thread Jon Yaggie
is there a function to get the mime of a given file?  if so what?         Thank You, Jon Yaggiewww.design-monster.com And they were singing . . .  '100 little bugs in the code100 bugs in the codefix one bug, compile it again101 little bugs in the code 101 little bugs in the code . . .' And i

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Mark Wrote: >Take a look at my project: http://www.webgadgets.com/phpost >It's a webmail app but it includes code to fully parse MIME messages, >including quoted printable encoding, etc. It uses no third party >libraries or classes, only functions that are native to PHP. >I am about to release

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread mark
"Jeroen Geusebroek" <[EMAIL PROTECTED]> wrote: > The reason i need this, is because i am creating a message archive similair > to Geocrawler and MARC and it's quite irratating to not be able to decode > messages > when they are mime encoded. Take a look at my project: http://www.webgadgets.com/p

[PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Hi Guys, I've been struggeling with this for a while but can't seem to find any code that will decode a string MIME encoded. I found one class but it also didn't do what i want. Coding this myself is probably WAY above my head ;P ie. i have this string: --=_NextPart_000_002D_01C0DBE5.49F28

[PHP] mime

2001-04-21 Thread Martin Oust
is there any function to convert the body of a e-mail-massege from mime like you do with the imap_mime_header_decode() ??? -- 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 adminis

Re: [PHP] Mime type

2001-04-04 Thread Knut H. Hassel Nielsen
On Wed, 4 Apr 2001, phpa wrote: > Hey there, > > anybody know where a list of mime type names can be found? I can generate and Excel >doc - but I dont know the mime names of others such as Word etc etc. > > example code: > > Thanks > > > > > > header( "Content-type: application/vnd.ms-excel" )

[PHP] Mime type

2001-04-04 Thread phpa
Hey there, anybody know where a list of mime type names can be found? I can generate and Excel doc - but I dont know the mime names of others such as Word etc etc. example code: Thanks 123 123 123 10 10 10

[PHP] mime mail class (Sascha & Tobias) - msWORD doc attachment not working

2001-03-19 Thread Jen Hall
Hi there I am trying to get the scriplet code from http://www.phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3 to work for a website I'm building. I am trying to allow a user to select a file from their hard drive, and then have that file sent as an email attachment. Most of the time tha

Re: [PHP] MIME and headers

2001-03-18 Thread Manuel Lemos
Hello Peter, On 06-Mar-01 21:11:00, you wrote: >Can some one please tell me what the relationship between mime and email >headers is I have not been able to find a straight answer off the net >..so if any one knows of a good site can you please give me the url so i can >look at it .. thanks

Re: [PHP] MIME and headers

2001-03-06 Thread David Robley
On Wed, 7 Mar 2001 10:46, Peter Houchin wrote: > > Can some one please tell me what the relationship between mime and > email headers is I have not been able to find a straight answer off > the net ..so if any one knows of a good site can you please give me the > url so i can look at it .. t

[PHP] MIME and headers

2001-03-06 Thread Peter Houchin
Can some one please tell me what the relationship between mime and email headers is I have not been able to find a straight answer off the net ..so if any one knows of a good site can you please give me the url so i can look at it .. thanks Peter Houchin Sun Rentals [EMAIL PROTECTED]

Re: [PHP] MIME type detection on file

2001-02-22 Thread Chris Lee
when your uploading a file php will create three variables, $db_file $db_file_name $db_file_type $db_file_type should have the mime/type. now should does NOT mean will. some browsers (I dont have a list) will not send the correct type at all. you can use linux's file command [lee@server str

[PHP] MIME type detection on file

2001-02-21 Thread Andris Jancevskis
Hi, is there suggestions how to determine what mime type is file? for example: .word -> application/wnd-word .pdf -> application/pdf Files are on local disk. Not accessible from web server. I'm interesting to determine it on linux (Apache) and win32(IIS 4.0) platforms. TIA, --

Re: Re[2]: [PHP] MIME type detection on file

2001-02-21 Thread Chris Lee
I use this to allow a user to download a pdf, most browser want to view it in the browser, I wanted them to be able to save the file, not view / run it. Is this what your looking for ? -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120

Re[2]: [PHP] MIME type detection on file

2001-02-21 Thread Andris Jancevskis
My files are outside web server. These files can not be accessible from http://, but anly user running web pages (nobody or IUSR_) have access. This limitation is to secure user files. My primary target is to deliver files to user using web browser. If I use require() or insert it is not poss