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

2007-07-25 Thread Dotan Cohen
On 25/07/07, Auto-Deppe, C. Haensel [EMAIL PROTECTED] wrote: On 25/07/07, tedd [EMAIL PROTECTED] wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him

[PHP] �������� ���� ������ � �����

2007-07-25 Thread php
argr brqoa dshbigi mwdxd

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread Eddie Dunckley
On Wed 25 Jul 07 03:09, tedd wrote: Nah, let's make it a brain teaser. Where can these be found? The Little Rasmus O Rasmus, Rasmus, where art thou Rasmus? Rasmus?! Rasmus?! We don't need no stinking Rasmus. Reading, writing, and Rasmus Four score and seven Rasmus ago... In the beginning

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread Dotan Cohen
On 25/07/07, Eddie Dunckley [EMAIL PROTECTED] wrote: On Wed 25 Jul 07 05:36, Dotan Cohen wrote: On 25/07/07, tedd [EMAIL PROTECTED] wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-25 Thread Robin Vickery
On 24/07/07, Chris Mika [EMAIL PROTECTED] wrote: I don't know if I'm doing something wrong or if this is a bug. Very simply: I created an array with values 1-5. I use a foreach loop to iterate over it to add 1 to the values. It correctly iterates over the array except for the last value. Code:

Re[2]: [PHP] Better way to store data in memory?

2007-07-25 Thread Richard Davey
Hi Richard, Wednesday, July 25, 2007, 5:20:32 AM, you wrote: It's possible, maybe, that using imagecolorat and imagesetcolor (or whatever it is) would be faster than array access... In the end I implemented RLE on the image data, and depending on the image in question it is saving sometimes

[PHP] Notice warnings and performance

2007-07-25 Thread Erfan Shirazi
Hi all The site I'm working on has a lot of notice warnings, thousands. And they are all about: (Notice: Undefined variable..) I was wondering if I set the php.ini file to not log these in file or display them, does all of these notice warnings still degrade performance? Or does it become

[PHP] temp files

