Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
- Original Message > From: Brian Hazelton > To: php-general@lists.php.net > Sent: Fri, October 16, 2009 11:11:06 PM > Subject: Re: [PHP] PHP broadcast mailer > > I thought about doing a batch email, is that an accepted practice, also how > do I > find my smtp server limit? > > -- PHP

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-16 Thread Tommy Pham
- Original Message > From: Dotan Cohen > To: php-general. > Sent: Fri, October 16, 2009 7:13:41 PM > Subject: [PHP] Sanitizing potential MySQL strings with no database connection > > How can I configure mysql_real_escape_string() to _not_ need a > database connection in order to do it's

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Brian Hazelton
I thought about doing a batch email, is that an accepted practice, also how do I find my smtp server limit? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
- Original Message > From: George Langley > To: php-general@lists.php.net > Sent: Fri, October 16, 2009 10:56:42 PM > Subject: Re: [PHP] PHP broadcast mailer > > Hi there. At what point would it be beneficial to subscribe to a mass > mail > service such as Constant Contact or iCont

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
- Original Message > From: Brian Hazelton > To: php-general@lists.php.net > Sent: Fri, October 16, 2009 10:41:03 PM > Subject: [PHP] PHP broadcast mailer > > I am in charge of an email newsletter list and making sure it gets sent out > in > time. My problem is I have never done broadca

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread George Langley
Hi there. At what point would it be beneficial to subscribe to a mass mail service such as Constant Contact or iContact, to avoid being blacklisted for sending too many e-mails? George On 16-Oct-09, at 11:41 PM, Brian Hazelton wrote: I am in charge of an email newsletter list and making su

[PHP] PHP broadcast mailer

2009-10-16 Thread Brian Hazelton
I am in charge of an email newsletter list and making sure it gets sent out in time. My problem is I have never done broadcast emailing and right now we have 400 subscribers but want to build a system that can scale well regardless of the number of subscribers. Right now I use mysql to store th

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> This is a lot of posts to say either read it off character by > character If there is a jargon for operators such as -> I'd like to know them. > or just email the damn line. > Not possible for whatever reason, otherwise I wouldn't be bothering the list! -- Dotan Cohen http://what-is-what.co

[PHP] Sanitizing potential MySQL strings with no database connection

