php-general Digest 30 Dec 2008 15:44:50 -0000 Issue 5873

2008-12-30 Thread php-general-digest-help
php-general Digest 30 Dec 2008 15:44:50 - Issue 5873 Topics (messages 285221 through 285232): Re: Architecture patterns in PHP 285221 by: Sancar Saran 285222 by: Manuel Lemos 285224 by: Daniel Kolbo 285225 by: Nathan Nobbe 285226 by: Manuel Lemos

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Nathan Nobbe
On Tue, Dec 30, 2008 at 12:26 AM, Manuel Lemos mle...@acm.org wrote: Hello, on 12/30/2008 05:07 AM Nathan Nobbe said the following: How do you structure your web applications? I am thinking in terms of separating presentation and logic. How is that done in PHP? And how many architecture

Re: [PHP] Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/28 tedd tedd.sperl...@gmail.com: So I would prefer to remove everythink and start all over . He's talking about everythink. Whenever I do that, I have problems too. Interestingly enough, today I opened Dan Kegel's (of Wine fame) website and was greeted with this: Dan Kegel's Web

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Nathan Nobbe
On Tue, Dec 30, 2008 at 1:05 AM, Nathan Nobbe quickshif...@gmail.comwrote: plus did you see the part about 'cleaning up the include path'. moving to require at the outer layer and as far in as possible, basically. thats a really good idea, and it looks like this 'includes' extension lol,

[PHP] Re: Webhotel structure

2008-12-30 Thread Peter Sorensen
Hi Carlos Thanks for trying to help. As a newbie on web design I was looking for help on about everythink, as a newbie you don't know which questions to ask. With help from other sources I found out how to wipe my webhotel and start over. After a fresh install of coppermin I still had

[PHP] Re: Webhotel structure

2008-12-30 Thread Carlos Medina
Peter Sorensen schrieb: Hi Carlos Thanks for trying to help. As a newbie on web design I was looking for help on about everythink, as a newbie you don't know which questions to ask. With help from other sources I found out how to wipe my webhotel and start over. After a fresh install of

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/30 Peter Sorensen nordstjerneall...@gmail.com: Hi Carlos Thanks for trying to help. As a newbie on web design I was looking for help on about everythink, as a newbie you don't know which questions to ask. With help from other sources I found out how to wipe my webhotel and start

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Eric Butera
On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe quickshif...@gmail.com wrote: on 12/30/2008 01:13 AM Sancar Saran said the following: and please read this why http://talks.php.net/show/drupal08/0 it also acts as a nice control mechanism to compare so many frameworks, trivial php, and html.

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Nathan Nobbe
On Tue, Dec 30, 2008 at 10:15 AM, Eric Butera eric.but...@gmail.com wrote: On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe quickshif...@gmail.com wrote: on 12/30/2008 01:13 AM Sancar Saran said the following: and please read this why http://talks.php.net/show/drupal08/0 it also acts

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Eric Butera
On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Dec 30, 2008 at 10:15 AM, Eric Butera eric.but...@gmail.com wrote: On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe quickshif...@gmail.com wrote: on 12/30/2008 01:13 AM Sancar Saran said the following: and

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 17:44 +0200, Dotan Cohen wrote: 2008/12/30 Peter Sorensen nordstjerneall...@gmail.com: Peter, the list had a laugh at your expense, as you used some incorrect words in what turned out to be a funny manner for those fluent in English. 1) Webhotel is called web hosting

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 12:15 -0500, Eric Butera wrote: On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe quickshif...@gmail.com wrote: on 12/30/2008 01:13 AM Sancar Saran said the following: and please read this why http://talks.php.net/show/drupal08/0 it also acts as a nice control

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote: On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe I was following the blog tutorial on cake and here's what I got from hitting the post/index page: 081230 12:51:55 316 Connect r...@localhost on 316 Init DB

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Nathan Nobbe
On Tue, Dec 30, 2008 at 11:07 AM, Robert Cummings rob...@interjinn.comwrote: On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote: On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe I was following the blog tutorial on cake and here's what I got from hitting the post/index page: 081230

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Eric Butera
On Tue, Dec 30, 2008 at 1:07 PM, Robert Cummings rob...@interjinn.com wrote: On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote: On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe I was following the blog tutorial on cake and here's what I got from hitting the post/index page: 081230 12:51:55

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Nathan Nobbe
On Tue, Dec 30, 2008 at 11:24 AM, Eric Butera eric.but...@gmail.com wrote: On Tue, Dec 30, 2008 at 1:07 PM, Robert Cummings rob...@interjinn.com wrote: On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote: On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe I was following the blog tutorial

