Re: [PHP] Apache

2013-09-25 Thread Robert Stone
De: Ashley Sheridan Para: m...@nikha.org; Domain nikha.org Cc: php-general@lists.php.net Enviadas: Quarta-feira, 25 de Setembro de 2013 2:22 Assunto: Re: [PHP] Apache "Domain nikha.org" wrote: >Ashley Sheridan am Montag, 23. September 2013 - 21:35: >

Re: [PHP] PHPDoc way to describe the magic getter/setters [SOLVED]

2013-09-25 Thread David Harkness
On Wed, Sep 25, 2013 at 4:31 PM, Daevid Vincent wrote: > Then I randomly stumbled upon this PHPDoc @ method tag and my whole world > is brighter today than it has been for the past, oh let's say DECADE! Yes, @method and @property are very handy. Out of curiosity, since you're providing magic g

[PHP] PHPDoc way to describe the magic getter/setters [SOLVED]

2013-09-25 Thread Daevid Vincent
I use a base.class that most classes extend from. That class uses the lovely Magic Methods for overloading __get() and __set() http://php.net/manual/en/language.oop5.magic.php However (in Zend Studio for example) when I try to auto-assist a property $foo I don't see that it has a get() or set() m

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Camilo Sperberg
On Wed, Sep 25, 2013 at 11:48 PM, Camilo Sperberg wrote: > Another vote for PHPMailer, I have it working several years already > (authenticating against a Zimbra and Outlook SMTP server) without problems. > > Greetings. > > > On Wed, Sep 25, 2013 at 11:12 PM, Aziz Saleh wrote: >> >> Usually if I

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Camilo Sperberg
Another vote for PHPMailer, I have it working several years already (authenticating against a Zimbra and Outlook SMTP server) without problems. Greetings. On Wed, Sep 25, 2013 at 11:12 PM, Aziz Saleh wrote: > Usually if I am using a framework I would use the SMTP library associated > with it.

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Aziz Saleh
Usually if I am using a framework I would use the SMTP library associated with it. If it doesn't have one, I use phpmailer, fast and easy to setup: http://phpmailer.worxware.com/index.php?pg=examplebsmtp Aziz On Wed, Sep 25, 2013 at 4:11 PM, dealTek wrote: > Hi All, > > Semi newbie email ques

[PHP] Sending PHP mail with Authentication

2013-09-25 Thread dealTek
Hi All, Semi newbie email question... I have used the - mail() — Send mail php function to send email from a site. now it seems the server is blocking this for safety because I should be using authentication Q: mail() does not have authentication - correct? Q: So I read from the link belo

Re: [PHP] https question

2013-09-25 Thread Daniel Brown
On Wed, Sep 25, 2013 at 1:55 PM, Tedd Sperling wrote: > Hi gang: > > I have a client who had his entire site moved to another host -- no big > problem. > > However, the old site had a https directory, where I had secure scripts to do > credit-card transactions, but the new site doesn't have a ht

Re: [PHP] https question

2013-09-25 Thread Joshua Kehn
On Sep 25, 2013, at 2:24 PM, Tedd Sperling wrote: > > I understand that cc processing should be done via https. > > Normally, that means to me that I place my $ scripts in a https directory -- > the problem is that I don't have one with this host. > > So, I am asking how does one do that with

Re: [PHP] https question

2013-09-25 Thread Tedd Sperling
On Sep 25, 2013, at 1:58 PM, Joshua Kehn wrote: > On Sep 25, 2013, at 1:55 PM, Tedd Sperling wrote: > >> Hi gang: >> >> I have a client who had his entire site moved to another host -- no big >> problem. >> >> However, the old site had a https directory, where I had secure scripts to >> do

Re: [PHP] https question

2013-09-25 Thread Joshua Kehn
On Sep 25, 2013, at 1:55 PM, Tedd Sperling wrote: > Hi gang: > > I have a client who had his entire site moved to another host -- no big > problem. > > However, the old site had a https directory, where I had secure scripts to do > credit-card transactions, but the new site doesn't have a htt

