Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Sebastian Krebs
2013/5/16 Tedd Sperling tedd.sperl...@gmail.com -Dan: I teach this stuff and still don't fully understand the why/when for interfaces. Even the guru's I talk with can't give me a good explanation as to what the advantages are in using them. I've done a lot of experimenting and can't see

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Bastien
Bastien Koert On 2013-05-16, at 5:28 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: -Dan: I teach this stuff and still don't fully understand the why/when for interfaces. Even the guru's I talk with can't give me a good explanation as to what the advantages are in using them. I've

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Tedd Sperling
Thanks to both Bastien and Sebastian: While I understand that an interface is like an abstract Class, in that you don't have to flesh-out your methods, but rather where you define exactly how Classes who implement that interface will be required to flesh-out those methods. But so what? What's

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Nick Khamis
interface Shape { public double getArea(); } class Circle implements Shape { double radius; public Circle(int double radius) { this.radius = radius; } public double getArea() { return (radius * radius * 3.1415); } } class Square implements Shape { double side;

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Larry Garfield
On 05/16/2013 06:45 PM, Tedd Sperling wrote: Thanks to both Bastien and Sebastian: While I understand that an interface is like an abstract Class, in that you don't have to flesh-out your methods, but rather where you define exactly how Classes who implement that interface will be required to

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Hey Guys, Thanks for all this good information so far. I'll keep you posted on my edumacation! -Dan On Thu, May 16, 2013 at 11:16 PM, Larry Garfield la...@garfieldtech.comwrote: On 05/16/2013 06:45 PM, Tedd Sperling wrote: Thanks to both Bastien and Sebastian: While I understand that an

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread tamouse mailing lists
Back to the OP's request, Ken Pugh's Interface Oriented Design goes quite a long way in describing OO* and directly to the heart of why interfaces make so much sense as a way of designing your code. It does not show PHP examples, it tries to remain agnostic to language.

Re: [PHP] undef func - any more clues ?

2013-05-14 Thread georg
an error in errorhandling ?, i.e. other cause) /georg - Original Message - From: Jim Lucas li...@cmsws.com To: georg georg.chamb...@telia.com Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net Sent: Tuesday, May 14, 2013 3:25 AM Subject: Re: [PHP] undef func - any more clues ? On 05/12

Re: [PHP] undef func - any more clues ?

2013-05-14 Thread Jim Lucas
- Original Message - From: Jim Lucas li...@cmsws.com To: georg georg.chamb...@telia.com Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net Sent: Tuesday, May 14, 2013 3:25 AM Subject: Re: [PHP] undef func - any more clues ? On 05/12/2013 10:34 AM, georg wrote: Hi Im not really

Re: [PHP] undef func - any more clues ?

