php-general Digest 24 Feb 2008 09:38:34 -0000 Issue 5311

2008-02-24 Thread php-general-digest-help
php-general Digest 24 Feb 2008 09:38:34 - Issue 5311 Topics (messages 269975 through 269987): mysql_field_name 269975 by: Emiliano Boragina Re: temporary error 269976 by: Andrés Robinet 269981 by: Robert Cummings 269984 by: Andrés Robinet Re: validate + if

php-general Digest 24 Feb 2008 22:00:56 -0000 Issue 5312

2008-02-24 Thread php-general-digest-help
php-general Digest 24 Feb 2008 22:00:56 - Issue 5312 Topics (messages 269988 through 270014): Re: temporary error 269988 by: Robert Cummings 269989 by: tedd 269990 by: tedd 27 by: Zoltán Németh Re: All Survey leading to PHP 269991 by: tedd Re:

RE: [PHP] Re: temporary error

2008-02-24 Thread Andrés Robinet
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:34 AM To: Andrés Robinet Cc: php-general@lists.php.net Subject: RE: [PHP] Re: temporary error On Sat, 2008-02-23 at 20:11 -0500, Andrés Robinet wrote: -Original

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread Andrés Robinet
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:40 AM To: Tamer Higazi Cc: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Sun, 2008-02-24 at 06:50 +0200, Tamer Higazi wrote: Hi!

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread Andrés Robinet
-Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 3:41 AM To: 'Robert Cummings'; 'Tamer Higazi' Cc: php-general@lists.php.net Subject: RE: [PHP] Question about PHP Licence and it's future! -Original Message- From: Robert

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread Robert Cummings
On Sun, 2008-02-24 at 03:49 -0500, Andrés Robinet wrote: -Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 3:41 AM To: 'Robert Cummings'; 'Tamer Higazi' Cc: php-general@lists.php.net Subject: RE: [PHP] Question about PHP Licence

RE: [PHP] Re: temporary error

2008-02-24 Thread Robert Cummings
On Sun, 2008-02-24 at 03:34 -0500, Andrés Robinet wrote: -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:34 AM To: Andrés Robinet Cc: php-general@lists.php.net Subject: RE: [PHP] Re: temporary error On Sat, 2008-02-23

Re: [PHP] Re: temporary error

2008-02-24 Thread tedd
At 12:12 PM -0600 2/23/08, Greg Donald wrote: On 2/23/08, tedd [EMAIL PROTECTED] wrote: For us to criticize each other for our beliefs would serve no purpose other than to exhibit intolerance. And, I think we can all agree that intolerance should not be tolerated. I believe it was

Re: [PHP] All Survey leading to PHP

2008-02-24 Thread tedd
At 8:44 PM +0100 2/23/08, Per Jessen wrote: tedd wrote: If a client hires me to do something, whatever code I write is his -- that's simple enough. Tedd - the world is not limited to PHP contractors. Think about people writing products that they sell. Been there, done that for a long

Re: [PHP] Re: temporary error

2008-02-24 Thread tedd
At 12:32 PM -0600 2/23/08, Greg Donald wrote: On 2/23/08, tedd [EMAIL PROTECTED] wrote: I love the book written by Carl Sagan the The Dragons of Eden -- he has an interesting perspective on the God thing and it contains more substance than a cute quote. Well as long as we're quoting

Re: [PHP] Plant Extracts and Our Factory

2008-02-24 Thread tedd
At 4:02 AM +0800 2/24/08, [EMAIL PROTECTED] wrote: Mr. Dong I think that says it all. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread tedd
Rob (Other Rob that is actually called Andrés) Yeah, that confused me too. Especially when I saw you arguing with yourself. Also, the phrase: Rob (Other Rob that is actually called Andrés) would read better as: Rob (Other Rob who is actually called Andrés) Why don't you use the name Andrés

Re: [PHP] mysql_field_name

2008-02-24 Thread tedd
At 8:16 PM -0300 2/23/08, Emiliano Boragina wrote: I want to see all fields name of the DB and only in one TR… how can I do that (in code please)? $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); $columns = mysql_num_fields($result); for($i = 0; $i = $columns; $i++)

Re: [PHP] System errno in PHP

2008-02-24 Thread Michal Maras
Hi Thank you for answer, but I do not understand. How can I use this class Errno after unsuccessful fopen? I want to get the number, for example 13 if there is not enough permissions to open file. It is not problem for me that script will be no portable, it is only for AIX. By On 22/02/2008,

Re: [PHP] Session destruction problem

