- 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
- 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
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
- 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
- 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
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
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
> 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
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
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
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
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
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
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
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:
>
>
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
> 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
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
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
>> 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
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
- 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
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
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
>>> 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
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.
> 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
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
> 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
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.
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
> 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
> 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
> 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
> 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.
>
> 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
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
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
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
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
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
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
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
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
(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
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
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
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
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
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
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(;
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
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
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(;
>>>
>
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-
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
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
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:
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 =>
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
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
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
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
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 =>
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
> 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
> 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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
>> 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
85 matches
Mail list logo