Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 22:11 +0800, paragasu wrote: I'm guessing, since you quoted os-commerce and phpBB, you don't know shit code when you see it. Just because it's popular doesn't mean the code is good. Have you ever tried to modify either of these? What a mess. honestly, i don't and not

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 10:07 -0600, Nathan Nobbe wrote: On Tue, Apr 22, 2008 at 9:54 AM, paragasu [EMAIL PROTECTED] wrote: i can only think of copy paste method if i were required to write a PHP application without a single line of code even a simple hello world! application. i am

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 01:02 +0800, paragasu wrote: imagine a cms, like drupal or joomla. you install the thing w/ the web based installer then go through adding content via the web interface; u can do it :D -nathan i am going to miss the fun doing programming then. As a

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers?

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Lester Caine
Tony Marston wrote: Audit logging - http://www.tonymarston.net/php-mysql/auditlog.html Workflow - http://www.tonymarston.net/php-mysql/workflow.html Yuck - MySQL :( A decent database has it's own logging stuff built in ;) And a decent database library does not care which database you use :) I

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Aschwin Wesselius
Lester Caine wrote: 'If it isn't broken don't fix it' causes a problem when YOU know that the step change will make future development easier, but the customers keep asking - 'Can you just add XXX' :( So they actually ask for a porn site? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 13:46 +0200, Aschwin Wesselius wrote: Lester Caine wrote: 'If it isn't broken don't fix it' causes a problem when YOU know that the step change will make future development easier, but the customers keep asking - 'Can you just add XXX' :( So they actually ask

RE: [PHP] Re: php framework vs just php?

2008-04-23 Thread Jay Blanchard
[snip] Let me know when as I could do with a good laugh. [/snip] Fair enough, you have already given me several! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP version 4.3.11. I had been asking it to convert from auto to UTF-8, so at first I thought maybe auto was not the right choice. So I called

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread David Giragosian
At the risk of extending this already looong thread... Ah, screw it. I actually read all of the Radicore documentation on Monday following someone's suggestion last week about module access control. That was before this thread got started, BTW. Now I'm not a Framework guy at all, and I don't

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
A little additional info: The ASCII to ASCII case for Minnie=Mouse is merely because the UTF-8 encoding for Mouse is the same as the ASCII encoding for Mouse, and mb_detect_encoding is matching on ASCII before UTF-8. So that's not an issue. But, the UTF-8 to ASCII case for Minnie=MiƱoso is

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Eric Butera
On Wed, Apr 23, 2008 at 10:40 AM, Robert William Vesterman [EMAIL PROTECTED] wrote: I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP version 4.3.11. I had been asking it to convert from auto

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
OK, now the problem seems to be not that mb_convert_encoding is encoding incorrectly, it's that mb_detect_encoding is detecting incorrectly. It's claiming that the raw string as received from the browser is UTF-8, where in reality it seems to be ISO-8859-1. Sample code:

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
And the culprit is that mb_detect_order() wasn't set up to handle ISO-8859-1. It was ASCII, UTF-8. Changing it to ASCII, UTF-8, ISO-8859-1 makes everything work as expected. Robert William Vesterman wrote: OK, now the problem seems to be not that mb_convert_encoding is encoding incorrectly,

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread tedd
At 11:28 AM -0400 4/23/08, Robert William Vesterman wrote: A little additional info: The ASCII to ASCII case for Minnie=Mouse is merely because the UTF-8 encoding for Mouse is the same as the ASCII encoding for Mouse, and mb_detect_encoding is matching on ASCII before UTF-8. So that's not

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
I wasn't saying I was /telling/ it to go from UTF-8 to ASCII. I was saying it /was/ going from UTF-8 to ASCII, despite the fact that I was telling it to go from UTF-8 to UTF-8. And as noted previously in this thread, it turned out to be because mb_detect_encoding was /mistakenly/ detecting

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread tedd
At 3:35 PM +0100 4/22/08, Stut wrote: Tony Marston wrote: No I'm not. Shocking and unexpected opinion from the developer of a framework. NOT! Anyway, I can see this falling into another lengthy discussion so I'll get my contribution in early to avoid disappointment. As others have

[PHP] :: breakage - post php 5.2.4

2008-04-23 Thread Nathan Nobbe
all, i have observed breakage in some of the class functionality involving the scope resolution operator in php after php 5.2.4. in said version strings holding class names can be used w/ the scope resolution operator to resolve static members and class constants. this no longer works in php

[PHP] Big companies that use PHP?

2008-04-23 Thread Thiago Pojda
Hey guys, I've been asked this common question: What big companies use PHP in big apps? I don't know where to find this kind of stuff and, well. here I am :) Do any of you know? And what % of the web market share does PHP take? Thanks, Thiago Pojda

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread tedd
At 5:24 PM +0300 4/22/08, Sancar Saran wrote: Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... Yes, and I'm programming with it. But, that's what jQuery and I call a library. Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Bastien Koert
On 4/23/08, Thiago Pojda [EMAIL PROTECTED] wrote: Hey guys, I've been asked this common question: What big companies use PHP in big apps? I don't know where to find this kind of stuff and, well. here I am :) Do any of you know? And what % of the web market share does PHP take?

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Eric Butera
On Wed, Apr 23, 2008 at 2:32 PM, Thiago Pojda [EMAIL PROTECTED] wrote: Hey guys, I've been asked this common question: What big companies use PHP in big apps? I don't know where to find this kind of stuff and, well. here I am :) Do any of you know? And what % of the web

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Dan Joseph
On Wed, Apr 23, 2008 at 2:32 PM, Thiago Pojda [EMAIL PROTECTED] wrote: Hey guys, I've been asked this common question: What big companies use PHP in big apps? I don't know where to find this kind of stuff and, well. here I am :) Do any of you know? And what % of the web

