Hi all,
First I had a problem that text from a textarea form object passed to mail()
ended up as a single line of text in MS Outlook.
I changed the newlines to newlines _with_ carriage returns:
strtr($mailbody, "\n", "\r\n");
Now it's not a single line of text but every newline skips an extra li
> > I read the mail fine in my hotmail.com account, but when I read
> that same
> > mail in my MS Outlook client the mail is one long line of text:
> > "this is line 1 this is line 2 this the 3rd etc etc"
> >
> > I understand from this difference in layout that the 'carriage
> return' is
> > requi
Hi all,
I'm trying to make a demonstration script (using PHP) that demonstrates the
use of MIME types in HTTP headers. It should send the Content-Type header
and than sends an image to the browser in hex.
I run the script in my browser and get the bare decimal values displayed and
not the GIF ima
no offense for anyone at all. I was just wondering myself and threw it in
the group discussion.
Eelco.
> I never wanted this question to be an offense for anyone. I thank you all
> for your answers.
>
> Regards
> PHPLover
>
> Lux <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA
> > In case of login/password required sites, I use the login and
> password as
> > cookie values and have _no_ expiredate set. Every time a request is made
> > _both_ cookie values (login and password) are checked with that on the
> > server.
>
> I would hope that you are not storing and matching
This will store a cookie with a userid and an unique number ($token) as
session-id (??).
If I'm not mistaken, this session-id is not checked here. Thus serves no
purose. Anybody who retrieve the cookie from the cookie file on the system
can use it to resume the session (if done within the set 360
It doesn't have a use in only PHP but in all programming languages.
It's a math thing .. u can get a remainder of a division.
10%8 = 2
12%8 = 4
10%5 = 0
12%5 = 2
Simple application:
$ppl = 23;
$grpsize = 7;
echo ("when $ppl people are divided over groups of $grpsize, ".
$ppl%$grpsize ." people a
Hello,
I'm trying to use some POP3 functions and the manual states I would need to
use the IMAP functions.
So I uncommented the ";extension=php_imap4r2.dll" line in my
"c:\winnt\php.ini" file. But it gave me the following error:
"Unable to load dynamic library './php_imap4r2.dll' - The specified
8 matches
Mail list logo