Re: [PHP] Standalone WebServer for PHP

2010-09-10 Thread Per Jessen
Steve Staples wrote: > Ok, here it goes... > > I am building an app, that requires a web interface. I am using PHP > becuase I am familiar with it. Most of the app's i've been looking > at, use Python, Cherry.py and stuff, but what I was wondering, is is > there a way to create a php CLI app,

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-10 Thread Dave M G
Peter, Bob, Thank you for replying. After a few days testing, I set up an error handler for when messages don't get sent. I started to see an error saying "Language String failed to load", which seems to be particular to the PHPmailer scripts I am using. Long story short, after some searchin

Re: [PHP] Standalone WebServer for PHP

2010-09-10 Thread Jim Lucas
Daniel Brown wrote: On Fri, Sep 10, 2010 at 16:37, Steve Staples wrote: Ok, here it goes... I am building an app, that requires a web interface. I am using PHP becuase I am familiar with it. Most of the app's i've been looking at, use Python, Cherry.py and stuff, but what I was wondering, i

Re: [PHP] Zend framework

2010-09-10 Thread chris h
Thanks for the info everyone, this is pretty much what I was expecting to hear about it. I think I'll probably stick to using it as a toolkit. Thanks, Chris. On Fri, Sep 10, 2010 at 3:01 PM, Daevid Vincent wrote: > Sorry wrong thread. Damnit. I meant that link for the guy that didn't know

Re: [PHP] Standalone WebServer for PHP

2010-09-10 Thread Daniel Brown
On Fri, Sep 10, 2010 at 16:37, Steve Staples wrote: > Ok, here it goes... > > I am building an app, that requires a web interface.  I am using PHP > becuase I am familiar with it.   Most of the app's i've been looking at, > use Python, Cherry.py and stuff, but what I was wondering, is is there a >

Re: [PHP] Standalone WebServer for PHP

2010-09-10 Thread Steve Staples
OH, i forgot to mention, if it ran on windows or linux, and required no "install", just ran as an executable or something. Steve. On Fri, 2010-09-10 at 16:37 -0400, Steve Staples wrote: > Ok, here it goes... > > I am building an app, that requires a web interface. I am using PHP > becuase I am

[PHP] Standalone WebServer for PHP

2010-09-10 Thread Steve Staples
Ok, here it goes... I am building an app, that requires a web interface. I am using PHP becuase I am familiar with it. Most of the app's i've been looking at, use Python, Cherry.py and stuff, but what I was wondering, is is there a way to create a php CLI app, that creates it's own "web server"

Re: [PHP] newbie question about code

2010-09-10 Thread Adam Richardson
On Fri, Sep 10, 2010 at 3:03 PM, Joshua Kehn wrote: > Adam- > > It is unique. I'm writing code that really can't be done any other way. How > it handles events, sockets, etc is exceptional. The best part is everything > now is JavaScript. The server (Node.js) is written in JavaScript. MongoDB is

Re: [PHP] newbie question about code

2010-09-10 Thread Joshua Kehn
Adam- It is unique. I'm writing code that really can't be done any other way. How it handles events, sockets, etc is exceptional. The best part is everything now is JavaScript. The server (Node.js) is written in JavaScript. MongoDB is JavaScript. The frontend used to manage the WebSocket is ent

Re: [PHP] newbie question about code

2010-09-10 Thread chris h
I would check this out to give you a decent understanding of php's oop. http://php.net/manual/en/language.oop5.php Chris. On Fri, Sep 10, 2010 at 2:27 PM, Adam Williams wrote: > I'm looking at someone's code to learn and I'm relatively new to > programming. In the code I see commands like: >

RE: [PHP] Zend framework

2010-09-10 Thread Daevid Vincent
Sorry wrong thread. Damnit. I meant that link for the guy that didn't know what the -> was for... > -Original Message- > From: Daevid Vincent [mailto:dae...@daevid.com] > Sent: Friday, September 10, 2010 12:01 PM > To: 'David Harkness' > Cc: 'PHP-General' > Subject: RE: [PHP] Zend framew

RE: [PHP] Zend framework

2010-09-10 Thread Daevid Vincent
http://www.php.net/manual/en/language.oop5.basic.php > -Original Message- > From: David Harkness [mailto:davi...@highgearmedia.com] > Sent: Friday, September 10, 2010 10:59 AM > To: rquadl...@googlemail.com > Cc: chris h; PHP-General > Subject: Re: [PHP] Zend framework > > We use part o

Re: [PHP] newbie question about code

2010-09-10 Thread Adam Richardson
> > > > This is what I get for taking a week to code everything in Node.js. > > It is a Friday, so I'll let my curiosity get the best of me and ask a follow-up on something non-PHP. What insights/impressions do you have regarding Node.js after a week of working with it? Thanks, Adam -- Nephta

Re: [PHP] newbie question about code

2010-09-10 Thread tedd
At 2:27 PM -0400 9/10/10, Joshua Kehn wrote: Adam- That is a function call. In Java: class Code { public static void function do_command(){ } } Code.do_command(); Regards, -Josh Not just Java, but does I've seen this in several languages. Javascript is one. But realize that Java is to

Re: [PHP] newbie question about code