2013-05-13 Thread georg
of what Im really doing I got through tnx /georg - Original Message - From: georg To: David OBrien Sent: Sunday, May 12, 2013 9:00 PM Subject: Re: [PHP] undef func - any more clues ? found this that might be right (64 what does that stand for, i have to my knowledge a 32bit

Re: [PHP] undef func - any more clues ?

2013-05-13 Thread Jim Lucas
On 05/12/2013 10:34 AM, georg wrote: Hi Im not really following, I have done: pecl list-all ; but dont find anything that has to do with ODBC so still stuck with Apache error log saying : no such function (or eqiv speak) odbc_connect() tnx Georg I am using a CentOS 6.4 system as a work

Re: [PHP] undef func - any more clues ?

2013-05-12 Thread georg
To: georg georg.chamb...@telia.com Cc: James Yerge ja...@nixsecurity.org; PHP General php-general@lists.php.net Sent: Saturday, May 11, 2013 12:05 PM Subject: Re: [PHP] undef func - any more clues ? On Sat, 2013-05-11 at 11:36 +0200, georg wrote: Hi again, is there any more clues to how Apache/PHP

Re: [PHP] Re: Sync CSV files with MySQL Database.

2013-05-12 Thread tamouse mailing lists
On Sat, May 11, 2013 at 9:41 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/11/2013 12:57 AM, Carlos Sura wrote: Hello mates, Perhaps this seems to be a silly question, but it is not to me, here is the scenario: I know how to import CSV files with PHP to a MySQL database, the

Re: [PHP] Having a problem with clone.

2013-05-11 Thread Marco Behnke
Am 10.05.13 11:35, schrieb Richard Quadling: Trying to clone an uncloneable object of class Smarty_Variable Different PHP versions maybe? Look at this thread I found: http://wordpress.org/support/topic/fatal-error-trying-to-clone-an-uncloneable-object-of-class-reflectionclass The last post --

Re: [PHP] Having a problem with clone.

2013-05-11 Thread Richard Quadling
On 11 May 2013 09:52, Marco Behnke ma...@behnke.biz wrote: Am 10.05.13 11:35, schrieb Richard Quadling: Trying to clone an uncloneable object of class Smarty_Variable Different PHP versions maybe? Look at this thread I found:

Re: [PHP] undef func - any more clues ?

2013-05-11 Thread georg
- Original Message - From: georg georg.chamb...@telia.com To: James Yerge ja...@nixsecurity.org Cc: PHP General php-general@lists.php.net Sent: Saturday, May 11, 2013 12:47 AM Subject: Re: [PHP] undef func Ok, txn ! so yum install php-devel worked, and got me a hole lot of pearl, however, still

Re: [PHP] undef func - any more clues ?

2013-05-11 Thread Ashley Sheridan
?) directories (given by paths))) / Georg - Original Message - From: georg georg.chamb...@telia.com To: James Yerge ja...@nixsecurity.org Cc: PHP General php-general@lists.php.net Sent: Saturday, May 11, 2013 12:47 AM Subject: Re: [PHP] undef func Ok, txn ! so

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard Quadling wrote: Hi. I'm having an issue where I get ... Fatal error:

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:18, Richard Quadling rquadl...@gmail.com wrote: On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Nick Whiting
Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard Quadling wrote: Hi. I'm having an issue where I get ... Fatal error: Trying to clone an uncloneable object of class Smarty_Variable in

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory

Re: [PHP] undef func

2013-05-10 Thread tamouse mailing lists
On Fri, May 10, 2013 at 12:23 PM, Daniel Brown danbr...@php.net wrote: On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Aren't DLLs a Windows thing? Yeah, I misread the bit about MS XP and thought he was using XP for this install. I just realized the remainder of the discussion between us was off-list, so - for posterity -

Re: [PHP] undef func

2013-05-10 Thread georg
-general@lists.php.net Sent: Friday, May 10, 2013 9:21 PM Subject: Re: [PHP] undef func On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Aren't DLLs a Windows thing? Yeah, I misread the bit about MS XP and thought he was using XP for this install. I just

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
yum renders no such package - Original Message - From: Daniel Brown danbr...@php.net To: tamouse mailing lists tamouse.li...@gmail.com Cc: georg georg.chamb...@telia.com; PHP General php-general@lists.php.net Sent: Friday, May 10, 2013 9:21 PM Subject: Re: [PHP] undef func

Re: [PHP] undef func

2013-05-10 Thread georg
noop, didnt take, no such package, was my reward /georg - Original Message - From: Gabriel Ricci To: georg Cc: Daniel Brown ; tamouse mailing lists ; PHP General Sent: Friday, May 10, 2013 11:06 PM Subject: Re: [PHP] undef func To have pecl, you need to install PEAR

Re: [PHP] undef func

2013-05-10 Thread Serge Fonville
: Re: [PHP] undef func To have pecl, you need to install PEAR first, yum install php-pear (or yum install php5-pear) should work. Then you can try pecl install pdo_odbc. Att. Gabriel Ricci Website Follow @gabrielricci Facebook profile, GitHub

Re: [PHP] undef func

2013-05-10 Thread georg
/php followed by Error phpize failed /georg - Original Message - From: Serge Fonville To: georg Cc: Gabriel Ricci ; Daniel Brown ; tamouse mailing lists ; PHP General Sent: Friday, May 10, 2013 11:41 PM Subject: Re: [PHP] undef func Assuming OP is using a distro

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
Browndanbr...@php.net; tamouse mailing lists tamouse.li...@gmail.com ; PHP Generalphp-general@lists.php.net *Sent:* Friday, May 10, 2013 11:41 PM *Subject:* Re: [PHP] undef func Assuming OP is using a distro that uses yum for package management; A yum whatprovides pecl should provide

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
...@gmail.com *To:* georg georg.chamb...@telia.com *Cc:* Gabriel Ricci gabrielri...@gmail.com ; Daniel Browndanbr...@php.net; tamouse mailing lists tamouse.li...@gmail.com ; PHP Generalphp-general@lists.php.net *Sent:* Friday, May 10, 2013 11:41 PM *Subject:* Re: [PHP] undef func Assuming OP