RES: [PHP] Big companies that use PHP?

2008-04-23 Thread Thiago Pojda
Just found out that Digg, Flickr, fotolog.com are among those. :) _ De: Bastien Koert [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 15:32 Para: Thiago Pojda Cc: php-general@lists.php.net Assunto: Re: [PHP] Big companies that use PHP? On 4/23/08,

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread mike
We're using it at Intel on a handful of sites... I think my team is the only one though :) The apps aren't really big but we are a big company using it. On 4/23/08, Thiago Pojda [EMAIL PROTECTED] wrote: Hey guys, I've been asked this common question: What big companies use PHP in big apps?

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Nathan Nobbe
On Wed, Apr 23, 2008 at 12:29 PM, tedd [EMAIL PROTECTED] wrote: At 5:24 PM +0300 4/22/08, Sancar Saran wrote: Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... Yes, and I'm programming with it. But, that's what jQuery and I call a library. interestingly,

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Eric Butera
On Wed, Apr 23, 2008 at 2:49 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: interestingly, prototype claims it is a framework. http://www.google.com/search?hl=enq=define%3A+frameworkbtnG=Google+Search Lots of differing opinions. :) Seeing as script.aculo.us and all that stuff is written on

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Nathan Nobbe
On Wed, Apr 23, 2008 at 1:01 PM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 23, 2008 at 2:49 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: interestingly, prototype claims it is a framework. http://www.google.com/search?hl=enq=define%3A+frameworkbtnG=Google+Search Lots of differing

[PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread paragasu
i have seen many php code. i learn php on my own, and during early days with php, i download many open source php project and try to learn the coding on my own. i did see many code (ugly, spaghetti code etc). Some even take me few hours to figure out how it works. But one project using php in a

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread mike
On 4/23/08, paragasu [EMAIL PROTECTED] wrote: But one project using php in a very clean way. The codeis look so simple. yet do so much thing. Personally, i vote for www.eyeos.org project for the best php code. Anyone know better? Yes: mine. :) -- PHP General Mailing List

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 13:14 -0600, Nathan Nobbe wrote: On Wed, Apr 23, 2008 at 1:01 PM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 23, 2008 at 2:49 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: interestingly, prototype claims it is a framework.

RES: [PHP] Big companies that use PHP?

2008-04-23 Thread Thiago Pojda
Thanks everyone for replying, I think those names can change someone's mind ;) -Mensagem original- De: mike [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 15:48 Para: Thiago Pojda Cc: php-general@lists.php.net Assunto: Re: [PHP] Big companies that use PHP? We're

[PHP] Large XML manipulation within PHP

2008-04-23 Thread Steve Gula
I work for a company that has chosen to use XML (Software AG Tamino XML database) as its storage system for an enterprise application. We need to make a system wide change to information within the database that isn't feasible to do through our application's user interface. My solution was to

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bastien Koert
On 4/23/08, Steve Gula [EMAIL PROTECTED] wrote: I work for a company that has chosen to use XML (Software AG Tamino XML database) as its storage system for an enterprise application. We need to make a system wide change to information within the database that isn't feasible to do through our

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Steve Gula
I could but it would make things very difficult. Some of the entities around id # 100 could be affected by entities around id #11000 and would result in a file needing to be manipulated at the same time. Unfortunately, I don't think this is a top to bottom change for the information at hand. On

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Nathan Nobbe
On Wed, Apr 23, 2008 at 1:22 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Wed, 2008-04-23 at 13:14 -0600, Nathan Nobbe wrote: On Wed, Apr 23, 2008 at 1:01 PM, Eric Butera [EMAIL PROTECTED] wrote: On Wed, Apr 23, 2008 at 2:49 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Nathan Nobbe
On Wed, Apr 23, 2008 at 2:26 PM, Thiago Pojda [EMAIL PROTECTED] wrote: Thanks everyone for replying, I think those names can change someone's mind ;) i know where youre coming from; i recall a certain manager once saying to me 'php doesnt scale when it goes OO'. i wanted to take his head

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Stut
On 23 Apr 2008, at 21:41, Steve Gula wrote: I could but it would make things very difficult. Some of the entities around id # 100 could be affected by entities around id #11000 and would result in a file needing to be manipulated at the same time. Unfortunately, I don't think this is a

Re: RES: [PHP] Big companies that use PHP?

2008-04-23 Thread Wolf
Thiago Pojda [EMAIL PROTECTED] wrote: Thanks everyone for replying, I think those names can change someone's mind ;) -Mensagem original- De: mike [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 15:48 Para: Thiago Pojda Cc: php-general@lists.php.net

Re: RES: [PHP] Big companies that use PHP?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 16:54 -0400, Wolf wrote: Thiago Pojda [EMAIL PROTECTED] wrote: Thanks everyone for replying, I think those names can change someone's mind ;) -Mensagem original- De: mike [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread @4u
Hi, How about expat with custom XML handlers? Should work even with an 32 MB memory limit. It will just take some time ... Have fun Bastien Koert schrieb: On 4/23/08, Steve Gula [EMAIL PROTECTED] wrote: I work for a company that has chosen to use XML (Software AG Tamino XML database) as

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bojan Tesanovic
In that case you may want to try XMLReader as it doesn't load all XML into memory. If that doesn't help that you will need to do custom parser application for you need. using XMLReader to read through whole XML chunking it with eg every 5000 items and storing those chunks on disk. Than

[PHP] Testing HTTPS without certificate

2008-04-23 Thread Ken Kixmoeller
Hi - - - - -- I have a typical setup -- my development machine, a testing server and, of course, the production server. My development machine, of course, doesn't have a Secure certificate, yet I need to be able to test https pages here, before getting to the testing server.

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Shawn McKenzie
Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by

[PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
Ken Kixmoeller wrote: Hi - - - - -- I have a typical setup -- my development machine, a testing server and, of course, the production server. My development machine, of course, doesn't have a Secure certificate, yet I need to be able to test https pages here, before getting to the

Re: [PHP] Testing HTTPS without certificate

2008-04-23 Thread mike
just use a self-signed cert. there should be a lot of examples out there for that. On 4/23/08, Ken Kixmoeller [EMAIL PROTECTED] wrote: Hi - - - - -- I have a typical setup -- my development machine, a testing server and, of course, the production server. My development machine, of

Re: [PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Ken Kixmoeller.com
On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote: Ken Kixmoeller wrote: I know how to test for the existance of HTTPS, and stuff like that. So: Can one test https on a local machine? Resources, anyone? I have Googled my fingers off. Why not just generate a free self-signed certificate

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Shawn McKenzie
Robert Cummings wrote: On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip]

Re: [PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
Ken Kixmoeller.com wrote: On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote: Ken Kixmoeller wrote: I know how to test for the existance of HTTPS, and stuff like that. So: Can one test https on a local machine? Resources, anyone? I have Googled my fingers off. Why not just generate a free

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 20:32 -0500, Shawn McKenzie wrote: Robert Cummings wrote: On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: Jay Blanchard

[PHP] Newbie select statement questions 'WHERE'

2008-04-23 Thread revDAVE
NEWBIE! I have some GET data coming from a previous search form. How do I add the WHERE part ? orig: $query_get1 = SELECT p_First, p_id, p_Last, p_Lvl, p_Sel FROM contacts; --W / WHERE...??? $query_get1 = SELECT p_First, p_id, p_Last, p_Lvl, p_Sel FROM contacts WHERE p_First like

Re: [PHP] Newbie select statement questions 'WHERE'

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 19:07 -0700, revDAVE wrote: NEWBIE! I have some GET data coming from a previous search form. How do I add the WHERE part ? orig: $query_get1 = SELECT p_First, p_id, p_Last, p_Lvl, p_Sel FROM contacts; --W / WHERE...??? $query_get1 = SELECT p_First, p_id,

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread paragasu
Yes: mine. kind enough to let me see your code .. =)

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread mike
Some day I'll package up some stuff and release it. Sadly I have nothing worthwhile out in public right now. On 4/23/08, paragasu [EMAIL PROTECTED] wrote: Yes: mine. kind enough to let me see your code .. =) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread paragasu
Some day I'll pac Sadly I have nothing worthwhile out in public right now. everything is relative in this small world. honestly, just like you, i also tend to think my code is good (of course because i wrote it).. personal opinion is different than what the public might say. some day, when

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-23 Thread mike
i'm confident, there just isn't much use to the barrage of snippets and customized stuff. i am in the middle of some useful, generic code, we're using it where i work, but it isn't in any sort of distributable fashion at the moment. it almost mirrors the idea of the zend framework, but in a