[PHP] PHP telnet server

2008-12-30 Thread Luke Slater
Hi everyone, I'm trying to rewrite an old MUD in PHP; the reasons for this are that the original is written in C and most files in the codebase run over 2000 lines with at least 20 of them, which makes it very hard to change anything. Plus, the web interface is also written in C, and

Re: [PHP] PHP telnet server

2008-12-30 Thread Brian A. Seklecki
On Tue, 30 Dec 2008, Luke Slater wrote: Hi everyone, A quick read over Stevens` A.P.U.E. and UNIX Network Programing Vol. 1 should familarize you with multi-threaded TCP/IP daemon development. ~BAS 1. http://www.kohala.com/start/apue.html -- PHP General Mailing List

[PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Daniel Brown
To hell with being on-topic, since this list is generally never on-topic for an entire thread anyway. This has been a roller-coaster year for some of us --- certainly myself included --- but the year has come to a close. I want to take a moment to wish each and every one of you a safe

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Manuel Lemos
Hello, on 12/30/2008 04:27 PM Nathan Nobbe said the following: I was following the blog tutorial on cake and here's what I got from hitting the post/index page: 081230 12:51:55 316 Connect r...@localhost on 316 Init DB cake 316 Query

Re: [PHP] PHP telnet server

2008-12-30 Thread ceo
I often thought PHP would be a nice language for a MUD, if one could get the performance out of it... 'Course you could always write some of the heaviest bits as extensions... Anyway, I don't think you need the connections to be shared in any special way. Just update your data store

Re: [PHP] PHP telnet server

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 21:12 +, Luke Slater wrote: Hi everyone, I'm trying to rewrite an old MUD in PHP; the reasons for this are that the original is written in C and most files in the codebase run over 2000 lines with at least 20 of them, which makes it very hard to change anything.

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/30 Nordstjernealle 10 nordstjerneall...@gmail.com: Hi Dotan I am glad I can at least be funny. I must admit I am a bit lazy when it comes to write perfect english in mails. I believe we can do better with our time. In this particulary case the result was below acceptable levels.

Re: [PHP] PHP telnet server

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 16:21 -0500, Brian A. Seklecki wrote: On Tue, 30 Dec 2008, Luke Slater wrote: Hi everyone, A quick read over Stevens` A.P.U.E. and UNIX Network Programing Vol. 1 should familarize you with multi-threaded TCP/IP daemon development. Couple of problems... 1. he

Re: [PHP] PHP telnet server

2008-12-30 Thread Daniel Brown
On Tue, Dec 30, 2008 at 16:34, c...@l-i-e.com wrote: I often thought PHP would be a nice language for a MUD, if one could get the performance out of it... 'Course you could always write some of the heaviest bits as extensions... Indeed. I had written a very simple control-panel-like

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Daniel Brown
On Tue, Dec 30, 2008 at 16:37, Dotan Cohen dotanco...@gmail.com wrote: 2008/12/30 Nordstjernealle 10 nordstjerneall...@gmail.com: Hi Dotan I am glad I can at least be funny. I must admit I am a bit lazy when it comes to write perfect english in mails. I believe we can do better with our

Re: [PHP] PHP telnet server

