php-windows Digest 9 Apr 2002 08:01:14 -0000 Issue 1084

Topics (messages 12968 through 12978):

problems with imap_mail()
        12968 by: Jeff Vandenberg

Rounding
        12969 by: Wayne Hinch
        12971 by: Ross Fleming
        12974 by: Mike Flynn
        12978 by: Ross Fleming

Re: mail() with attachments
        12970 by: George Pitcher
        12975 by: Mike Flynn

Re: whois servers
        12972 by: Piotr Pluciennik
        12973 by: Piotr Pluciennik

Re: Session Destroy with IE6
        12976 by: Webmaster

Re: Cookies and IIS5
        12977 by: Steve Yates

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I'm having problems trying to get the imap_mail() function working. I have
the imap dll extention loaded up, and all of the other imap functions work
just fine.. open, close, check, popen, etc.  But when i try to use
imap_mail, one of the more important functions, it spits out at me.
"Warning: imap_mail() is not supported in this PHP build in c:\program
files\apache group\apache\htdocs\test.php on line 20
"

I'm running php 4.1.1 as a module for apache 1.3.22 on a win2k pro box.

I've tried to use the regular mail(), but that's been giving me problems as
well, but of a different sort, which I can work around, but would like to
get the imap functions working so that I can make a couple of other scripts.

Jeff

--- End Message ---
--- Begin Message ---
Hi all,
 
Is it possible to round to 2 decimal places in PHP without having to
push the data into mysql and out again?
 
Cheers,
 
Wayne
--- End Message ---
--- Begin Message ---
Multiply by 100, take the absolute value and divide by 100 again

-----Original Message-----
From: Wayne Hinch [mailto:[EMAIL PROTECTED]]
Sent: 08 April 2002 20:36
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Rounding


Hi all,
 
Is it possible to round to 2 decimal places in PHP without having to
push the data into mysql and out again?
 
Cheers,
 
Wayne

--- End Message ---
--- Begin Message ---
At 09:43 PM 4/8/02 +0100, Ross Fleming wrote:
>Multiply by 100, take the absolute value and divide by 100 again

That will round down to 2 decimal places.  To round to the nearest 2 
decimal places, to what Ross said but instead of getting the absolute 
value, just round it normally.

>Hi all,
>
>Is it possible to round to 2 decimal places in PHP without having to
>push the data into mysql and out again?
>
>Cheers,
>
>Wayne

--- End Message ---
--- Begin Message ---
Absolute, round, same thing.. ;)  Cheers mate

Ross

-----Original Message-----
From: Mike Flynn [mailto:[EMAIL PROTECTED]]
Sent: 09 April 2002 00:30
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Rounding


At 09:43 PM 4/8/02 +0100, Ross Fleming wrote:
>Multiply by 100, take the absolute value and divide by 100 again

That will round down to 2 decimal places.  To round to the nearest 2 
decimal places, to what Ross said but instead of getting the absolute 
value, just round it normally.

>Hi all,
>
>Is it possible to round to 2 decimal places in PHP without having to
>push the data into mysql and out again?
>
>Cheers,
>
>Wayne


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Darvin Andrioli suggested, on 20020328:

> http://www.zend.com/zend/spotlight/sendmimeemailpart1.php

Sorry, I was none the wiser after reading this article, as to how to get php
to send an attachment with an email message. The attachment in this case is
being generated from db output and saved as a 'csv' file.

George
> > I'm doing a query/export/email routine and I can't find anything on
> > attachments. The manual says that attachments can be handled but
> > doesn't say
> > how or give any examples.
> >
> > I'm sure that this must be in widespread use, so can anyone give me a
> > pointer or two?
> >
> > George
> >


--- End Message ---
--- Begin Message ---
Hmm?  The article explains exactly how to do it.  You can make a multipart 
MIME e-mail where the first part is the message, and the 2nd part is the 
file attachment (and more parts for additional files).  The file data is 
encoded using base64 encoding in this example.  You just need to create the 
message body as it shows in the tutorial and then use PHP's mail() function 
to send it.

-Mike

At 08:45 AM 4/8/02 +0100, George Pitcher wrote:
>Darvin Andrioli suggested, on 20020328:
>
> > http://www.zend.com/zend/spotlight/sendmimeemailpart1.php
>
>Sorry, I was none the wiser after reading this article, as to how to get php
>to send an attachment with an email message. The attachment in this case is
>being generated from db output and saved as a 'csv' file.
>
>George

--- End Message ---
--- Begin Message ---
Hi,
so, sending again - url with a lot of whois and other useful functions:

http://combat.uxn.com/

Greetings
Piotr

Arijit Chaudhuri wrote:

> Thanks a lot. It looks good. Will also look forward to the other site you
> mentioned.
>
> Regards,
> Arijit
>
> "Piotr Pluciennik" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> >
> > try this: http://www.geektools.com/cgi-bin/proxy.cgi
> >
> > I also found a site with more options but today, at home computer I don't
> > remember and haven't got it... I'll try to check it in my office on monday
> and
> > then will send to you.
> >
> > HTH
> >
> > Piotr
> >
> >
> > Arijit Chaudhuri wrote:
> >
> > > Hi all,
> > >
> > > I am looking for whois servers, specially for new domains like .biz,
> .name
> > > and obscure ones like .la and .cc. Is there one server where I can get
> all?
> > > Can look up registration details in separate registers but one server
> will
> > > speed up the search.
> > >
> > > Regards,
> > > Arijit
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Hi Arijit,

as promised - I'm sending you another useful URL with
worldwide whois, lookup domain and more services.

http://combat.uxn.com/

Gretings

Piotr

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--- End Message ---
--- Begin Message ---
If you mean that Internet Exlorer doesn't refresh pages, there's a
"solution" available from Microsoft, but even with that I am not
satisfied....
The solution is:

<META HTTP-EQUIV="expires" VALUE="sun, 07 Apr 2002 11:59:00 GMT">

But this only works when you have configured IE the right way, so with
deleting all cache content on browser close and check on webpages each time
you visit.

As you can understand: to refresh a page you still need to close the browser
and start a new one...

The other solution I use is to manually remove all off-line content, by
going to EXTRA - Internet Options - remove files (at the temporary internet
files section)

This might do the job, but there's one more option... switch to Netscape
Navigator, IE steels all chache content from the Netscape's cache folder and
therfore when Netscape has the right content in it's cache so will Internet
Explorer on a refresh...

C vd Veen

"Chip Snider" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> IE6 doesn't seem to be destroying its sessions.
> anyone have any ideas on how to rectify this?
>
>


--- End Message ---
--- Begin Message ---
"John Braden" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have an application that is having some login problems which I believe
are
> cookie related (No cookie is even being sent!!).

    My first guesses would be that you are not sending the cookie first
(before any other output), or perhaps do not have two dots in the server
name (".domain.com").  How about posting your cookie code? (recipie?)

 - Steve Yates
 - I hate people who make generalizations.

/ Taglines by Taglinator - www.srtware.com /



--- End Message ---

Reply via email to