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

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 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 General Mailing Li

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

[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 Oir

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 c

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] 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 wrote:

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 finally

[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 t

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 n

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 Benschop 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

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] 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 tal

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 > remo

[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 ser

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 unl

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 b

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 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 Richard Quadling
On 8 March 2010 13:06, Teus Benschop 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 email. > [...] > > Wh

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop 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 email. > [...] >

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 hop

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 s

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

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 simp

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

[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 bee

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.

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 >compon

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] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 7 March 2010 04:54, Kannan 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 system.But the mail