Re: [PHP] undef func

2013-05-10 Thread James Yerge
...@telia.com *Cc:* Gabriel Ricci gabrielri...@gmail.com ; Daniel Browndanbr...@php.net; tamouse mailing lists tamouse.li...@gmail.com ; PHP Generalphp-general@lists.php.net *Sent:* Friday, May 10, 2013 11:41 PM *Subject:* Re: [PHP] undef func Assuming OP is using a distro that uses yum for package

Re: [PHP] undef func

2013-05-10 Thread Ashley Sheridan
...@gmail.com *To:* georg georg.chamb...@telia.com *Cc:* Gabriel Ricci gabrielri...@gmail.com ; Daniel Browndanbr...@php.net; tamouse mailing lists tamouse.li...@gmail.com ; PHP Generalphp-general@lists.php.net *Sent:* Friday, May 10, 2013 11:41 PM *Subject:* Re: [PHP] undef func Assuming OP

Re: [PHP] undef func

2013-05-10 Thread georg
Subject: Re: [PHP] undef func On 05/10/2013 06:08 PM, Gabriel Ricci wrote: pear isntall php-dev Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook profile http://www.facebook.com/gabrielricci2, GitHub

Re: [PHP] FW:

2013-05-08 Thread Daniel Brown
If you're going to send hack attempts, at least adjust your clock so that it doesn't look like it took almost a month for your SPAM to get here. We're not the Pony Express. (And, no, PHP doesn't stand for Produced by Horses Ponies.) On Thu, Apr 11, 2013 at 11:43 AM, Paul Novitski

Re: [PHP]

2013-05-08 Thread Tedd Sperling
On May 8, 2013, at 12:50 PM, Daniel Brown danbr...@php.net wrote: If you're going to send hack attempts, at least adjust your clock so that it doesn't look like it took almost a month for your SPAM to get here. We're not the Pony Express. (And, no, PHP doesn't stand for Produced by Horses

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: PS: PHP + Produced by Horses Ponies. ? You got too much time on your hands Daniel. Sometimes I wish that were the case. Honestly, I think it's having a three-and-a-half-year-old daughter that's rubbing off on

Re: [PHP]

2013-05-08 Thread David OBrien
On Wed, May 8, 2013 at 1:22 PM, Daniel Brown danbr...@php.net wrote: On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: PS: PHP + Produced by Horses Ponies. ? You got too much time on your hands Daniel. And yes, I just made up the word acronymize. That would

Re: [PHP] FW:

