Hello, I'm new in php development... I was wondering how can I attach a Word
(.doc) Document in an email sent with the mail() function (if I can do it
just with it).
I know it has to see with the additional headers of the email, but I would
be grateful If anyone could tell where can i go to for t
ot;\n";
> $body .= "Content-Transfer-Encoding: base64\n";
> $body .= "Content-disposition: attachment; filename=\"attach.pdf\"\n\n";
> $enc_pdf = chunk_split(base64_encode($buffer));
> $body .= $enc_pdf . "\n"; }
> $body .= "--Message-Bound
I guess thist must be really silly... but how can I append text to the
beginning of a file ???
I've been trying since a while... but all I get is overwriting !.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I already seen it... I used "r+" and "aw".
I saw and example in www.php.net, in the fopen function description, but it
is incomplete...
this is taking me hours !!!.
Well, if I can preappend... how can I read, for example, the first 8 chars
of the last line I inserted ?. They have no fixed length.
; escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 21 Mar 2002, Mauricio Sthandier wrote:
> > I guess thist must be really silly... but how can I append text to the
> > beginning of a file ???
> > I've been trying since a while... but all
-----
It does works... sounds amazing after this hours... helps everybody, you are
fine people !!!
"Miguel Cruz" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 21 Mar 2002, Mauricio Sthandier wrot
Hi... i'm trying to authenticate users in my pages. But every time it gives
me a different session_id ! And I can't use my previously registered
variables...
I started sessions with this code :
session_start()
Does anybody have a Session section of the php.ini working on Windows 2000 ?
I'm not able to make my session persistent along pages... perhaps a bad
configuration of IIS ?
Should I move to Linux ? :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
I have the same problem... I thought it was for a different reason... If you
got a solution please email me !!!
"Bob" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 1.php?2.php
> session_start();
I couldn't get my site working por two days... and finally I discover the
reason.
I copied (I guess for developing testing reason) php.ini into the site
folder...
so I discover I can have different php.ini in every virtual directory... and
I find it damn good !.
is so for each webserver ? (current
10 matches
Mail list logo