2008-12-30 Thread Manuel Lemos
Hello, There are plenty of ready to use solutions to build TCP servers. Here are some of them: Simple TCP Daemon http://www.phpclasses.org/daemon Generic socket based networking servers http://www.phpclasses.org/clssocket Implement TCP socket server scripts http://www.phpclasses.org/flosocket

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Bastien Koert
On Tue, Dec 30, 2008 at 4:32 PM, Daniel Brown danbr...@php.net wrote: To hell with being on-topic, since this list is generally never on-topic for an entire thread anyway. This has been a roller-coaster year for some of us --- certainly myself included --- but the year has come to a

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Kirk . Johnson
And as a side note (some of you already know): for my wife and I closing out the year, we heard the heartbeat of our first child for the first time today in the ultrasound. Congrats on the new critter to be...they are a lot of fun after the first year of eating sleeping and pooping

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 16:32 -0500, Daniel Brown wrote: To hell with being on-topic, since this list is generally never on-topic for an entire thread anyway. This has been a roller-coaster year for some of us --- certainly myself included --- but the year has come to a close. I want to

Re: [PHP] PHP telnet server

2008-12-30 Thread Luke Slater
That supersocket class certainly seems good enough to get me started, thanks everyone! On Tue, 30 Dec 2008, Manuel Lemos wrote: Hello, There are plenty of ready to use solutions to build TCP servers. Here are some of them: Simple TCP Daemon http://www.phpclasses.org/daemon Generic socket

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Stuart
2008/12/30 Daniel Brown danbr...@php.net: This has been a roller-coaster year for some of us --- certainly myself included --- but the year has come to a close. I want to take a moment to wish each and every one of you a safe and wonderful new year. May 2009 be ten times healthier,

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread tedd
At 4:32 PM -0500 12/30/08, Daniel Brown wrote: To hell with being on-topic, since this list is generally never on-topic for an entire thread anyway. This has been a roller-coaster year for some of us --- certainly myself included --- but the year has come to a close. I want to take a

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread tedd
At 5:44 PM +0200 12/30/08, Dotan Cohen wrote: 1) Webhotel is called web hosting in English. 2) Everythink should probably be everything. Everythink sounds like you are thying to think about the entire universe at the same Dotan: Thanks for the clarification -- I was thinking it could have

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread VamVan
On Tue, Dec 30, 2008 at 2:22 PM, tedd tedd.sperl...@gmail.com wrote: At 4:32 PM -0500 12/30/08, Daniel Brown wrote: To hell with being on-topic, since this list is generally never on-topic for an entire thread anyway. This has been a roller-coaster year for some of us --- certainly

[PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-30 Thread Murray
Hi All, I've been vaguely aware that more and more effort is going into proving that MD5 isn't secure anymore, but this article in particular - http://www.win.tue.nl/hashclash/rogue-ca/ - has me wondering if MD5 is still safe for storing hashed user passwords? I realise that article is talking

Re: [PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-30 Thread Phpster
I would guess that a properly salted hash would still be safe enough for most sites. Just a hash of the password is not enough as there are readily available hash tables where you can look up the password just by supplying the hash. Sha-1 is a better alternative for hashing but I would

Re: [PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-30 Thread APseudoUtopia
On Tue, Dec 30, 2008 at 9:02 PM, Murray planetthought...@gmail.com wrote: Hi All, I've been vaguely aware that more and more effort is going into proving that MD5 isn't secure anymore, but this article in particular - http://www.win.tue.nl/hashclash/rogue-ca/ - has me wondering if MD5 is

[PHP] Encryption/decryption of PHP data

2008-12-30 Thread Edward Diener
My client application needs to send data to a PHP page in encrypted form and have the PHP code able to decrypt it. Likewise the PHP code needs to return data to my application encrypted and my client application needs to be able to decrypt it. My application is written in C++ and naturally the

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/31 tedd tedd.sperl...@gmail.com: Everythink about getin' a job? There's that word again! You keep using that word. I do not think that it means what you think it means. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il