2008-02-24 Thread Shawn McKenzie
Adil Drissi wrote: Hi, I made an error i was using unset($_SESSION[sessioname]) instead of unset($_SESSION). I'm sorry, but anyway, now i want to give another detail. All the time i was testing with opera. After testing in firefox and ie there is no problem with the code i posted. Yes,

Re: [PHP] Shopping Carts

2008-02-24 Thread Shawn McKenzie
questions and help out people who try and stumble... I'm less likely to help someone who tries to stumble. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shopping Carts

2008-02-24 Thread Robert Cummings
On Sun, 2008-02-24 at 09:43 -0600, Shawn McKenzie wrote: questions and help out people who try and stumble... I'm less likely to help someone who tries to stumble. In case you weren't be sarcastic... the intent of the above line was probably the following: ...questions and help out

Re: [PHP] Re: temporary error

2008-02-24 Thread Zoltán Németh
2008. 02. 22, péntek keltezéssel 14.49-kor Greg Donald ezt írta: On 2/22/08, Daniel Brown [EMAIL PROTECTED] wrote: So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do believe I am the first person to ever tag

[PHP] RE: temprorary error

2008-02-24 Thread Mary Anderson
Hey guys, Isn't this thread a bit OT? Anyway, as areligious person I have to say that I really do not like to hear religions trashed and smeared the way you are doing. And just for the record, we Quakers do not believe God tells us to kill people and we have no priests. Mary

Re: [PHP] RE: temprorary error

2008-02-24 Thread Zoltán Németh
2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta: Hey guys, Isn't this thread a bit OT? well, for a php list sure it is... but not the first one, and it seems to me that many members of the list are interested in it... Anyway, as areligious person I have to say

Re: [PHP] RE: temprorary error

2008-02-24 Thread Robert Cummings
On Sun, 2008-02-24 at 09:59 -0800, Mary Anderson wrote: Hey guys, Isn't this thread a bit OT? Probably. Anyway, as areligious person I have to say that I really do not like to hear religions trashed and smeared the way you are doing. And just for the record, we Quakers do not

[PHP] PHPTriad and php error

2008-02-24 Thread hE
hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10 html head titlePHP Test/title /head body pThis is an HTML line p ?php

RE: [PHP] Shopping Carts

2008-02-24 Thread Bastien Koert
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 09:43:20 -0600 From: [EMAIL PROTECTED] Subject: Re: [PHP] Shopping Carts questions and help out people who try and stumble... I'm less likely to help someone who tries to stumble. -Shawn -- PHP General Mailing List

Re: [PHP] PHPTriad and php error

2008-02-24 Thread hE
thanks for the help. I am a C/C++ programmer and decide to learn php and mysql to develop web pages. is it the correct place to ask questions similar to this? or is there any other group suitable for this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 20:53:03 +0200 From: [EMAIL PROTECTED] Subject: [PHP] PHPTriad and php error hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error,

[PHP] mysql test and error

2008-02-24 Thread hE
hi, I found an e-book in the net about php and mysql and with its sample program I am trying to test whether I have mysql working correctly or not. the following program gives error message. why? html headtitleTest MySQL/title/head body !-- mysql_up.php -- ?php3 $host=”localhost”;

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
This is a good place, other include various forums and the manual bastien To: php-general@lists.php.net Date: Sun, 24 Feb 2008 21:21:01 +0200 From: [EMAIL PROTECTED] Subject: Re: [PHP] PHPTriad and php error thanks for the help. I am a C/C++ programmer and decide to learn php and mysql to

Re: [PHP] RE: temprorary error

2008-02-24 Thread tedd
At 7:38 PM +0100 2/24/08, Zoltán Németh wrote: 2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta: Hey guys, Isn't this thread a bit OT? well, for a php list sure it is... but not the first one, and it seems to me that many members of the list are interested in it...

[PHP] Re: mysql test and error

2008-02-24 Thread Nathan Rixham
hE wrote: hi, I found an e-book in the net about php and mysql and with its sample program I am trying to test whether I have mysql working correctly or not. the following program gives error message. why? html headtitleTest MySQL/title/head body !-- mysql_up.php -- ?php3 $host=”localhost”;

Re: [PHP] mysql test and error

2008-02-24 Thread Brady Mitchell
On Feb 24, 2008, at 1135AM, hE wrote: hi, I found an e-book in the net about php and mysql and with its sample program I am trying to test whether I have mysql working correctly or not. the following program gives error message. why? What exactly does the error message say? We can help

Re: [PHP] RE: temprorary error