2007-07-25 Thread admin
Hi! I have this code: $lines = gzfile(http://www.example.com/some/resource;); for its internal needs gzfile() creates a temp file such as /var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays there forever and eventually the fs runs out of inodes. Any way to unlink the temp

[PHP] hierselect with ajax

2007-07-25 Thread Marco Sottana
hi i am looking for a hier select with ajax a list of select that when i select the first an ajax script popolute the second and so on ... please help me

[PHP] temp files

2007-07-25 Thread admin
Hi! I have this code: $lines = gzfile(http://www.example.com/some/resource;); for its internal needs gzfile() creates a temp file such as /var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays there forever and eventually the fs runs out of inodes. Any way to unlink the temp file

Re: [PHP] Notice warnings and performance

2007-07-25 Thread Richard Davey
Hi Erfan, Wednesday, July 25, 2007, 9:39:35 AM, you wrote: The site I'm working on has a lot of notice warnings, thousands. And they are all about: (Notice: Undefined variable..) I was wondering if I set the php.ini file to not log these in file or display them, does all of these notice

RE: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-25 Thread Chris Boget
Do you know any website that might explain how to convert joined multiple tables(with every rows) to XML? If you use PEAR (or even if you don't), you might want to take a look at the following packages: http://pear.php.net/package/Structures_DataGrid_Renderer_XML

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread David Powers
Richard Lynch wrote: At no point did I intend to sound unsympathetic to your plight! I only wanted to make it clear that 99.9% of musicians are in the same boat with you, despite what you read in the newspapers. Understood. I simply want to lay to rest the idea that piracy is somehow OK

[PHP] Objects

2007-07-25 Thread Suporte - DPRJ Sistemas
Hello! Is there anyone here interested in teaching (lond distance, off course) OOP? I would like to learn how to use objects (I have been working all my life using structured language). All the books I have tried just talk about theory not practical issues. I intend to pay for the classes.

RE: Re[2]: [PHP] Pirate PHP books online? OT

2007-07-25 Thread Jay Blanchard
[snip] Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus. God, I hope not. :-) [/snip] Congrats! How about Tedd II - Electric Boogaloo (yes, I know, I

RE: [PHP] Objects

2007-07-25 Thread Jay Blanchard
[snip] Is there anyone here interested in teaching (lond distance, off course) OOP? I would like to learn how to use objects (I have been working all my life using structured language). All the books I have tried just talk about theory not practical issues. I intend to pay for the classes.

[PHP] The Official OT Name Tedd's Grandson Thread

2007-07-25 Thread Daniel Brown
First of all, congrats to Tedd on his 9th grandchild, a boy, at 8lbs. 9oz. Secondly, since the kid didn't have a name when we last heard from the old fart, you know damn well that he's relying on us to name him. ;-P Suggestions? I'm thinking, instead of going conventional, we give

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Daniel Brown
On 7/24/07, Daniel Kasak [EMAIL PROTECTED] wrote: On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote: Hello, Dans! Dan K., is there any reason the validation can't reside within the same script as the form, then forward on success? A very simple example: ? if($_POST) {

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Tijnema
On 7/25/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/24/07, Daniel Kasak [EMAIL PROTECTED] wrote: On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote: Hello, Dans! Dan K., is there any reason the validation can't reside within the same script as the form, then forward on

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Tijnema
On 7/25/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/25/07, Tijnema [EMAIL PROTECTED] wrote: You Dans driving me insine with all those dans :P Tijnema -- Vote for PHP Color Coding in Gmail! - http://gpcc.tijnema.info Be jealous and afraid. It's not just a name it's a race. --

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Daniel Brown
On 7/25/07, Tijnema [EMAIL PROTECTED] wrote: You Dans driving me insine with all those dans :P Tijnema -- Vote for PHP Color Coding in Gmail! - http://gpcc.tijnema.info Be jealous and afraid. It's not just a name it's a race. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272

Re[2]: [PHP] Variable problem?

2007-07-25 Thread Luc
Hello Richard, Wednesday, July 25, 2007, 12:05:22 AM, you wrote: I think you're just missing $contato_name = $_POST['contato_name'] in here somewhere... That was what was missing indeed :-) That said, if you are using striplashes, you have magic_quotes_gpc on, and that's something you may

[PHP] No is_date() function?

2007-07-25 Thread Ken Tozier
Hi I wrote a serialization function to turn arbitrary PHP variables into Macintosh plist compatible XML but see that there is no is_date tester as there is for bool, object, array etc. Is there a relatively simple (and robust) way to detect if a variable is a date? For example: $person =

Re: [PHP] Notice warnings and performance

2007-07-25 Thread Eric Butera
On 7/25/07, Richard Davey [EMAIL PROTECTED] wrote: Hi Erfan, Wednesday, July 25, 2007, 9:39:35 AM, you wrote: The site I'm working on has a lot of notice warnings, thousands. And they are all about: (Notice: Undefined variable..) I was wondering if I set the php.ini file to not log these

Re: [PHP] No is_date() function?

2007-07-25 Thread Ken Tozier
Thanks Lars I saw that one already but unfortunately, it doesn't help as it requires 3 inputs . What I'm shooting for is an 'is_date' function that returns true or false with no prior knowledge of what a variable might contain. Ken On Jul 25, 2007, at 10:08 AM, Lars Haßler wrote: Hi,

Re: [PHP] Objects

2007-07-25 Thread Eric Butera
On 7/25/07, Suporte - DPRJ Sistemas [EMAIL PROTECTED] wrote: Hello! Is there anyone here interested in teaching (lond distance, off course) OOP? I would like to learn how to use objects (I have been working all my life using structured language). All the books I have tried just talk about

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread Dotan Cohen
On 25/07/07, Robert Cummings [EMAIL PROTECTED] wrote: Rasmus does Dallas I, II, and III Tsk, tsk, Debbie Does DocType has already been mentioned... I don't remember any other php-general thread going over 200 messages before. This is turning into fedora-users... Dotan Cohen

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread Robert Cummings
On Wed, 2007-07-25 at 08:57 +0200, Eddie Dunckley wrote: some popular PHP scifi movies.. Close encounters with the Rasmus Kind. The Rasmus. (hint matrix). *top seller* Rasmus, the Last Frontier Back to the Rasmus part I, II and III Rasminator I,II and III The Rasmus Identity, Twelve

Re: [PHP] No is_date() function?

2007-07-25 Thread Satyam
There is no such a thing as a date datatype in PHP. Dates are stored as an integer representing seconds since a base time (1/1/1970) and they cannot be distinguished from other integers. In PHP 5.1 they added a DateTime class which is a good thing for the future, to solve issues like yours,

RE: [PHP] No is_date() function?

2007-07-25 Thread Edward Kay
Thanks Lars I saw that one already but unfortunately, it doesn't help as it requires 3 inputs . What I'm shooting for is an 'is_date' function that returns true or false with no prior knowledge of what a variable might contain. Ken On Jul 25, 2007, at 10:08 AM, Lars Haßler wrote: Hi,

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

2007-07-25 Thread Ryan A
--- Dotan Cohen [EMAIL PROTECTED] wrote: On 24/07/07, Ryan A [EMAIL PROTECTED] wrote: Php Fiction? Rasmus's List? Codin' in the Rain? LOL! That was good! Thanks needed that! Of course, one should not forgot Debbie Does DocType... Ok... I get it, I'm a geek for laughing out

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

2007-07-25 Thread Ryan A
--- Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2007-07-24 at 21:09 -0400, tedd wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus.

Re: [PHP] Pirate PHP books online?

2007-07-25 Thread Robert Cummings
On Wed, 2007-07-25 at 17:24 +0300, Dotan Cohen wrote: On 25/07/07, Robert Cummings [EMAIL PROTECTED] wrote: Rasmus does Dallas I, II, and III Tsk, tsk, Debbie Does DocType has already been mentioned... Bah, I missed it :) Cheers, Rob. --

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

2007-07-25 Thread tedd
At 9:36 AM +0300 7/25/07, Dotan Cohen wrote: Raising a baby is like working with Windows: every error returns the same error message (wah). Troubleshotting is simply saying OK, OK, OK [, FINISH] to the wife whenever she's talking about the baby. And instead of sleeping at night, you're up trying

Re: [PHP] Objects

2007-07-25 Thread Nathan Nobbe
eric is exactly right; design patterns are key; and so is that book ;) -nathan On 7/25/07, Eric Butera [EMAIL PROTECTED] wrote: On 7/25/07, Suporte - DPRJ Sistemas [EMAIL PROTECTED] wrote: Hello! Is there anyone here interested in teaching (lond distance, off course) OOP? I would like to

[PHP] php5 as universal binary (Mac OsX)

2007-07-25 Thread Chrisitan Speich
hello, I have an problem with php5 as universal binary on Mac OsX. The universal binary was build on an intel mac and it works good... on an intel mac ;) When a friend it try on an ppc mac he had some problems. For example phpsqliteadmin say this error: Fatal error: Balloc() allocation exceeds