2010-09-10 Thread Joshua Kehn
Ash- Correct, hence my typo and nomenclature slip. ;) Regards, -Josh Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On Sep 10, 2010, at 2:48 PM, a...@ashleysheridan.co.uk wrote: > Node.js, wouldn't that be javascript rather than java? :P > > Than

Re: [PHP] newbie question about code

2010-09-10 Thread a...@ashleysheridan.co.uk
Node.js, wouldn't that be javascript rather than java? :P Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Joshua Kehn" Date: Fri, Sep 10, 2010 19:32 Subject: [PHP] newbie question about code To: "Bob McConnell" Cc: "Adam Williams" , "PHP General list" Bob- Yes

Re: [PHP] newbie question about code

2010-09-10 Thread a...@ashleysheridan.co.uk
It's object oriented code. $code is an instance of class, and do_command() is a method if that class. I'd advise reading up on oop php. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Adam Williams" Date: Fri, Sep 10, 2010 19:27 Subject: [PHP] newbie question about

Re: [PHP] newbie question about code

2010-09-10 Thread Joshua Kehn
Bob- Yes, yes I did. And note that my Java code is incorrect, that should simply be public static void, no function. This is what I get for taking a week to code everything in Node.js. Regards, -Josh Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com

RE: [PHP] newbie question about code

2010-09-10 Thread Bob McConnell
Did you mean to say "That is a method call."? Bob McConnell - From: Joshua Kehn That is a function call. In Java: class Code { public static void function do_command(){ } } Code.do_command(); Regards, -Josh Joshua Kehn | josh.k

Re: [PHP] newbie question about code

2010-09-10 Thread Joshua Kehn
Adam- That is a function call. In Java: class Code { public static void function do_command(){ } } Code.do_command(); Regards, -Josh Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On Sep 10, 2010, at 2:27 PM, Adam Williams wrote: > I'm lookin

[PHP] newbie question about code

2010-09-10 Thread Adam Williams
I'm looking at someone's code to learn and I'm relatively new to programming. In the code I see commands like: $code->do_command(); I'm not really sure what that means. How would that look in procedural style programming? do_command($code); or something else? -- PHP General Mailing List

Re: [PHP] re: logical AND assignments

2010-09-10 Thread a...@ashleysheridan.co.uk
Stay off those red pills David! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "David Harkness" Date: Fri, Sep 10, 2010 18:54 Subject: [PHP] re: logical AND assignments To: "Robert E. Glaser" Cc: On Fri, Sep 10, 2010 at 8:22 AM, Robert E. Glaser wrote: > It's ha

Re: [PHP] Zend framework

2010-09-10 Thread David Harkness
We use part of Zend MVC (the dispatcher, controllers, and view scripts) here and a lot of the other facilities such as the autoloader, config, etc. and are very happy so far. As long as you design your application with an eye toward portability, you won't be tied to ZF. For example, put all of your

Re: [PHP] re: logical AND assignments

2010-09-10 Thread David Harkness
On Fri, Sep 10, 2010 at 8:22 AM, Robert E. Glaser wrote: > It's hard to wrap my mind around the concept that the assignment > operator itself has an operator precedence. Which means that one could > write expressions without any assignment at all, and be syntactically > correct. > You do this al

[PHP] php cli question

2010-09-10 Thread J Ravi Menon
Hi, I have some basic questions on running php (5.2.x series on Linux 2.6) as a standalone daemon using posix methods (fork() etc..): #!/usr/bin/php doSomething() } // shutdown logic. The 'someclass.php' in turn will include other files (via require_once). The above file will be executed dir

[PHP] re: logical AND assignments

2010-09-10 Thread Robert E. Glaser
> Robert, how do the results differ from your expectations? > > David It's hard to wrap my mind around the concept that the assignment operator itself has an operator precedence. Which means that one could write expressions without any assignment at all, and be syntactically correct. I cannot b

[PHP] Re: Handling multiple form fields

2010-09-10 Thread Al
On 9/10/2010 6:55 AM, Abah Joseph wrote: Please i want to seek your opinion on how to handle large form fields, i have a table that contain 30 fields and i`m wondering if there is a better way to automatically create the html form and validate it. By asking such a basic question, it sounds l

Re: [PHP] Handling multiple form fields

2010-09-10 Thread a...@ashleysheridan.co.uk
How are you deciding what form fields are being put in the form? There are plenty of scripts out there which can output and validate forms, but you might need to be a bit specific about what you want. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Abah Joseph" Da

[PHP] Handling multiple form fields

2010-09-10 Thread Abah Joseph
Please i want to seek your opinion on how to handle large form fields, i have a table that contain 30 fields and i`m wondering if there is a better way to automatically create the html form and validate it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Zend framework

2010-09-10 Thread Richard Quadling
On 10 September 2010 02:33, chris h wrote: > Hello all, > > I'm starting a new project and I'm thinking about building it on Zend > framework and possibly Zend server.  I've only used the framework slightly > and I've never really used Zend server.  That being said I hear that the > framework is p

[PHP] Re: Zend framework

2010-09-10 Thread Carlos Medina
Am 10.09.2010 03:33, schrieb chris h: Hello all, I'm starting a new project and I'm thinking about building it on Zend framework and possibly Zend server. I've only used the framework slightly and I've never really used Zend server. That being said I hear that the framework is pretty decent to