Re: [PHP] Constructor usage

2010-04-04 Thread Larry Garfield
On Sunday 04 April 2010 09:21:28 pm Paul M Foster wrote: > > So, I'll throw the question out. Who uses example 1 above vs. example 2 > > when writing dependency-injection-based OOP? Why? What trade-offs have > > you encountered, and was it worth it? > > One problem I have with "parameterless c

Re: [PHP] convert a string into an array

2010-04-04 Thread Nathan Rixham
you sure you're only smoking cigarettes? has to be one of the most random replies to any php thread I've ever seen - awesome! regards Rene Veerman wrote: > yea i'm not the only one with those type of problems. sometimes times > slows down in my room so much not even my speakers sound normal > an

Re: [PHP] Fwd: Medical Task Force

2010-04-04 Thread Matty Sarro
Hey, not sure how comprehensive you're looking to be but for health informatics there are a number of hl7 and PACS tools out there which are open source, most are just a google search away. -matty On Apr 4, 2010 11:23 PM, "Rene Veerman" wrote: hey, i did not fake that cc header on my last mail.

Re: [PHP] convert a string into an array

2010-04-04 Thread Rene Veerman
yea i'm not the only one with those type of problems. sometimes times slows down in my room so much not even my speakers sound normal anymore; equipment that doesn't work (despite being crappy and known by it's patterns of refusal to work; still EXTRA abnormal since about a week or so)... it sound

[PHP] Fwd: Medical Task Force

2010-04-04 Thread Rene Veerman
hey, i did not fake that cc header on my last mail. i just hit reply-all and added php-general because i find it significant for this list too.. and guys, i'm very very sorry to have ever used "walk over to you"-language against fellow programmers, i'll try to refrain from such behaviour in the f

[PHP] Re: Medical Task Force

2010-04-04 Thread Rene Veerman
hello world :) yea, i have some exp with coding and medical science too.. i'm not a packager of any ubuntu "software center" stuff, but i have built and released open source software before.. it's usually stored at http://mediabeez.ws/ but the computer that's running on has crashed and acted very

Re: [PHP] Constructor usage

2010-04-04 Thread Paul M Foster
On Sun, Apr 04, 2010 at 05:36:23PM -0500, Larry Garfield wrote: > Hi folks. Somewhat philosophical question here. > > I have heard, although not confirmed, that the trend in the Java world in the > past several years has been away from constructors. That is, rather than > this: > > class Foo

Re: [PHP] Constructor usage