2013-05-08 Thread Dan Joseph
Yo, (And, no, PHP doesn't stand for Produced by Horses Ponies.) This is completely devastating -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP] FW:

2013-05-08 Thread Ashley Sheridan
Dan Joseph dmjos...@gmail.com wrote: Yo, (And, no, PHP doesn't stand for Produced by Horses Ponies.) This is completely devastating Just noticed the original link has a nasty payload for android, I assume the same applies for other OSs (probably best not to check!) -- Sent from

RE: [PHP]

2013-05-08 Thread Steven Staples
So you're just lucky I didn't acronymize it as the Pretty House of Princesses or something. And yes, I just made up the word acronymize. It may be Wednesday, but it feels more like a Friday. Why does this feel like a new function/feature for PHP now? Function acronymize($acronym) {

RE: [PHP]

2013-05-08 Thread Ashley Sheridan
Steven Staples sstap...@mnsi.net wrote: So you're just lucky I didn't acronymize it as the Pretty House of Princesses or something. And yes, I just made up the word acronymize. It may be Wednesday, but it feels more like a Friday. Why does this feel like a new function/feature for PHP

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:26 PM, David OBrien dgobr...@gmail.com wrote: That would be reverse acronymization :) You're absolutely correct. Deacronymize? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 3:13 PM, Steven Staples sstap...@mnsi.net wrote: Why does this feel like a new function/feature for PHP now? Function acronymize($acronym) { // do stuff here now... :S } ?php function acronymize($text) {

Re: [PHP] array_map() with multiple callback functions

2013-05-08 Thread Andrew Ballard
On Tue, May 7, 2013 at 5:43 PM, Alex Nikitin niks...@gmail.com wrote: On Tue, May 7, 2013 at 4:29 PM, George Langley george.lang...@shaw.ca wrote: Hi all. I want to apply strtolower() AND trim() to all items in an array. But I don't see a way to call multiple callbacks with the array_map()

Re: [PHP] filesize question

2013-05-08 Thread tamouse mailing lists
On Tue, May 7, 2013 at 10:16 PM, Curtis Maurand cur...@maurand.com wrote: find -name *.js -exec removestring.php '{}' \; That's how I get the I put file name. I think that I need the if statement to look at the filesize and make sure that I can open them and they are at least the size of the

Re: [PHP] Re: array_map() with multiple callback functions

2013-05-08 Thread George Langley
On 2013-05-08, at 1:48 PM, Jim Giner wrote: On 5/7/2013 5:29 PM, George Langley wrote: Hi all. I want to apply strtolower() AND trim() to all items in an array. But I don't see a way to call multiple callbacks with the array_map() function. Are my two choices the following: // 1)

Re: [PHP] ODBC

2013-05-07 Thread georg
-general@lists.php.net Sent: Monday, May 06, 2013 11:06 PM Subject: Re: [PHP] ODBC On Mon, May 6, 2013 at 3:32 PM, georg georg.chamb...@telia.com wrote: Hi, Id like to get ODBC connection to SQL from PHP going. Ive done that on XP, but now Im switching to Linux (Fedora). My impression

Re: [PHP] filesize question

2013-05-07 Thread ma...@behnke.biz
Curtis Maurand cur...@maurand.com hat am 7. Mai 2013 um 15:16 geschrieben: Hello, I'm feeding a filename to a php script on the command line (command line program). I run the following against it: $inputline = fread($inputfile, filesize($argv[1])); mayve $inputline = fread($inputfile,

Re: [PHP] Problems with array_push?

2013-05-07 Thread Stuart Dallas
Globals being used in a function. -Stuart On Tue, May 7, 2013 at 11:06 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I know that I must be missing something really ridiculous, but when I print_r these arrays they are empty. I have confirmed that $arrayElement is properly

Re: [PHP] Problems with array_push?

2013-05-07 Thread Larry Martell
On Tue, May 7, 2013 at 3:06 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I know that I must be missing something really ridiculous, but when I print_r these arrays they are empty. I have confirmed that $arrayElement is properly formed, it just seems that array_push is not working.

Re: [PHP] Problems with array_push?

2013-05-07 Thread Jay Blanchard
[snip]Globals being used in a function. [/snip] *smacks forehead* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array_map() with multiple callback functions

2013-05-07 Thread Alex Nikitin
Something like: $cleanData = array_map(function($str){return strtolower(trim($str));}, $passedData); -- The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. ~Seymour Cray On Tue, May 7, 2013 at 4:29 PM, George Langley george.lang...@shaw.ca

Re: [PHP] filesize question

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 8:16 AM, Curtis Maurand cur...@maurand.com wrote: Hello, I'm feeding a filename to a php script on the command line (command line program). I run the following against it: $inputline = fread($inputfile, filesize($argv[1])); I'm getting an error complaining that the

Re: [PHP] Problems with array_push?

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 4:28 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip]Globals being used in a function. [/snip] *smacks forehead* It bites me all the time, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with array_push?

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 9:42 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, May 7, 2013 at 4:28 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip]Globals being used in a function. [/snip] *smacks forehead* It bites me all the time, too. (Might be worth a

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-06 Thread Daevid Vincent
-Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:56 PM Maybe google page speed is worth a look for you too? We have over 1,000 servers in house and also distributed across nodes in various cities and countries. Don't know if

Re: [PHP] ODBC

2013-05-06 Thread David OBrien
On Mon, May 6, 2013 at 3:32 PM, georg georg.chamb...@telia.com wrote: Hi, Id like to get ODBC connection to SQL from PHP going. Ive done that on XP, but now Im switching to Linux (Fedora). My impression in that the connecting part is per the DB designers responsibility. Im using

Re: [PHP] generate onfly PDF

2013-05-05 Thread Rafnews
On 05.05.2013 07:45, tamouse mailing lists wrote: On Sat, May 4, 2013 at 3:31 PM, Rafnews raf.n...@gmail.com wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to

Re: [PHP] Re: generate onfly PDF

2013-05-05 Thread Ashley Sheridan
Tim Behrendsen t...@behrendsen.com wrote: I have had outstanding success with wkhtmltopdf: https://code.google.com/p/wkhtmltopdf/ It's a self-contained standalone program that you can call from PHP. It uses a full-bodied HTML interpreter based on Webkit. Highly recommended, I've been using it

Re: [PHP] generate onfly PDF

2013-05-05 Thread Bastien
On 2013-05-05, at 8:10 AM, Rafnews raf.n...@gmail.com wrote: On 05.05.2013 07:45, tamouse mailing lists wrote: On Sat, May 4, 2013 at 3:31 PM, Rafnews raf.n...@gmail.com wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk

Re: [PHP] generate onfly PDF

2013-05-04 Thread Ashley Sheridan
Rafnews raf.n...@gmail.com wrote: Hi, Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say like a template) without using PECL ? i read that is hosting does not allow such extension, we can not generate PDF, so i would rather get a solution

