php-general Digest 8 Mar 2010 10:22:20 -0000 Issue 6627

2010-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2010 10:22:20 - Issue 6627 Topics (messages 302593 through 302597): Re: pear for fedora 11 302593 by: Ashley Sheridan Re: Mail Function In PHP 302594 by: Al 302597 by: Richard Quadling int $number = decode_dtmf(string $wavefile)

php-general Digest 8 Mar 2010 22:54:48 -0000 Issue 6628

2010-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2010 22:54:48 - Issue 6628 Topics (messages 302598 through 302621): Re: Mail Function In PHP 302598 by: Teus Benschop 302607 by: Richard Quadling 302608 by: Richard Quadling 302609 by: Ashley Sheridan 302610 by: Marc Trudel

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 7 March 2010 04:54, Kannan kanna...@gmail.com wrote: Hello           I am creating a application for our college using the php.In that i want to send mail to all who are all the list. For that i am just simply use the mail function in php without configuring any mail system in the

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Teus Benschop
On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients email. [...] While the above is true, there is also another thing that

Re: [PHP] pear for fedora 11

2010-03-08 Thread Edward. S. P. Leong
Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a

Re: [PHP] pear for fedora 11

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I

[PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
hi, i'm interested in the most comprehensive way to determine the content type of a stream of bytes that's been uploaded to a PHP script? assuming that the bytes are uploaded simply via a POST parameter, i can see that there are a couple ways to do it: * getimagesize() * FileInfo i've

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 10:57 -0500, Robert P. J. Day wrote: hi, i'm interested in the most comprehensive way to determine the content type of a stream of bytes that's been uploaded to a PHP script? assuming that the bytes are uploaded simply via a POST parameter, i can see that there are a

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
On Mon, 8 Mar 2010, Ashley Sheridan wrote: On Mon, 2010-03-08 at 10:57 -0500, Robert P. J. Day wrote: hi, i'm interested in the most comprehensive way to determine the content type of a stream of bytes that's been uploaded to a PHP script? assuming that the bytes are uploaded simply via

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 11:33 -0500, Robert P. J. Day wrote: On Mon, 8 Mar 2010, Ashley Sheridan wrote: On Mon, 2010-03-08 at 10:57 -0500, Robert P. J. Day wrote: hi, i'm interested in the most comprehensive way to determine the content type of a stream of bytes that's been uploaded to

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
On Mon, 8 Mar 2010, Ashley Sheridan wrote: What about writing the first n bytes to a file and then passing that to the command line? I'm assuming a Linux server here, but it should do the trick. gah! i was hoping for something that wouldn't make me want to gouge out my eyes with a

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 11:37 -0500, Robert P. J. Day wrote: On Mon, 8 Mar 2010, Ashley Sheridan wrote: What about writing the first n bytes to a file and then passing that to the command line? I'm assuming a Linux server here, but it should do the trick. gah! i was hoping for

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 17:18 +, Richard Quadling wrote: On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Marc Trudel
If you control your DNS server setup and such, DKIM and authentication technologies alikes (http://en.wikipedia.org/wiki/DomainKeys) are the way to go. Also, make sure the reverse DNS lookup is pointing to the right place, i.e. that the SMTP server domain name translates to an IP that translates

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Teus Benschop
On Mon, 2010-03-08 at 17:18 +, Richard Quadling wrote: So, say I did go and setup a local SMTP relay, how would I make it known that it was a real smtp server and not just some script pushing spam? Once a domain or ip address was black listed, it was quite a process to get it unlisted

[PHP] Load simulation tests

2010-03-08 Thread Ashley Sheridan
Hi all, I was wondering if there were any ways to simulate loads on a PHP script running on the server? Basically, I'd just like to take one of my sites through a dry-run so to speak and simulate x number of visitors. Ideally, I'd prefer something that didn't have to be installed on the remote

Re: [PHP] Load simulation tests

2010-03-08 Thread Richard
Hi, I was wondering if there were any ways to simulate loads on a PHP script running on the server? Basically, I'd just like to take one of my sites through a dry-run so to speak and simulate x number of visitors. Ideally, I'd prefer something that didn't have to be installed on the remote

Re: [PHP] Load simulation tests

2010-03-08 Thread shiplu
You can use siege in command line for web server stress testing. There are other tools. I forget it. Just look at the Performance section in http://talks.php.net/ There are some slides of Rasmus Lerdorf about these on http://talks.php.net/ which are very helpful. -- Shiplu Mokaddim My

Re: [PHP] Load simulation tests

2010-03-08 Thread shiplu
Here is the presentation http://talks.php.net/show/w2e09 -- Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest) -- PHP General Mailing List

Re: [PHP] Mail Function In PHP

2010-03-08 Thread John Black
On 03/08/2010 06:18 PM, Richard Quadling wrote: On 8 March 2010 13:06, Teus Benschopteusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the

Re: [PHP] Mail Function In PHP

2010-03-08 Thread John Black
On 03/08/2010 10:45 PM, John Black wrote: You can use SPF, DomainKeys plus valid DNS information. I have setup SPF records for my domains. If you attempt to send E-Mail as if it was sent from my server then any server doing SPF record checking will not accept or simply drop your message. I have

[PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Skip Evans
Hey all, I have an Apache virtual config running a bunch of sites, one with SSL. I finally have a need to add SSL to one more, but when I do the first one (which is further down the file) comes up untrusted. Since this is pretty far off topic I'd be obliged if someone who has configured

Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Frank M. Kromann
You can only have one SSL per IP address. The SSL connection between the client and server is done before the host header name is made available to Apache. - Frank On 3/8/10 2:13 PM, Skip Evans wrote: Hey all, I have an Apache virtual config running a bunch of sites, one with SSL. I

Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Skip Evans
D'oh! ...and I suppose there is just no way around that, eh? Skip Frank M. Kromann wrote: You can only have one SSL per IP address. The SSL connection between the client and server is done before the host header name is made available to Apache. - Frank On 3/8/10 2:13 PM, Skip Evans

Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Frank M. Kromann
Not that I know of. - Frank On 3/8/10 2:21 PM, Skip Evans wrote: D'oh! ...and I suppose there is just no way around that, eh? Skip Frank M. Kromann wrote: You can only have one SSL per IP address. The SSL connection between the client and server is done before the host header name is made

Re: [PHP] Mail Function In PHP

2010-03-08 Thread james . stojan
Any volume of mail sent direct to mx records is a red flag for anti spammers and without an smtp spf dkim and rdns you are wasting your time. The logic is that only people sending spam would be sending direct to mx like that. Fair or not that is just how life works. Oh and most mail servers do

[PHP] EHLO error 554: what can it be?

2010-03-08 Thread Andre Polykanine
Hello everyone, I'm writing a class to send mail via an SMTP server with authorization. Everything seems to work but I get an EHLO error: 554 SMTP synchronization error Where should I look to avoid this? Thanks! -- With best regards from Ukraine, Andre Http://oire.org/ - The Fantasy blogs of

Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Kim Madsen
Skip Evans wrote on 08/03/2010 23:21: D'oh! ...and I suppose there is just no way around that, eh? two public IPs pointing to the same server? ;o) -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Daniel Egeberg
On Mon, Mar 8, 2010 at 23:21, Skip Evans s...@bigskypenguin.com wrote: D'oh! ...and I suppose there is just no way around that, eh? Skip You can use SNI, but it's not supported by all web servers and browsers. http://en.wikipedia.org/wiki/Server_Name_Indication -- Daniel Egeberg -- PHP

Re: [PHP] EHLO error 554: what can it be?

2010-03-08 Thread Kevin Kinsey
Andre Polykanine wrote: Hello everyone, I'm writing a class to send mail via an SMTP server with authorization. Everything seems to work but I get an EHLO error: 554 SMTP synchronization error Where should I look to avoid this? Thanks! Be polite :-D Make sure your class waits for the other