2009-10-16 Thread Dotan Cohen
How can I configure mysql_real_escape_string() to _not_ need a database connection in order to do it's work on a string. I understand that the function wants a database connection to determine which charset / encoding is in use, but in my case it will always be UTF-8. I have a file of reusable fun

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
tedd wrote: At 8:31 PM +0200 10/16/09, Dotan Cohen wrote: > It depends... is the person familiar with PHP or not? If they are not then the process is more cumbersome since I can't say things like variable item calling camel-case method getServiceId without parameters. Yes, I should have

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
Dotan Cohen wrote: It's called "vacation away from the 'net but there is an emergency". I'm certain that a fair portion of the list is familiar with that! I haven't the slightest idea what you are talking about. Vacation? Away from the net? We must be from different planets... How to do you vac

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread tedd
At 8:31 PM +0200 10/16/09, Dotan Cohen wrote: > It depends... is the person familiar with PHP or not? If they are not then the process is more cumbersome since I can't say things like variable item calling camel-case method getServiceId without parameters. Yes, I should have mentioned that

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread tedd
At 12:59 PM -0400 10/16/09, Bob McConnell wrote: From: tedd At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: >>Open-bracket, No, that's not an open bracket -- that's an open parenthesis or "paren" for short. An open bracket is [ An open curly brace is { That depends on which edit

Re: [PHP] Access violation error

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 15:52 -0700, Jim Lucas wrote: > Marshall Burns wrote: > > I am developing a crawler. It has worked fine throughout testing until this > > morning, when suddenly it started yielding an access violation error. I have > > not been able to find any explanation of this. I've reduc

Re: [PHP] Access violation error

2009-10-16 Thread Jim Lucas
Marshall Burns wrote: > I am developing a crawler. It has worked fine throughout testing until this > morning, when suddenly it started yielding an access violation error. I have > not been able to find any explanation of this. I've reduced the script to > the following test code: > >

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bastien Koert
This is a lot of posts to say either read it off character by character or just email the damn line. On 10/16/09, Dotan Cohen wrote: >>> Yes, the other end of the phone is an experienced PHP developer. >>> >> >> IMO, if you have to explain this code over the phone or any medium: >> >> ($item->get

Re: [PHP] security/deployment issue

2009-10-16 Thread hessiess
> Humm.. thanks for the replies. But i have another problem about rsync > again. > > > > When i deploy a project using the rsync the permissions of all home > directory is changed. i tried to use the parameter -p -o -g (preserve > permissions, owner and group): > > > I dont know but the rsync doesn

[PHP] Access violation error

2009-10-16 Thread Marshall Burns
I am developing a crawler. It has worked fine throughout testing until this morning, when suddenly it started yielding an access violation error. I have not been able to find any explanation of this. I've reduced the script to the following test code: == T

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread Jim Lucas
c...@hosting4days.com wrote: > Jim Lucas wrote: > >> >> I would recommend http://www.rgraph.net/ >> >> It was written and is currently maintained by a member of this list. >> >> Jim Lucas >> > > Hi Jim, > > rgraph looks cool... most demos I see show just a few points - do you > think this could

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
>> Yes, the other end of the phone is an experienced PHP developer. >> > > IMO, if you have to explain this code over the phone or any medium: > > ($item->getServiceId() ? $item->getServiceId() : $item->getId(; > > The other person you're talking to is definitely not "experienced".  ;) > I do

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread James Ausmus
jpgraph: http://www.aditus.nu/jpgraph/ On Fri, Oct 16, 2009 at 10:32 AM, wrote: > (sorry about the long Subject line typo - resending) > > I have a data file that stores about 500 numbers in a record - meant to plot > a basic line graph (left to right). The numbers can be imported into a > reco

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Tommy Pham
- Original Message > From: Dotan Cohen > To: Bipin Upadhyay > Cc: a...@ashleysheridan.co.uk; php-general. > Sent: Fri, October 16, 2009 11:29:09 AM > Subject: Re: [PHP] How to pronounce PHP code over the phone? > > > There are, what you'd call, technical jargon for them. > > However, i

Re: [PHP] security/deployment issue

2009-10-16 Thread Adam Randall
Rsync preserves the UID and GID, not the visible username or visible group name. This means that if the UIDs and GIDs do not match your expected users and groups on the destination server they will match whatever is setup there according to the /etc/passwd or /etc/group files. If there's no match f

Re: [PHP] security/deployment issue

2009-10-16 Thread Augusto Flavio
Humm.. thanks for the replies. But i have another problem about rsync again. When i deploy a project using the rsync the permissions of all home directory is changed. i tried to use the parameter -p -o -g (preserve permissions, owner and group): I dont know but the rsync doesnt preserve the pe

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
>>> It's called "vacation away from the 'net but there is an emergency". I'm >>> certain that a fair portion of the list is familiar with that! >> >> I haven't the slightest idea what you are talking about. Vacation? Away >> from the net? We must be from different planets... > > How to do you vacat

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
O. Lavell wrote: Dotan Cohen wrote: It's called "vacation away from the 'net but there is an emergency". I'm certain that a fair portion of the list is familiar with that! I haven't the slightest idea what you are talking about. Vacation? Away from the net? We must be from different planets.

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> I haven't the slightest idea what you are talking about. Vacation? Away > from the net? We must be from different planets... > Very likely, as us Saturnians inhabit the moons, not the planet. Only rocky planet-dwellers talk like that! -- Dotan Cohen http://what-is-what.com http://gibberish.co

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread O. Lavell
Dotan Cohen wrote: > It's called "vacation away from the 'net but there is an emergency". I'm > certain that a fair portion of the list is familiar with that! I haven't the slightest idea what you are talking about. Vacation? Away from the net? We must be from different planets... -- PHP Gen

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> If they can reach you by phone you are not on vacation. You are still > attached to their leash. > And they still throw me bones :) It's worth it! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread c...@hosting4days.com
Jim Lucas wrote: I would recommend http://www.rgraph.net/ It was written and is currently maintained by a member of this list. Jim Lucas Hi Jim, rgraph looks cool... most demos I see show just a few points - do you think this could display 500 points? (I'm looking through their docs now.

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
From: Dotan Cohen >> >> I would be interested in finding out how the OP ended up having absolutely >> no option but to pass code to another Homo Sapien verbally?  Unless you >> managed to cripple your system and disconnect your company from the >> internet, surely, it would have been faster (and ea

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> Have you thought about using instant messaging?  How about sending the code > to him via text message?  Putting it on a pastie or on code pad? IRC, sFTP, > SSH, you see, in the 21st century, there exists a plethora of solutions to > circumvent this particular "issue". > > I would be interested in

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> It depends... is the person familiar with PHP or not? If they are not then > the process is more cumbersome since I can't say things like variable item > calling camel-case method getServiceId without parameters. > Yes, I should have mentioned that the other party is an experienced PHP developer

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> Ok, but really, I would say something along these lines: > > > Open Conditional statement > > Test Condition >        Using object variable "item" call object member method "get service id" > > if condition results are true issue following command >        Using object variable "item" call object

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> There are, what you'd call, technical jargon for them. > However, it'd pretty obviously depend on the extent of knowledge of the > person on other side of phone line. If she understands PHP objects, > difference between OOP in PHP4 & PHP5, and ternary operator, things would be > fairly simple. >

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> First ask him/her for an email address, and then while you are over the > phone send the text by email. > This way the other can *instantaneously* read and both of you can talk about > the code. > That is how it is usually done. But we have found ourselves twice in the position where one had to

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
So it looks like RedHat is on standard time, while PHP is still DST. Which one is correct? You need to update the time zone database on the other. Bob McConnell -Original Message- From: Darvin Denmian [mailto:darvin.denm...@gmail.com] Sent: Friday, October 16, 2009 2:17 PM Cc: php-gener

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Bob, bash: Fri Oct 16 15:14:54 BRT 2009 php output: BRST Thanks On Fri, Oct 16, 2009 at 3:09 PM, Bob McConnell wrote: > When you enter "date" on the bash command line, what do you get back? > > When you run a php file with 'echo date('T')."\n";' does it show the same > time zone and DST flag

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
When you enter "date" on the bash command line, what do you get back? When you run a php file with 'echo date('T')."\n";' does it show the same time zone and DST flag? Which one is wrong? Bob McConnell -Original Message- From: Darvin Denmian [mailto:darvin.denm...@gmail.com] Sent: Fri

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread Jim Lucas
c...@hosting4days.com wrote: > (sorry about the long Subject line typo - resending) > > I have a data file that stores about 500 numbers in a record - meant to > plot a basic line graph (left to right). The numbers can be imported > into a record with 500 fields or just stored in a text field - wh

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Bob, unfortunately I don't know to answer your question. Are you refering to upgrade the tzdata package? The only thing I know is that time changed from 12:00 to 13:00 automaticaly Thanks for all replies! On Fri, Oct 16, 2009 at 2:39 PM, Bob McConnell wrote: > From: Joseph Masoud >> Dar

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
From: Joseph Masoud > Darvin Denmian wrote: >> >> - I'm running Red Hat Linux (5.3) >> - The system timezone is set to America/Sao_Paulo >> >> I'm running a stand-alone php script (crontab) , and I don't know how PHP >> output this wrong hour. >> >> The output of command "php -i " shows: >> >> Defa

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 10:32 -0700, c...@hosting4days.com wrote: > (sorry about the long Subject line typo - resending) > > I have a data file that stores about 500 numbers in a record - meant > to plot a basic line graph (left to right). The numbers can be > imported into a record with 500 fi

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Could this issue be caused by outdated version of timezonedb (http://pecl.php.net/package/timezonedb) ? Thanks. On Fri, Oct 16, 2009 at 2:31 PM, Joseph Masoud wrote: > Darvin Denmian wrote: >> >> Thanks for your reply >> >> - I'm running Red Hat Linux (5.3) >> - The system timezone is set to

[PHP] Plotting a Line Graph

2009-10-16 Thread cool
(sorry about the long Subject line typo - resending) I have a data file that stores about 500 numbers in a record - meant to plot a basic line graph (left to right). The numbers can be imported into a record with 500 fields or just stored in a text field - which ever is better. The user m

Re: [PHP] Wrong Date

2009-10-16 Thread Joseph Masoud
Darvin Denmian wrote: Thanks for your reply - I'm running Red Hat Linux (5.3) - The system timezone is set to America/Sao_Paulo I'm running a stand-alone php script (crontab) , and I don't know how PHP output this wrong hour. The output of command "php -i " shows: Default timezone => Amer

[PHP] Plotting a Line Graph It seems that the google charts work from a url - so 500 points would be way to long for any url - so I guess that option is out.

2009-10-16 Thread c...@hosting4days.com
I have a data file that stores about 500 numbers in a record - meant to plot a basic line graph (left to right). The numbers can be imported into a record with 500 fields or just stored in a text field - which ever is better. The user might want to pick a few random records and plot them

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Thanks for your reply - I'm running Red Hat Linux (5.3) - The system timezone is set to America/Sao_Paulo I'm running a stand-alone php script (crontab) , and I don't know how PHP output this wrong hour. The output of command "php -i " shows: Default timezone => America/Sao_Paulo I don't k

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Joseph Masoud
Robert Cummings wrote: Bob McConnell wrote: From: tedd At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item->getServiceId() ? $item->getServiceId

Re: [PHP] Wrong Date

2009-10-16 Thread Thodoris
Hello, My currently timezone is set to : America/Sao_Paulo My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009 But when I execute "echo date("d/m/Y H:i:s");" the output presented have +1 hour Bellow [date] of php.ini: date date/time support => enabled "Olson" Timezone Database Version

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
Bob McConnell wrote: From: tedd At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item->getServiceId() ? $item->getServiceId() : $item->getId(;

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread LinuxManMikeC
On Fri, Oct 16, 2009 at 10:07 AM, Bob McConnell wrote: > From: Ashley Sheridan >> On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote: >>> > Wow! Here goes: >>> > >>> > Open-bracket, dollar item hypen greater-than, get service id, no > all one word but with a capital S and I. Open and close brack

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
Ashley Sheridan wrote: On Fri, 2009-10-16 at 12:47 -0400, tedd wrote: At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item->getServiceId() ? $item

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
From: tedd > At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: >>On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: >> >>> How would you read this out loud if you were to read it to someone >>> over the phone? >>> >>> ($item->getServiceId() ? $item->getServiceId() : $item->getId(; >>> >

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 12:47 -0400, tedd wrote: > At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: > >On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: > > > >> How would you read this out loud if you were to read it to someone > >> over the phone? > >> > >> ($item->getServiceId() ? $item-

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread tedd
So it really involves mentioning each character. I was hoping that there would be a shared language for constructs such as -> and the like. I like pointy-thingie, but it's called an "operator". Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- P

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Robert Cummings
Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item->getServiceId() ? $item->getServiceId() : $item->getId(; It depends... is the person familiar with PHP or not? If they are not then the process is more cumbersome since I can't sa

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread tedd
At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item->getServiceId() ? $item->getServiceId() : $item->getId(; Thanks! -- Dotan Cohen http:

[PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Hello, My currently timezone is set to : America/Sao_Paulo My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009 But when I execute "echo date("d/m/Y H:i:s");" the output presented have +1 hour Bellow [date] of php.ini: date date/time support => enabled "Olson" Timezone Database Version =>

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
From: Ashley Sheridan > On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote: >> > Wow! Here goes: >> > >> > Open-bracket, dollar item hypen greater-than, get service id, no all one word but with a capital S and I. Open and close brackets, question mark, dollar item again, then a hyphen and greater

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Jim Lucas
Dotan Cohen wrote: > How would you read this out loud if you were to read it to someone > over the phone? > > ($item->getServiceId() ? $item->getServiceId() : $item->getId(; > > Thanks! > FATAL ERROR: Non matching parenthesis. Ok, but really, I would say something along these lines: Op

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bipin Upadhyay
On 10/16/2009 9:31 PM, Dotan Cohen wrote: Wow! Here goes: Open-bracket, dollar item hypen greater-than, get service id, no all one word but with a capital S and I. Open and close brackets, question mark, dollar item again, then a hyphen and greater-than, that get service id and brackets bit a

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Martin Scotta
First ask him/her for an email address, and then while you are over the phone send the text by email. This way the other can *instantaneously* read and both of you can talk about the code. On Fri, Oct 16, 2009 at 1:01 PM, Ashley Sheridan wrote: > On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wro

[PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Hello, My currently timezone is set to : America/Sao_Paulo My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009 But when I execute "echo date("d/m/Y H:i:s");" the output presented have +1 hour Bellow [date] of php.ini: date date/time support => enabled "Olson" Timezone Database Version =>

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote: > > Wow! Here goes: > > > > Open-bracket, dollar item hypen greater-than, get service id, no all one > > word but with a capital S and I. Open and close brackets, question mark, > > dollar item again, then a hyphen and greater-than, that get

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> open parenthesis > $item getServiceId > question symbol > $item getServiceId > colon > $item getId > close parenthesis > > How would you mention the -> constructs? Certainly they are not assumed? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (htt

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> Wow! Here goes: > > Open-bracket, dollar item hypen greater-than, get service id, no all one word > but with a capital S and I. Open and close brackets, question mark, dollar > item again, then a hyphen and greater-than, that get service id and brackets > bit again, exactly the same as last ti

Re: [PHP] How to Delete the parent node, and child nodes/leafs for a db/tbl in php

2009-10-16 Thread Jim Lucas
Ashley Sheridan wrote: > On Fri, 2009-10-16 at 08:34 -0700, bruce wrote: > >> Hi. >> >> I've got a situation where I have a couple of tables. The relationship >> between the tables is one of parent/child. I'm trying to figure out the best >> approach to being able to delete the associated children

Re: [PHP] How to Delete the parent node, and child nodes/leafs for a db/tbl in php

2009-10-16 Thread David Otton
2009/10/16 bruce : > I've got a situation where I have a couple of tables. The relationship > between the tables is one of parent/child. I'm trying to figure out the best > approach to being able to delete the associated children in the child tbls, > of a given parentID in the parentTBL... > > I'v

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: > How would you read this out loud if you were to read it to someone > over the phone? > > ($item->getServiceId() ? $item->getServiceId() : $item->getId(; > > Thanks! > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish

RE: [PHP] How to Delete the parent node, and child nodes/leafs for a db/tbl in php

2009-10-16 Thread bruce
hi ash... thanks for getting back to me. my situation isn't that complex, but i'm looking for an efficient method. i've got a start tbl universityTBL the universityTBL can have either schoolTBL, or deptTBL as the next child tbl the schoolTBL will have deptTBL as the child tbl the deptT

Re: [PHP] How to Delete the parent node, and child nodes/leafs for a db/tbl in php

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 08:34 -0700, bruce wrote: > Hi. > > I've got a situation where I have a couple of tables. The relationship > between the tables is one of parent/child. I'm trying to figure out the best > approach to being able to delete the associated children in the child tbls, > of a give

[PHP] How to Delete the parent node, and child nodes/leafs for a db/tbl in php

2009-10-16 Thread bruce
Hi. I've got a situation where I have a couple of tables. The relationship between the tables is one of parent/child. I'm trying to figure out the best approach to being able to delete the associated children in the child tbls, of a given parentID in the parentTBL... I've checked into various sit

RE: [PHP] Built-in Debugging

2009-10-16 Thread David Murphy
I have to disagree, while Exception handling and the like have their place. Sometimes when you develop you want to stop execution and look at your memory stack to make sure you didn't over look something. Especially if you are relying on someone else code and it's not a project owned 100% by

Re: [PHP] Built-in Debugging

2009-10-16 Thread Robert Cummings
Al wrote: Ashley Sheridan wrote: On Fri, 2009-10-16 at 09:04 -0400, Al wrote: Bob McConnell wrote: From: Raymond Irving Will be ever see built-in debugging features for PHP? I do not expect there would be. Debuggers are more likely to be provided by the IDE. For example, in MS-Windows, Vi

RE: [PHP] Built-in Debugging

2009-10-16 Thread Bob McConnell
From: Ashley Sheridan > On Fri, 2009-10-16 at 09:04 -0400, Al wrote: >> Bob McConnell wrote: >> > From: Raymond Irving >> > >> >> Will be ever see built-in debugging features for PHP? >> > >> > I do not expect there would be. Debuggers are more likely to be provided >> > by the IDE. For example,

Re: [PHP] Built-in Debugging

2009-10-16 Thread Al
Ashley Sheridan wrote: On Fri, 2009-10-16 at 09:04 -0400, Al wrote: Bob McConnell wrote: From: Raymond Irving Will be ever see built-in debugging features for PHP? I do not expect there would be. Debuggers are more likely to be provided by the IDE. For example, in MS-Windows, Visual Studi

Re: [PHP] Built-in Debugging

2009-10-16 Thread Ashley Sheridan
On Fri, 2009-10-16 at 09:04 -0400, Al wrote: > > Bob McConnell wrote: > > From: Raymond Irving > > > >> Will be ever see built-in debugging features for PHP? > > > > I do not expect there would be. Debuggers are more likely to be provided > > by the IDE. For example, in MS-Windows, Visual Studi

Re: [PHP] Built-in Debugging

2009-10-16 Thread Al
Bob McConnell wrote: From: Raymond Irving Will be ever see built-in debugging features for PHP? I do not expect there would be. Debuggers are more likely to be provided by the IDE. For example, in MS-Windows, Visual Studio is the IDE and can include any of several compilers. It also include

RE: [PHP] Built-in Debugging

2009-10-16 Thread Bob McConnell
From: Raymond Irving > Will be ever see built-in debugging features for PHP? I do not expect there would be. Debuggers are more likely to be provided by the IDE. For example, in MS-Windows, Visual Studio is the IDE and can include any of several compilers. It also includes the debugger, and uses

[PHP] Re: Built-in Debugging

2009-10-16 Thread Al
Raymond Irving wrote: Hello, Will be ever see built-in debugging features for PHP? I kjnow there's xdebug but it's sometimes difficult to get it working. I'm hopoing that PHP will one day have intgrated debuging features that can be easily enabled or disabled: Personally, I've found t

RE: [PHP] Built-in Debugging

2009-10-16 Thread Andrea Giammarchi
Specially suited for Ajax interaction, you may be interested into Formaldehyde: http://code.google.com/p/formaldehyde/ Regards > Date: Thu, 15 Oct 2009 17:39:14 -0700 > From: xwis...@yahoo.com > To: php-general@lists.php.net > Subject: [PHP] Built-in Debugging > > Hello, > > Will be ever see b

[PHP] XSLTProcessor: need interface to libxslt´s xsltDocL oaderFunc

2009-10-16 Thread Felix Siglreithmaier
Hi, in the Java Xalan XSLT processor there is an URIResolver object to resolve URIs used in xsl:include, xsl:import, etc. http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/class-use/URIResolver.html With this URIResolver you can comfortably implement your own logic to load external resour

Re: [PHP] Header problem - "solved"

2009-10-16 Thread Kim Madsen
Andrea Giammarchi wrote on 2009-10-05 18:26: > There's a useful function called headers_sent() which checks to see if > the headers have already been sent to the browser. This might be a good > place to throw into your code at various points to check and see if > something is being written w

Re: [PHP] security/deployment issue

2009-10-16 Thread hessiess
>> Rsync should work fine, but personally I like to see exactly which >> changes are being deployed especially when deploying to production. >> While I realise this recommendation is not Open Source software, I >> have found it to be an excellent piece of software for this task. I >> use Beyond Com