Re: [PHP] generate onfly PDF

2013-05-04 Thread Tedd Sperling
On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say like a template) without using PECL ? i read that is hosting does not allow

Re: [PHP] generate onfly PDF

2013-05-04 Thread Rafnews
On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say like a template) without using PECL ? i

Re: [PHP] generate onfly PDF

2013-05-04 Thread Jim Giner
On 5/4/2013 6:31 PM, Rafnews wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say

Re: [PHP] generate onfly PDF

2013-05-04 Thread tamouse mailing lists
On Sat, May 4, 2013 at 3:31 PM, Rafnews raf.n...@gmail.com wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread ma...@behnke.biz
' Subject: RE: [PHP] Need a tool to minimize HTML before storing in memecache This is because tidy is for optimizing HTML, not for optimizing PHP. Daevid Vincent dae...@daevid.com hat am 2. Mai 2013 um 02:20 geschrieben: So I took the time to install Tidy extension and wedge

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Daevid Vincent
in bandwidth and space. As well as render time for both apache and the client's browser's parser. Dig? -Original Message- From: ma...@behnke.biz [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 4:28 AM To: Daevid Vincent; 'php-general General' Subject: RE: [PHP] Need a tool to minimize HTML

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Marco Behnke
as render time for both apache and the client's browser's parser. Dig? -Original Message- From: ma...@behnke.biz [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 4:28 AM To: Daevid Vincent; 'php-general General' Subject: RE: [PHP] Need a tool to minimize HTML before storing

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Daevid Vincent
-Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:01 PM To: Daevid Vincent; php php-general@lists.php.net Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache If you really have that much traffic, then memcache

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Marco Behnke
Am 03.05.2013 21:34, schrieb Daevid Vincent: -Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:01 PM To: Daevid Vincent; php php-general@lists.php.net Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache If you

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Sebastian Krebs
2013/5/3 Daevid Vincent dae...@daevid.com -Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:01 PM To: Daevid Vincent; php php-general@lists.php.net Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-02 Thread ma...@behnke.biz
-errors' = ($this-_debug ? 6 : 0), 'show-warnings' = $this-_debug, ); From: Joseph Moniz [mailto:joseph.mo...@gmail.com] Sent: Wednesday, April 17, 2013 2:55 PM To: Daevid Vincent Cc: php-general General Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache http

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-02 Thread Daevid Vincent
a champ. -Original Message- From: ma...@behnke.biz [mailto:ma...@behnke.biz] Sent: Thursday, May 02, 2013 4:55 AM To: Daevid Vincent; 'php-general General' Subject: RE: [PHP] Need a tool to minimize HTML before storing in memecache This is because tidy is for optimizing HTML

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-05-01 Thread Richard Quadling
On 30 April 2013 18:56, Morning Star morning.star.c...@gmail.com wrote: Hi Richard, i am sure my KDE konsole is set to UTF-8. fortunately, i got a answer from the Debian mailing list. someone told me to verify if i had installed the ttf-baekmuk (Korean's font) or not. i see that it is not

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-01 Thread Daevid Vincent
, 2013 2:55 PM To: Daevid Vincent Cc: php-general General Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache http://php.net/manual/en/book.tidy.php - Joseph Moniz (510) 509-0775 | @josephmoniz https://twitter.com/josephmoniz | https://github.com/JosephMoniz GitHub | http

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-04-30 Thread Richard Quadling
On 29 April 2013 20:38, Morning Star morning.star.c...@gmail.com wrote: Thanks, Richard. It works in xterm, but it doesn't work in KDE konsole. i don't know how to figure it out. help me Best regards, Marco On Mon, Apr 22, 2013 at 9:43 AM, Richard Quadling rquadl...@gmail.com wrote:

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-04-30 Thread Morning Star
Hi Richard, i am sure my KDE konsole is set to UTF-8. fortunately, i got a answer from the Debian mailing list. someone told me to verify if i had installed the ttf-baekmuk (Korean's font) or not. i see that it is not install yet. i just installed it and then i am able to view the Korean's font.

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-04-29 Thread Morning Star
Thanks, Richard. It works in xterm, but it doesn't work in KDE konsole. i don't know how to figure it out. help me Best regards, Marco On Mon, Apr 22, 2013 at 9:43 AM, Richard Quadling rquadl...@gmail.com wrote: On 18 April 2013 08:06, Morning Star morning.star.c...@gmail.com wrote: $string

Re: [PHP] PHP compiler - HipHop performance

2013-04-26 Thread ma...@behnke.biz
Norah Jones nh.jone...@gmail.com hat am 26. April 2013 um 05:56 geschrieben: Hi, I have downloaded HipHop for my website, I am going through various web links which are suggesting that performance will improve 3-6 times. However I don't know the Stability of the HipHop. Please provide your

Re: [PHP] IE 10 bug?

2013-04-26 Thread Matijn Woudt
On Wed, Apr 24, 2013 at 6:01 PM, Jim Giner jim.gi...@albanyhandball.comwrote: I know - it sounds OT, but listen. I have a form that has a sign in button which attempts to sent the user to a form in a password-protected folder. In order to get there the user must provide credentials. Once

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-25 Thread Ken Kixmoeller
THank all of you for your help. I think I got this thing licked. On Wed, Apr 24, 2013 at 7:14 PM, Ken Kixmoeller phph...@comcast.net wrote: Thank you very much, Jim --- On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas li...@cmsws.com wrote: On 04/24/2013 03:24 PM, Ken Kixmoeller wrote:

Re: [PHP] PHP compiler - HipHop performance

2013-04-25 Thread Daniel Fenn
On Fri, Apr 26, 2013 at 1:56 PM, Norah Jones nh.jone...@gmail.com wrote: Hi, I have downloaded HipHop for my website, I am going through various web links which are suggesting that performance will improve 3-6 times. However I don't know the Stability of the HipHop. Please provide your

Re: [PHP] mysql_connect noob question

2013-04-24 Thread Richard Quadling
Completely different function call(). mysql_connect() - the port is part of the host. *server* The MySQL server. It can also include a port number. e.g. hostname:port or a path to a local socket e.g. :/path/to/socket for the localhost. If the PHP directive

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread David OBrien
On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller phph...@comcast.net wrote: Hey - -- I have a huge screen -- to make it simple for the user, it does 100s of calls to MySQL and has 1,000s (literally) of POST variables. We have done extensive research and see that upgrading from php 5.1.6-27

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
From the link: The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request containing a large number of variables, related to improper handling of array variables. NOTE: this vulnerability exists because of an incorrect fix

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread David OBrien
On Wed, Apr 24, 2013 at 5:14 PM, David OBrien dgobr...@gmail.com wrote: On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller phph...@comcast.netwrote: Hey - -- I have a huge screen -- to make it simple for the user, it does 100s of calls to MySQL and has 1,000s (literally) of POST variables.

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Thanks so much. Yes, we found that because PHP threw an error that said that explicitly. A bit of research led us to add a line to php.ini to set the max_input_vars to a higher level. At first, that appeared to fix it (on the development machine). The appearance is wrong; it is still broken. No

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Jim Lucas
On 04/24/2013 02:40 PM, Ken Kixmoeller wrote: Thanks so much. Yes, we found that because PHP threw an error that said that explicitly. A bit of research led us to add a line to php.ini to set the max_input_vars to a higher level. At first, that appeared to fix it (on the development machine).

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Thanks, Jim --- Is this different from the max_input_vars discussion above? (from David OBrien) Ken On Wed, Apr 24, 2013 at 5:06 PM, Jim Lucas li...@cmsws.com wrote: On 04/24/2013 02:40 PM, Ken Kixmoeller wrote: Thanks so much. Yes, we found that because PHP threw an error that said that

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Jim Lucas
On 04/24/2013 03:24 PM, Ken Kixmoeller wrote: Thanks, Jim --- Is this different from the max_input_vars discussion above? (from David OBrien) yes. For example... php.ini:[suhosin] php.ini:;suhosin.log.syslog = php.ini:;suhosin.log.syslog.facility = php.ini:;suhosin.log.syslog.priority =

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Thank you very much, Jim --- On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas li...@cmsws.com wrote: On 04/24/2013 03:24 PM, Ken Kixmoeller wrote: Thanks, Jim --- Is this different from the max_input_vars discussion above? (from David OBrien) yes. For example... php.ini:[suhosin]

Re: [PHP] Load testing an app

2013-04-24 Thread tamouse mailing lists
On Tue, Apr 23, 2013 at 8:04 AM, Andrew Ballard aball...@gmail.com wrote: On Tue, Apr 23, 2013 at 2:29 AM, Adam Richardson simples...@gmail.com wrote: On Mon, Apr 22, 2013 at 10:41 PM, Andrew Ballard aball...@gmail.com wrote: The other developer in our office spent some time profiling the site

Re: [PHP] Load testing an app

2013-04-24 Thread Andrew Ballard
On Apr 24, 2013 9:46 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, Apr 23, 2013 at 8:04 AM, Andrew Ballard aball...@gmail.com wrote: On Tue, Apr 23, 2013 at 2:29 AM, Adam Richardson simples...@gmail.com wrote: On Mon, Apr 22, 2013 at 10:41 PM, Andrew Ballard

Re: [PHP] Load testing an app

2013-04-23 Thread Adam Richardson
On Mon, Apr 22, 2013 at 10:41 PM, Andrew Ballard aball...@gmail.com wrote: The other developer in our office spent some time profiling the site with xdebug and found that an exec() call to netsh used on a couple pages seems to take 2-4 seconds to complete. Unfortunately, those exec() calls are

Re: [PHP] A little confused

2013-04-23 Thread Stuart Dallas
On 23 Apr 2013, at 11:07, Chris Knipe sav...@savage.za.org wrote: $_SESSION['ExpiryDate'] = 2013-04-23; echo date_format($_SESSION['ExpiryDate'], D, \t\h\e jS \o\f M Y); Required Result: Mon, the 23rd of Apr 2013 I get however: PHP Warning: date_format() expects parameter 1 to be

Re: [PHP] A little confused

2013-04-23 Thread Chris Knipe
Yes, strtotime() does convert the $_SESSION value to a unix epoc, as expected. However, date_format still complains that the argument is a Integer value, instead of a DateTime. On Tue, Apr 23, 2013 at 12:09 PM, Stuart Dallas stu...@3ft9.com wrote: On 23 Apr 2013, at 11:07, Chris Knipe

Re: [PHP] A little confused

2013-04-23 Thread Stuart Dallas
On 23 Apr 2013, at 11:13, Chris Knipe sav...@savage.za.org wrote: Yes, strtotime() does convert the $_SESSION value to a unix epoc, as expected. However, date_format still complains that the argument is a Integer value, instead of a DateTime. Sorry, I didn't read your email properly and

Re: [PHP] A little confused

2013-04-23 Thread shiplu
On Tue, Apr 23, 2013 at 4:07 PM, Chris Knipe sav...@savage.za.org wrote: echo date_format($_SESSION['ExpiryDate'], D, \t\h\e jS \o\f M Y); Why not construct DateTime object echo date_format(new DateTime($_SESSION['ExpiryDate']), D, \t\h\e jS \o\f M Y); Or $dt = new

Re: [PHP] A little confused

2013-04-23 Thread Chris Knipe
Thanks for the replies guys - figured it out! Using date() directly with strtotime() and the appropriate formating works :) date(D, \\t\h\e jS \o\\f M Y, strtotime($_SESSION['ExpiryTime'])) On Tue, Apr 23, 2013 at 12:16 PM, shiplu shiplu@gmail.com wrote: On Tue, Apr 23, 2013 at 4:07

Re: [PHP] mysql_connect noob question

2013-04-23 Thread Tedd Sperling
On Apr 21, 2013, at 3:33 PM, Glob Design Info i...@globdesign.com wrote: What question did I not answer? That proves that you're not listening -- you are total waste of time for anyone trying to help. Welcome to my ignore file. tedd _ tedd.sperl...@gmail.com

<    5   6   7   8   9   10   11   12   13   14   >