[PHP] Brandon Rampersad wants to chat

2010-06-28 Thread Brandon Rampersad
--- Brandon Rampersad wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-b89a7a894d-92135d717d-ghWMc8mdQtBa8hhz4DGhBvCe8-k Y

Re: [PHP] What am I missing here?

2010-06-28 Thread Jay Ess
Rick Dwyer wrote: Hello List. I am completely at a loss for why the line of code below returns the desired value: $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI PT_NAME']), strlen($_SERVER['REQUEST_URI'])); BUT, putting the same line of code on 1 line fails to return anythi

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-28 Thread robert mena
Hi, I'll have a look. I am using Zend Framework's Zend_Soap_Client which in turn uses SoapClient. I'll try to use SoapClient directly. I am not using https and I am not going through a proxy (using a non standard port). I've tested with another SOAP client (a standalone application called Soap

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Peter Lind
On 28 June 2010 20:27, Bastien Koert wrote: > On Mon, Jun 28, 2010 at 12:10 PM, Ashley Sheridan > wrote: >> On Mon, 2010-06-28 at 12:06 -0400, Paul M Foster wrote: >> >>> On Mon, Jun 28, 2010 at 09:25:46AM -0400, Paul M Foster wrote: >>> >>> > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Qua

Re: [PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Nathan Nobbe
On Mon, Jun 28, 2010 at 12:51 PM, Nathan Nobbe wrote: > > > On Mon, Jun 28, 2010 at 12:39 PM, Shaun Morrow wrote: > >> I am working on code that implements a delegate design pattern, this makes >> use of the call_user_func_array function. >> >> I am having trouble with this particular line in PHP

Re: [PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Nathan Nobbe
On Mon, Jun 28, 2010 at 12:39 PM, Shaun Morrow wrote: > I am working on code that implements a delegate design pattern, this makes > use of the call_user_func_array function. > > I am having trouble with this particular line in PHP 5.3 > return call_user_func_array(array($delegate, $methodName), $

[PHP] call_user_func_array how to use on object php >= 5.3

2010-06-28 Thread Shaun Morrow
I am working on code that implements a delegate design pattern, this makes use of the call_user_func_array function. I am having trouble with this particular line in PHP 5.3 return call_user_func_array(array($delegate, $methodName), $parameters); $delegate is an object, and not simply the class n

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Bastien Koert
On Mon, Jun 28, 2010 at 12:10 PM, Ashley Sheridan wrote: > On Mon, 2010-06-28 at 12:06 -0400, Paul M Foster wrote: > >> On Mon, Jun 28, 2010 at 09:25:46AM -0400, Paul M Foster wrote: >> >> > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: >> > >> > > On 28 June 2010 13:44, Brando

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Ashley Sheridan
On Mon, 2010-06-28 at 12:06 -0400, Paul M Foster wrote: > On Mon, Jun 28, 2010 at 09:25:46AM -0400, Paul M Foster wrote: > > > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: > > > > > On 28 June 2010 13:44, Brandon Rampersad wrote: > > > > fuck no > > > > > > > > On Mon, Jun

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Paul M Foster
On Mon, Jun 28, 2010 at 09:25:46AM -0400, Paul M Foster wrote: > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: > > > On 28 June 2010 13:44, Brandon Rampersad wrote: > > > fuck no > > > > > > On Mon, Jun 28, 2010 at 8:23 AM, Gary wrote: > > > > > >> Richard > > >> > > >> Than

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Monday 28 June 2010 11:14:53 Andrew Ballard wrote: > On Mon, Jun 28, 2010 at 10:27 AM, David McGlone wrote: > > Tanel, we both learned something. I didn't fully understand join myself > > yet, but I think I do now. > > > > but let me ask this if the join wasn't there would an if statement like

Re: [PHP] mysql case statement

2010-06-28 Thread Andrew Ballard
On Mon, Jun 28, 2010 at 10:27 AM, David McGlone wrote: > Tanel, we both learned something. I didn't fully understand join myself yet, > but I think I do now. > > but let me ask this if the join wasn't there would an if statement like I > mentioned have worked? > > Blessings, > David M. I think yo

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Andrew Ballard
On Mon, Jun 28, 2010 at 10:04 AM, Ashley Sheridan wrote: > > On Mon, 2010-06-28 at 09:58 -0400, Andrew Ballard wrote: > > On Mon, Jun 28, 2010 at 8:53 AM, Richard Quadling wrote: > > On 28 June 2010 13:44, Brandon Rampersad wrote: > >> f**k no > > > > Enlightened criticism aside, why not? Or rat

Re: [PHP] Attachment to email from form.

2010-06-28 Thread David McGlone
On Monday 28 June 2010 09:25:46 Paul M Foster wrote: > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: > > On 28 June 2010 13:44, Brandon Rampersad wrote: > > > fuck no > > > > > > On Mon, Jun 28, 2010 at 8:23 AM, Gary wrote: > > >> Richard > > >> > > >> Thank you again for your

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Sunday 27 June 2010 22:12:41 Brandon Rampersad wrote: > no At least smack me and give us an explanation. :-) -- Blessings, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Shreyas Agasthya
I have got one, too. On Mon, Jun 28, 2010 at 7:34 PM, Ashley Sheridan wrote: > On Mon, 2010-06-28 at 09:58 -0400, Andrew Ballard wrote: > > > On Mon, Jun 28, 2010 at 8:53 AM, Richard Quadling > wrote: > > > On 28 June 2010 13:44, Brandon Rampersad > wrote: > > >> f**k no > > > > > > Enlighten

[PHP] Brandon Rampersad wants to chat

2010-06-28 Thread Brandon Rampersad
--- Brandon Rampersad wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-b89a7a894d-64536000e2-4urVbjaule33mrAn37NJq9MKldk Y

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Monday 28 June 2010 09:49:55 Andrew Ballard wrote: > On Sun, Jun 27, 2010 at 4:08 AM, Tanel Tammik wrote: > > Hello, > > > > how to select only if value is present? > > > >$query = $db->query("select menus.id, menus.name, > > case > >when panels.id is not null then '1' > >

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Ashley Sheridan
On Mon, 2010-06-28 at 09:58 -0400, Andrew Ballard wrote: > On Mon, Jun 28, 2010 at 8:53 AM, Richard Quadling wrote: > > On 28 June 2010 13:44, Brandon Rampersad wrote: > >> f**k no > > > > Enlightened criticism aside, why not? Or rather (as I'm willing to adapt) > > how? > > Probably because y

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Andrew Ballard
On Mon, Jun 28, 2010 at 8:53 AM, Richard Quadling wrote: > On 28 June 2010 13:44, Brandon Rampersad wrote: >> f**k no > > Enlightened criticism aside, why not? Or rather (as I'm willing to adapt) how? Probably because you ignored his latest request to chat. Just guessing, really. Andrew -- PH

Re: [PHP] mysql case statement

2010-06-28 Thread Andrew Ballard
On Sun, Jun 27, 2010 at 4:08 AM, Tanel Tammik wrote: > Hello, > > how to select only if value is present? > >    $query = $db->query("select menus.id, menus.name, >      case >        when panels.id is not null then '1' >        end as hiddenpanel > >    from " . \DB_MENUS . " as menus >      left

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Paul M Foster
On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: > On 28 June 2010 13:44, Brandon Rampersad wrote: > > fuck no > > > > On Mon, Jun 28, 2010 at 8:23 AM, Gary wrote: > > > >> Richard > >> > >> Thank you again for your kind help. > >> > >> Gary > >> > >> > > Enlightened critici

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Richard Quadling
chment('D:/Uploaded/content.zip', >> > 'application/zip', new Base64Encoding(), 'YourContent.zip')); >> > >> > // If you want to keep copies of your emails, then setCc is the method to >> > use. >> > $o_Mail->setCc('r...@nowhe

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Brandon Rampersad
x27;, > > 'application/zip', new Base64Encoding(), 'YourContent.zip')); > > > > // If you want to keep copies of your emails, then setCc is the method to > > use. > > $o_Mail->setCc('r...@nowhere.co.uk'); > > > > // Final

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Gary
>send(array('"Your recipient\'s name" > '), 'smtp'); > ?> > > > -- > - > Richard Quadling > "Standing on the shoulders of some very clever giants!" > EE : http://www.experts-exchange.com/M_248814.html > EE4Free : htt

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-28 Thread Richard Quadling
On 26 June 2010 23:46, robert mena wrote: > Hi, > > I am trying to access a webservice using php's soapclient but I keep getting > the error SoapFault exception: [HTTP] Unauthorized > > If I try using a web browser I can authenticate using the same credentials > used by the php code. > > I've sear

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Richard Quadling
On 26 June 2010 13:14, Gary wrote: > Richard > > Please accept my apology in that my response was sent directly to you and > not the group, I hit 'Reply" instead of 'Reply to Group'. > > Gary No problem. Here is an example of my code using the RMail script from phpguru.org. It was previously kno