[PHP] https question

2013-09-25 Thread Tedd Sperling
Hi gang: I have a client who had his entire site moved to another host -- no big problem. However, the old site had a https directory, where I had secure scripts to do credit-card transactions, but the new site doesn't have a https directory -- in fact it doesn't even have a http directory at a

Re: [PHP] php fopen https error

2013-09-25 Thread Shawn McKenzie
I thought I covered that. The bug was fixed 7 years ago. Upgrade PHP, I doubt there is a patch. I understand that not all coders or distributions will have the latest version of PHP, but come on, how many thousands of bugs have been fixed in 7 years? You're going to run into more. Alternativel

Re: [PHP] php fopen https error

2013-09-25 Thread Markus Falb
On 25.9.2013 17:03, Shawn McKenzie wrote: > I believe this was a bug, is only a warning that may be suppressed and may > have been fixed in 5.2.0. Are you aware that PHP is at 5.5.4 and that > 5.1.6 is over 7 years old? Please understand that some Distributions do the "only backport security stuf

Re: [PHP] php fopen https error

2013-09-25 Thread Markus Falb
On 25.9.2013 17:12, Shawn McKenzie wrote: > Just as I thought: > > 5.2.0 > Fixed bug #39039 SSL: fatal protocol error when fetching HTTPS from servers > running Google web server). (Ilia) Thanks, but ... I am not sure how what I am supposed to do with this information. #39039 says it is a bug an

Re: [PHP] PHP and curl

2013-09-25 Thread Shawn McKenzie
Keep on list. $result = $client->GetSequenceNo( "CIS" ); shouldn't be throwing that error. Maybe you are trying to do something with $result afterwards? Try var_dump($result); On Wed, Sep 25, 2013 at 10:12 AM, Alf Stockton wrote: > > On 25/09/13 16:52, Shawn McKenzie wrote: > > $client->GetS

Re: [PHP] php fopen https error

2013-09-25 Thread Shawn McKenzie
Just as I thought: 5.2.0 Fixed bug #39039 SSL: fatal protocol error when fetching HTTPS from servers running Google web server). (Ilia) On Wed, Sep 25, 2013 at 10:03 AM, Shawn McKenzie wrote: > I believe this was a bug, is only a warning that may be suppressed and may > have been fixed in 5.2.0

Re: [PHP] php fopen https error

2013-09-25 Thread Shawn McKenzie
I believe this was a bug, is only a warning that may be suppressed and may have been fixed in 5.2.0. Are you aware that PHP is at 5.5.4 and that 5.1.6 is over 7 years old? -Shawn On Wed, Sep 25, 2013 at 9:09 AM, Markus Falb wrote: > With RHEL/CentOS 5 php I get an SSL Error > RHEL/CentOS 5 ph

Re: [PHP] PHP and curl

2013-09-25 Thread Shawn McKenzie
SOAP functions can be called as methods of the SoapClient object. Maybe: $client->GetSequenceNo( $parameters ); -Shawn On Wed, Sep 25, 2013 at 9:17 AM, Alf Stockton wrote: > In an attempt to interface with a webservice on a Windows 7 server I have > started writing the following:- > [code] >

[PHP] PHP and curl

2013-09-25 Thread Alf Stockton
In an attempt to interface with a webservice on a Windows 7 server I have started writing the following:- [code] $client = new SoapClient("http://192.168.0.10/CISWebService/Mediamanager.asmx?WSDL";); var_dump($client->__getFunctions()); $result = $client->__doRequest("GetSequenceNo

[PHP] php fopen https error

2013-09-25 Thread Markus Falb
With RHEL/CentOS 5 php I get an SSL Error RHEL/CentOS 5 php is at 5.1.6 with security fixes backported. https://maps.google.com";, "r"); $contents = stream_get_contents($handle); fclose($handle); ?> will result in something like Warning: stream_get_contents(): SSL: fatal protocol error in bla.