2008-02-24 Thread Robert Cummings
On Sun, 2008-02-24 at 15:55 -0500, tedd wrote: At 7:38 PM +0100 2/24/08, Zoltán Németh wrote: 2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta: Hey guys, Isn't this thread a bit OT? well, for a php list sure it is... but not the first one, and it seems to me

Re: [PHP] mysql test and error

2008-02-24 Thread hE
The following program gave the error: Parse error: parse error in C:\apache\htdocs\mysqltest.php on line 10 html headtitleTest MySQL/title/head body !-- mysql_up.php -- ?php $host=”localhost”; $user=”root”; $password=””; mysql_connect($host,$user,$password); $sql=”show status”; $result =

Re: [PHP] mysql test and error

2008-02-24 Thread Brady Mitchell
On Feb 24, 2008, at 200PM, hE wrote: The following program gave the error: Parse error: parse error in C:\apache\htdocs\mysqltest.php on line 10 Did you copy/paste the code? If so maybe the quotation marks are the fancy smart quotes like MS Office likes to use. Try replacing your

Re: [PHP] RE: temprorary error

2008-02-24 Thread Nathan Rixham
Robert Cummings wrote: On Sun, 2008-02-24 at 15:55 -0500, tedd wrote: At 7:38 PM +0100 2/24/08, Zoltán Németh wrote: 2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta: Hey guys, Isn't this thread a bit OT? well, for a php list sure it is... but not the first one, and

Re: [PHP] RE: temprorary error

2008-02-24 Thread Shawn McKenzie
Nathan Rixham wrote: Robert Cummings wrote: On Sun, 2008-02-24 at 15:55 -0500, tedd wrote: At 7:38 PM +0100 2/24/08, Zoltán Németh wrote: 2008. 02. 24, vasárnap keltezéssel 09.59-kor Mary Anderson ezt írta: Hey guys, Isn't this thread a bit OT? well, for a php list sure it is... but

[PHP] Re: When to use design patterns?

2008-02-24 Thread Nathan Rixham
carlos wrote: skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming. If you use OOP, chances are you

RE: [PHP] Re: Plant Extracts and Our Factory

2008-02-24 Thread Wolf
That's easy He thinks that php is asp plus lead, so he figured that we could get the plant extracts with the added lead and be set! Gotta love morons... -Original Message- From: Shawn McKenzie [EMAIL PROTECTED] Sent: Sunday, February 24, 2008 10:37 AM To:

RE: [PHP] RE: temprorary error

2008-02-24 Thread Wolf
Then make use of your delete key. -Original Message- From: Mary Anderson [EMAIL PROTECTED] Sent: Sunday, February 24, 2008 12:59 PM To: php-general@lists.php.net Subject: [PHP] RE: temprorary error Hey guys, Isn't this thread a bit OT? Anyway, as areligious person I have to

Re: [PHP] Re: When to use design patterns?

2008-02-24 Thread Larry Garfield
On Saturday 23 February 2008, carlos wrote: skylark wrote: Design patterns are really hot today. And I am really interested when and how often they are used. It is said that 99% of the projects don't need them. Design patterns are used to solve common problems to in OOP programming.

[PHP] Copying specific fields from table to table

2008-02-24 Thread Rob Gould
I've got 2 tables. One table which contains a series of barcodes assigned to product id #'s, and another table with JUST product id #'s. I need to somehow transfer all the barcodes from the first table into the second table, but only where the id #'s match. Can anyone tell me if this is

Re: [PHP] Copying specific fields from table to table

2008-02-24 Thread Chris
Rob Gould wrote: I've got 2 tables. One table which contains a series of barcodes assigned to product id #'s, and another table with JUST product id #'s. I need to somehow transfer all the barcodes from the first table into the second table, but only where the id #'s match. Can anyone tell

RE: [PHP] URL modification

2008-02-24 Thread Xavier de Lapeyre
thnks Xavier Please consider the environment before printing this mail note. -Original Message- From: Nathan Rixham [mailto:[EMAIL PROTECTED] Sent: vendredi 22 février 2008 18:58 To: php-general@lists.php.net Subject: Re: [PHP] URL modification Richard Heyes wrote: H... made a

[PHP] PHP 24 hour processes?

2008-02-24 Thread Zoran Bogdanov
Hi, How can you perform a timed event in PHP; for example: Count 24 hours and then delete all rows in a database... Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 24 hour processes?

2008-02-24 Thread Paul Scott
On Mon, 2008-02-25 at 07:39 +0100, Zoran Bogdanov wrote: How can you perform a timed event in PHP; for example: Count 24 hours and then delete all rows in a database... I thought that this question was answered in some detail before... Anyway, on *NIX based systems use cron.daily or on