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/
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
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
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
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
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
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
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 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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
> > 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
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
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
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
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
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
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
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
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();
$
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
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
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?
>
>
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
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
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
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
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
, 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
> 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
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
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.
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
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
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
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
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
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
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
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
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?
--
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
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
> 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
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
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
"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
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
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
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" )
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
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
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
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
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]
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
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,
--
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
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
89 matches
Mail list logo