RE: Re[2]: [PHP] Pirate PHP books online? OT

2007-07-25 Thread tedd
At 6:50 AM -0500 7/25/07, Jay Blanchard wrote: [snip] Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus. God, I hope not. :-) [/snip] Congrats! How about

Re: [PHP] The Official OT Name Tedd's Grandson Thread

2007-07-25 Thread tedd
At 8:53 AM -0400 7/25/07, Daniel Brown wrote: First of all, congrats to Tedd on his 9th grandchild, a boy, at 8lbs. 9oz. Thanks to all who congratulated me. My son just informed me that the baby's name is Jacob William Sperling. I now have a grandson who's name sounds older than me.

[PHP] module loading problems

2007-07-25 Thread Chris W
I'm running PHP 5.2.0 on windows XP SP2 lately when it starts I have been getting the an error when it tries to load the mysqli dll. It loads the standard mysql dll fine and all the dlls are in the same place the path and php ini file all seem to be fine. I recently added the exif

RE: Re[2]: [PHP] Pirate PHP books online? OT

2007-07-25 Thread Ryan A
Hey, I don't use Tedd anymore, because that was my previous life when I used to have purpose. For what its worth, I do think your life has a purpose and you are living it, I for one would be quite sad if I didnt see any more postings from you on this list and would miss you... as would

Re: [PHP] No is_date() function?

2007-07-25 Thread Nathan Nobbe
there is a mysterious DateTimehttp://us2.php.net/manual/en/function.date-create.phpclass available in php5 w/ practically no documentation at all. i dont know how they expect people to use it. but anyway; i would just build a DateTime or Time, or Date object; then you can validate it all u want

Re: [PHP] Objects

2007-07-25 Thread Tony Marston
Design patterns will just confuse the issue. If you come from a non-OO background (just like me) and want to know what all this OO stuff is about you might want to take a look at the following: http://www.tonymarston.net/php-mysql/good-bad-oop.html

[PHP] Re: About One To Many MYSQL TO XML WITH PHP