2010-04-04 Thread Adam Richardson
On Sun, Apr 4, 2010 at 6:36 PM, Larry Garfield wrote: > Hi folks. Somewhat philosophical question here. > > I have heard, although not confirmed, that the trend in the Java world in > the > past several years has been away from constructors. That is, rather than > this: > > class Foo { > public

Re: [PHP] Howto send command over ssh using sockets

2010-04-04 Thread Hans Åhlin
Instead of ssh, you could use telnet to connect to the Cisco router (which incidentally runs on port 23, but is likely to be disabled on the cisco router, unless you have a pre-SSH capable IOS running on it (like my old cisco crap :( ) ), because i strongly doubt you have written or are willing to

Re: [PHP] OO Design Formally

2010-04-04 Thread Adam Richardson
On Sun, Apr 4, 2010 at 8:37 PM, Daniel Kolbo wrote: > Hello PHPers, > > I've been doing the programming thing for about 10 years now: amateur > side gigs turned into ten years pretty fast. I think i have a fairly > strong sense of object oriented design, data modeling, etc... However, > sometim

[PHP] OO Design Formally

2010-04-04 Thread Daniel Kolbo
Hello PHPers, I've been doing the programming thing for about 10 years now: amateur side gigs turned into ten years pretty fast. I think i have a fairly strong sense of object oriented design, data modeling, etc... However, sometimes I wish I had a stronger academic understanding of the design /

[PHP] Re: Constructor usage

2010-04-04 Thread Nathan Rixham
Larry Garfield wrote: > Hi folks. Somewhat philosophical question here. > > I have heard, although not confirmed, that the trend in the Java world in the > past several years has been away from constructors. That is, rather than > this: > > class Foo { > public void Foo(Object a, Object b,

[PHP] Constructor usage

2010-04-04 Thread Larry Garfield
Hi folks. Somewhat philosophical question here. I have heard, although not confirmed, that the trend in the Java world in the past several years has been away from constructors. That is, rather than this: class Foo { public void Foo(Object a, Object b, Object c) {} } Foo f = new Foo(a, b,

[PHP] Howto send command over ssh using sockets

2010-04-04 Thread Radek Krejča
Hello, I am trying send command to remote host over ssh with sockets. But I need to set up username/password. I am trying to modify this script (from www.php.net - function fsockopen), but I dont know, where set username/password because I got this message: Bad protocol version identification '

Re: [PHP] Re: $_SERVER['PHP_AUTH_USER'] has gone

2010-04-04 Thread Daniel P. Brown
Sorry for the top-post. Easter has me on the DROID instead of my PC. I second Rixham's thought. Is it a DSO, CGI, FCGI? What pops out in var_dump($_SERVER) and var_dump($_ENV)? On Apr 4, 2010 3:49 PM, "Nathan Rixham" wrote: Satz Klauer wrote: > Hi, > > I'm running a system with Fedora 12 and Ap

[PHP] Re: $_SERVER['PHP_AUTH_USER'] has gone

2010-04-04 Thread Nathan Rixham
Satz Klauer wrote: > Hi, > > I'm running a system with Fedora 12 and Apache/PHP default installation. > That means PHP is used as module in Apache, it is NOT running as CGI. > > Nevertheless for the latest PHP version installed there > $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'] and > $_SE

Re: [PHP] $_SERVER['PHP_AUTH_USER'] has gone

2010-04-04 Thread shiplu
You can use, http://php.net/getallheaders function and parse the authentication header. For basic authentication, username and password are kept base64 encoded and separated by a ":" Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://gro

Re: [PHP] $_SERVER['PHP_AUTH_USER'] has gone

2010-04-04 Thread Nilesh Govindarajan
On 04/04/10 22:04, Satz Klauer wrote: Hi, I'm running a system with Fedora 12 and Apache/PHP default installation. That means PHP is used as module in Apache, it is NOT running as CGI. Nevertheless for the latest PHP version installed there $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'] and

Re: [PHP] About the php mail function and imap_mail function

2010-04-04 Thread Andre Polykanine
Hello ttplayer, If GMail does allow sending through socket, wait a bit, I'll upload a class written on my own for sending mail through a custom SMTP via socket. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! mess

[PHP] $_SERVER['PHP_AUTH_USER'] has gone

2010-04-04 Thread Satz Klauer
Hi, I'm running a system with Fedora 12 and Apache/PHP default installation. That means PHP is used as module in Apache, it is NOT running as CGI. Nevertheless for the latest PHP version installed there $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'] and $_SERVER['REMOTE_USER'] do no longer wo

RE: [PHP] PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) -> established connection failed because connected host has failed to respond

2010-04-04 Thread ralston
-Original Message- From: SED [mailto:s...@sed.is] Sent: Sunday, April 04, 2010 11:48 AM To: 'SED' Cc: php-general@lists.php.net Subject: RE: [PHP] PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) -> established connection failed because connected host has failed to respond Hi Kevin, Th

RE: [PHP] PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) -> established connection failed because connected host has failed to respond

2010-04-04 Thread SED
Hi Kevin, Thank you for your assistance. I finally gave up and let my self to default Microsoft Installation for IIS7.5+PHP+MySQL. Everything runs fine on my developer machine - and that was my main goal - so I'm fine. However, after about 48 hours of search, I was not able to find to how to do

Re: [PHP] About the php mail function and imap_mail function

2010-04-04 Thread dispy
Am 04.04.2010 14:28, schrieb ttplayer: > Hi, everyone! > I have a problem about the php mail function and imap_mail function. > When I use the mail or imap_mail function to send a email, the php script > sends the email through the local mail sever with sendmail or another MTA > supported. Howe

[PHP] About the php mail function and imap_mail function

2010-04-04 Thread ttplayer
Hi, everyone! I have a problem about the php mail function and imap_mail function. When I use the mail or imap_mail function to send a email, the php script sends the email through the local mail sever with sendmail or another MTA supported. However, I have a gmail account. I just want the php

[PHP] Just a test.

2010-04-04 Thread ttplayer
Hi,everyone. Have a good day. This is just a test if my email address has been added to the mailing list.

RE: [PHP] PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) -> established connection failed because connected host has failed to respond

2010-04-04 Thread SED
Hi Kevin, - MySQL 5.1 (64bit) is listening at port 0.0.0.0:3306 - MySQL 4.1 (32bit) is listening at port 0.0.0.0:3307 - When running MySQL command via PHP (CMD or browser) I get 127.0.0.1:3306 Established - I can connect to MySQL via CMD or MySQL Administrator GUI. - PHP (32bit) loads php_mysql.dl