php-general Digest 21 Jul 2007 19:20:11 -0000 Issue 4916

2007-07-21 Thread php-general-digest-help
php-general Digest 21 Jul 2007 19:20:11 - Issue 4916 Topics (messages 259291 through 259310): Re: Pirate PHP books online? 259291 by: Crayon Shin Chan 259293 by: Jim Lucas 259294 by: Dotan Cohen 259295 by: Crayon Shin Chan 259296 by: Crayon Shin Chan

[PHP] How to skipping the range of values from each element of array??

2007-07-21 Thread sivasakthi
Hi All, I have an array like that below, array( 'test %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %rv %st', 'squid %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %ea %st %st %lp' 'tmp %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A % mt

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 04:15, Tijnema wrote: Old paper can be recycled, lost energy from computers can't ;) Recycling old paper use energy as well. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to skipping the range of values from each element of array??

2007-07-21 Thread Jim Lucas
sivasakthi wrote: Hi All, I have an array like that below, array( 'test %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %rv %st', 'squid %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %ea %st %st %lp' 'tmp %ts.%03tu %6tr %a %Ss/%03Hs %st %rm

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Jim Lucas
Crayon Shin Chan wrote: On Saturday 21 July 2007 04:15, Tijnema wrote: Old paper can be recycled, lost energy from computers can't ;) Recycling old paper use energy as well. more then likely, recycling a stack of newspapers would cost more then running my computer for a month. -- Jim

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 16:20, Jim Lucas wrote: more then likely, recycling a stack of newspapers would cost more then running my computer for a month. Also reminds me of how some people (especially Americans) who drive miles and miles in their big gas-guzzling SUVs so they could drop off

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Dotan Cohen
On 21/07/07, Crayon Shin Chan [EMAIL PROTECTED] wrote: On Saturday 21 July 2007 04:15, Tijnema wrote: Old paper can be recycled, lost energy from computers can't ;) Recycling old paper use energy as well. Oh, the entropy! I believe that the topic was well covered in Asimov's The Last

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 08:58, Richard Lynch wrote: In the olden days, it often turned into slash the cover and donate it and collect tax break, I do believe, but I think that practice was decried and has decreased. Just curious, which part was decried: slash the cover or donate it and

[PHP] PHP parent-child form

2007-07-21 Thread Man-wai Chang
Is there a good book that shows good techniques in coding parent-child forms, for example, an invoice object which has a header(invoice no, date, customer code, invoice total) and multiple items (item no, item name, quantity, price, amount)? -- @~@ Might, Courage, Vision, SINCERITY. / v \

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 10:24, Jim Lucas wrote: So, I guess to sum up what the guy is talking about, I think he is right. Some of us might have been DDOSed from making posts on this list. my email address points right back to my web server. What does everybody else think? There are

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread AmirBehzad Eslami
What is difference between Zend Framwork and other frameworks like CakePHP? I'm trying to develop a sample blog for educational purposes in Zend Framwork, but some times I feel that I'm learning a new language or a new programming paradigm. On 7/21/07, Larry Garfield [EMAIL PROTECTED] wrote:

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-07-21 Thread Wesley Acheson
From: Richard Lynch [EMAIL PROTECTED] To: Vanessa Vega [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 16:39:51 -0500 (CDT) Subject: Re: [PHP] session_start(): Cannot send session cache limiter... On Fri, July 20, 2007 3:17 am, Paul Scott wrote: On Fri, 2007-07-20 at 16:01 +0800, Vanessa Vega wrote:

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread David Powers
Richard Lynch wrote: I've got a pretty good idea what your advance was, and what your royalties are. I suspect that your estimate of the advances paid by Apress/friends of Ed is inflated. Royalties are no secret: Apress publishes its standard contract on the web for prospective authors to

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Dotan Cohen
On 21/07/07, Crayon Shin Chan [EMAIL PROTECTED] wrote: On Saturday 21 July 2007 10:24, Jim Lucas wrote: So, I guess to sum up what the guy is talking about, I think he is right. Some of us might have been DDOSed from making posts on this list. my email address points right back to my web

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Greg Donald
On 7/20/07, Larry Garfield [EMAIL PROTECTED] wrote: I saw no reason to learn Yet Another Markup Language (I can't take seriously any markup system that acknowledges that it serves no useful purpose) and YAML takes 5 minutes to learn. It's very useful for quickly adding test fixtures to Rails

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Greg Donald
On 7/21/07, AmirBehzad Eslami [EMAIL PROTECTED] wrote: What is difference between Zend Framwork and other frameworks like CakePHP? In a nutshell Zend Framework if bigger, heavier, and does more stuff. I find many parts of it look exactly like parts from the Mojavi MVC framework. Could be a

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Larry Garfield
On Friday 20 July 2007, Richard Lynch wrote: Perhaps your day job should stop paying you, because after you've spent that time, you'll never get it back? Is this make up things that Larry said day? It must be, because I know you're not that stupid, Richard. If my boss doesn't pay

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Larry Garfield
On Friday 20 July 2007, Richard Lynch wrote: On Wed, July 18, 2007 6:35 am, Jay Blanchard wrote: [snip] Artificially created by the law, yes. [/snip] Just curious, if this artificiality did not exist what could an author's reasonable expectation be? Starvation. I eat quite well

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Larry Garfield
Disclaimer: I have not used Zend Framework. What I am about to say is based on a blog entry by someone whose name I forget so I can't go track it down now. :-) CakePHP, Symfony, Drupal, etc. are full stack systems. That is, they provide an integrated structure and you match your development

Re: [PHP] PHP Performance and System Load

2007-07-21 Thread Nathan Nobbe
on the point of class size; i think this is more a design issue than a performance issue. i worked at a place where we had several files w/ classes that were several thousand lines in size. one i remember was over 6000 lines long. personally i would never let something grow that large, but all

Re: [PHP] About Login Authentication

2007-07-21 Thread Nathan Nobbe
heres an article http://phpsec.org/articles/2005/password-hashing.htmlfrom the php security consortium. -nathan On 7/21/07, Stephen Johnson [EMAIL PROTECTED] wrote: What type of authentication are you looking to do ??? How secure, and how detailed do you want to be with it? On 7/20/07 9:49

[PHP] Re: Save email as .eml file

2007-07-21 Thread Manuel Lemos
Hello, on 07/18/2007 10:56 AM Rosen said the following: Hi, Is there a way to create e-mail with PHP and save it to .eml file (without sending)? You can use the GetMessage function of this class. It can compose messages like you want, and then it can return the composed message in .eml format

[PHP] Re: filter input; escape output; Email Text

2007-07-21 Thread Manuel Lemos
Hello, on 07/20/2007 06:03 PM Richard Lynch said the following: So, I'm trying to be more consistent about escaping my output. I do something like this (only prettier): if (!isset($_REQUEST['blah_id'])) error_out(Bad blah_id input); $blah_id = (int) $_REQUEST['blah_id']; $blah_id_sql =

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Dotan Cohen
On 21/07/07, Larry Garfield [EMAIL PROTECTED] wrote: I never said that artificial laws should all be thrown out. They should, however, be understood in their proper context. A physical object can only be in the possession of one person at a time, per the laws of physics. Property law enhances

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Stut
Dotan Cohen wrote: On 21/07/07, Larry Garfield [EMAIL PROTECTED] wrote: Speeding while driving is also an artificial law in that regard, as there is no physical law that says a car can only go 30 mph. That doesn't make speeding OK or less illegal, it just means that it is not a natural law.

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Jim Lucas
Crayon Shin Chan wrote: On Saturday 21 July 2007 10:24, Jim Lucas wrote: So, I guess to sum up what the guy is talking about, I think he is right. Some of us might have been DDOSed from making posts on this list. my email address points right back to my web server. What does everybody

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Jim Lucas
Dotan Cohen wrote: On 21/07/07, Crayon Shin Chan [EMAIL PROTECTED] wrote: On Saturday 21 July 2007 10:24, Jim Lucas wrote: So, I guess to sum up what the guy is talking about, I think he is right. Some of us might have been DDOSed from making posts on this list. my email address points

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Chris Shiflett
David Powers wrote: I suspect that your estimate of the advances paid by Apress/friends of Ed is inflated. Royalties are no secret: Apress publishes its standard contract on the web for prospective authors to see. The basic rate is 10% of the net income received by the publisher. Since heavy

[PHP] Bundled GD compiling?

2007-07-21 Thread Hayden Livingston
I'm confused as to certain issues regarding the bundled version. The documentation says:: To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile. Note: When

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread AmirBehzad Eslami
I'm living in a country where people do not afford to buy real books. Most people earn $250~$400 per month. $50 for a book is too damn expensive. In addition, since US has restricted business with us, no body ships books to us. And we don't have Credit Card, since Master Card, Visa, Paypal do not

Re: [PHP] session_decode from session handler

2007-07-21 Thread Jeffery Fernandez
I have a similar problem I am facing with session data stored in the database from the set_session_handler. What I am trying to do is show a list of online users and the page they are currenlty viewing. For this purpose I am query the sessions table to get the list of session and from that I

Re: [PHP] session_decode from session handler

2007-07-21 Thread Jeffery Fernandez
On Sunday 22 July 2007 14:19, Jeffery Fernandez wrote: I have a similar problem I am facing with session data stored in the database from the set_session_handler. What I am trying to do is show a list of online users and the page they are currenlty viewing. For this purpose I am query the

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Dotan Cohen
On 22/07/07, AmirBehzad Eslami [EMAIL PROTECTED] wrote: I'm living in a country where people do not afford to buy real books. Most people earn $250~$400 per month. $50 for a book is too damn expensive. In addition, since US has restricted business with us, no body ships books to us. And we don't

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Dotan Cohen
On 22/07/07, Jim Lucas [EMAIL PROTECTED] wrote: It might also query SPF records. That could lead to server load as well, as could anything else that 'leads to your server'. But I doubt that a favicon, even if requested by 1000 clients going over the archives in an hour, would cause heavy