2007-07-25 Thread Tony Marston
I presume from your heading you want the XML file to contain a single occurrence from the ONE table and several occurrences from the MANY table? In that case you DO NOT want to use a join, instead you access the ONE table and the MANY table separately, as shown in

Re: [PHP] Objects

2007-07-25 Thread Eric Butera
On 7/25/07, Nathan Nobbe [EMAIL PROTECTED] wrote: Eric, i was referring to the exact book you mentioned. here is an excerpt from page 32 of the book: ' we assume you know the oo basics of using classes polymorphically, how inheritance is like design by contract, and how encapsulation works.

Re: [PHP] global variable does not exist anymore?

2007-07-25 Thread Richard Davey
Hi Patrik, Wednesday, July 25, 2007, 11:30:56 PM, you wrote: Dear my friends... I create a very simple script in html and php as a first step. I use suse, apache2, mysql and php. I wonder why this script does not work: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html

Re: [PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
Hi Richard, You solved my problem. Thank you very...very much. === On Wed, 25 Jul 2007 23:54:37 +0100 Richard Davey [EMAIL PROTECTED] wrote: Hi Patrik, Wednesday, July 25, 2007, 11:30:56 PM, you wrote: Dear my friends... I create a very simple script in html and php as a first step.

Re: [PHP] module loading problems

2007-07-25 Thread Chris W
That helped... Seems I need to load the multi-byte string module before I load the exif module... so now exif loads fine. However mysqli still doesn't load which is less of a concern since I'm not using that module at this time anyway. It does puzzle me thought because the standard mysql

Re: [PHP] Objects

2007-07-25 Thread Eric Butera
On 7/25/07, Tony Marston [EMAIL PROTECTED] wrote: Design patterns will just confuse the issue. If you come from a non-OO background (just like me) and want to know what all this OO stuff is about you might want to take a look at the following:

Re: [PHP] No is_date() function?

2007-07-25 Thread Crayon Shin Chan
On Thursday 26 July 2007 11:44, Ken Tozier wrote: On Jul 25, 2007, at 10:37 AM, Edward Kay wrote: PS: Please don't top post on mailing lists. I'm unfamiliar with the term top post. What does it mean? But you are familiar with google? -- Crayon -- PHP General Mailing List

[PHP] day in week

2007-07-25 Thread Christian Hänsel
Good morning fellas, I was wondering if there was a function like is_this_week()... What I have is a statistics table for the last week, from strtotime(Last Monday) to strtotime(Last Sunday)... now I wanna put a different background colour on the rows where the shown weekday is in the current

Re: [PHP] No is_date() function?

2007-07-25 Thread Ken Tozier
On Jul 25, 2007, at 10:37 AM, Edward Kay wrote: PS: Please don't top post on mailing lists. I'm unfamiliar with the term top post. What does it mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] module loading problems

2007-07-25 Thread Richard Davey
Hi Chris, Wednesday, July 25, 2007, 5:36:29 PM, you wrote: I'm running PHP 5.2.0 on windows XP SP2 lately when it starts I have been getting the an error when it tries to load the mysqli dll. It loads the standard mysql dll fine and all the dlls are in the same place the path and php

Re: [PHP] Objects

2007-07-25 Thread Nathan Nobbe
yes well at the beginning of the design patterns book they basically explain the same thing. if you dont understand the basic oo priciples, then design patterns arent going to make any sense. these basic concepts are (not looking in the book [testing myself]..) encapsulation abstraction

[PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
Dear my friends... I create a very simple script in html and php as a first step. I use suse, apache2, mysql and php. I wonder why this script does not work: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta content=text/html; charset=ISO-8859-1

Re: [PHP] Objects

2007-07-25 Thread Nathan Nobbe
Eric, i was referring to the exact book you mentioned. here is an excerpt from page 32 of the book: ' we assume you know the oo basics of using classes polymorphically, how inheritance is like design by contract, and how encapsulation works. if you are a little rusty on these, pull out your

Re: [PHP] RecursiveArrayIterator

2007-07-25 Thread Nathan Nobbe
as i said earlier the purpose of an iterator is to hide the internal representation of an object. ive been thinking about it the past couple of days and the odd thing with php is, well in php, the array construct is used to store almost everything complex. in java there are lots of different

[PHP] Malformed Email Date Header

2007-07-25 Thread Chris Aitken
Hi All, Just a query I have which by the looks of my research into it online, still exists on various installations around the world. The websites I build for my clients are scattered over several hosting servers, and I've noticed that one of them has an issue with the usage of the mail()