> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Lucas Prado Melo
> Sent: Friday, January 11, 2008 8:50 PM
> To: Jim Lucas
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] PHP shell commands
>
> On Jan 11, 2008 9:28 PM, Jim Lucas <[EMAIL PROTECTED
And I'd be interested to hear of an actual side-by-side comparison on
comparable hardware where sendmail using pipes beats SMTP on a LAN.
I don't have that but a comparison between the main open-source mta's
(all out of the box, no optimizations for any of them) revealed sendmail
sucks the m
Also don't forget the part where you shouldn't disconnect and
reconnect between mails sent.
indeed but I have experienced situations where the SMTP server refuses
more than X number of messages on any one connection ... which meant
having to get the script to disconnect/reconnect every 200 (ii
Hello,
on 01/11/2008 08:26 PM Richard Lynch said the following:
>>> Bearing in mind I haven't yet done any benchmarks, which do you
>>> think is
>>> faster - SMTP with multiple RCPT commands or the PHP mail() function
>>> (with it launching a separate sendmail process for each mail()
>>> function
On Friday 11 January 2008, Zoltán Németh wrote:
> > So, make all your functions return objects, and have the object have a
> > method called get or index or something like that that returns the index
> > requested. :)
> >
> > Better yet, make everything an object: String, Numeric, Array, etc
>
>
On Jan 11, 2008 9:28 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> What feature would you think about adding to it?
>
I think we should be able to set (editing httpd.conf in apache) which
folders are visible to any php script (including shell commands
written in it).
So, we could use Directory tags
Lucas Prado Melo wrote:
Where should I look for further help about mod_php?
How do I beg to someone add a feature in mod_php?
On Jan 11, 2008 8:00 PM, Nate Tallman <[EMAIL PROTECTED]> wrote:
To fix this scenerio, chroot would require different apache processes
running under different users.
Where should I look for further help about mod_php?
How do I beg to someone add a feature in mod_php?
On Jan 11, 2008 8:00 PM, Nate Tallman <[EMAIL PROTECTED]> wrote:
> To fix this scenerio, chroot would require different apache processes
> running under different users.
--
PHP General Mailing L
On Fri, January 11, 2008 1:51 pm, Manuel Lemos wrote:
> Hello,
>
> on 01/11/2008 02:29 PM Richard Heyes said the following:
>> Hi,
>>
>> Bearing in mind I haven't yet done any benchmarks, which do you
>> think is
>> faster - SMTP with multiple RCPT commands or the PHP mail() function
>> (with it
On Fri, January 11, 2008 12:22 pm, Jochem Maas wrote:
> Eric Butera schreef:
>> On Jan 11, 2008 11:33 AM, Stut <[EMAIL PROTECTED]> wrote:
>>> No brainer, SMTP will almost certainly be faster. My mailing list
>>> system
>>> (written in PHP obviously) can dump 600k customised emails to the
>>> loca
On Fri, January 11, 2008 10:29 am, Richard Heyes wrote:
> Bearing in mind I haven't yet done any benchmarks, which do you think
> is
> faster - SMTP with multiple RCPT commands or the PHP mail() function
> (with it launching a separate sendmail process for each mail()
> function
> call)?
If mail()
Install Live HTTP Headers and see what headers are being sent.
Then search for those headers and FireFox Mac issues online.
On Fri, January 11, 2008 10:34 am, Terry Calie wrote:
> Sorry if this is the wrong place to ask this question... if so please
> help me figure out where to ask it. I've ask
To fix this scenerio, chroot would require different apache processes
running under different users.
On Jan 11, 2008 3:46 PM, Lucas Prado Melo <[EMAIL PROTECTED]> wrote:
> On Jan 11, 2008 2:16 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > Make sure you change the permissions on the director
On 1/11/08, Richard Lynch <[EMAIL PROTECTED]> wrote:
> This strikes me as if you've got a Private/Public key issue where you
> neglected to generate/install a key-pair...
Yeah, the "certificate" error message makes me think something is not
right with my PHP install or how it's talking to the Open
On Jan 11, 2008 4:44 PM, Wolf <[EMAIL PROTECTED]> wrote:
> I dunno Dan, my posts aren't showing up in the list, and this tracker has 92
> of the 226 posts...
>
> ;)
Like I told Jason a little bit ago, there was a total drive
failure on that server on 8 January, which the datacenter didn't hav
On Jan 11, 2008 2:16 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> Make sure you change the permissions on the directory in which
> uploads are saved to be non-readable by anyone (including yourself, in
> case the scripts are suexec'd).
>
> For example, if the directory in which you save up
I dunno Dan, my posts aren't showing up in the list, and this tracker has 92 of
the 226 posts...
;)
"PostTrack [Dan Brown]" <[EMAIL PROTECTED]> wrote:
>
> Posting Summary for PHP-General List
> Week Ending: Friday, 11 January, 2008
>
> Messages| Bytes
On Fri, January 11, 2008 11:44 am, Greg Donald wrote:
I really have NO IDEA, but...
> ldap_int_sasl_open: host=ldap.example.com
> TLS certificate verification: depth: 0, err: 66, subject:
> C=US,ST=SomeState,O=SomeCompany,CN=ldap.example.com, issuer:
> C=US,O=Equifax,OU=Equifax Secure Certificate
Hate to shot a hole in your script Dan... But my posts aren't
listed :P and I had a few on Jan 8 :)
Where should I file a bug report?
On Jan 11, 2008, at 4:00 PM, PostTrack [Dan Brown] wrote:
Posting Summary for PHP-General List
Week Ending: Friday, 11 January, 2008
THAT was the way it was supposed to work. Though in all of the
chaos, I forgot to fix the percentage factoring.
Anyway, it will be one message sent at 4:00p on Friday each week,
and that's all. Not 92 messages sent on one day.
Sorry about that again :-(
On Jan 11, 2008 4:0
On Jan 11, 2008 4:11 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hate to shot a hole in your script Dan... But my posts aren't
> listed :P and I had a few on Jan 8 :)
>
> Where should I file a bug report?
Well, that's the other interesting thing. As Tedd and David from
the list know, on the
Christoph Boget schreef:
"joe" and "0" are keys that I created whereas the key "1" and "2" are
...
php doesn't differentiate between numeric [integer] strings and actual
integers with regard to array keys.
herein lies the 'problem'
)
but my function above would create an array that looks l
Posting Summary for PHP-General List
Week Ending: Friday, 11 January, 2008
Messages| Bytes | Sender
+-+--
226 (100%) 255776 (100%) EVERYONE
81(0.36%) 43996(0
I have learned PHP using PHP manual available at the www.php.net in chm
format...
You can also try.. my php free books collection here
http://www.kingzones.org/bookszone/php.php
But still I go with PHP manual...
On Jan 11, 2008 11:42 PM, Sean-Michael <[EMAIL PROTECTED]> wrote:
> I've been searc
On 1/11/08, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > Assuming you're talking delivery to a local MTA (which will subsequently
> > do the remote delivery), is speed really important?
>
> For the amount of email I'm looking at (1000s, growing), yes.
one word: phpmailer (http://phpmailer.codeworx
Nathan Nobbe wrote:
On Jan 11, 2008 3:45 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
and call it Java ;)
or perhaps javascript :)
function cool() {
return [1, 2, 3];
}
alert(cool()[0]);
-nathan
or Ruby
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
Hello,
on 01/11/2008 04:22 PM Jochem Maas said the following:
> Eric Butera schreef:
>> On Jan 11, 2008 11:33 AM, Stut <[EMAIL PROTECTED]> wrote:
>>> No brainer, SMTP will almost certainly be faster. My mailing list system
>>> (written in PHP obviously) can dump 600k customised emails to the local
If you have your sendmail equivalent program properly configured, no
SMTP connection is used when queueing messages using the sendmail program.
What about when you take into consideration this program could be
sending 1000's of emails, say, 100 per SMTP connection?
--
Richard Heyes
http://www
Assuming you're talking delivery to a local MTA (which will subsequently
do the remote delivery), is speed really important?
For the amount of email I'm looking at (1000s, growing), yes.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the
Hello,
on 01/11/2008 02:33 PM Stut said the following:
> Richard Heyes wrote:
>> Bearing in mind I haven't yet done any benchmarks, which do you think
>> is faster - SMTP with multiple RCPT commands or the PHP mail()
>> function (with it launching a separate sendmail process for each
>> mail() fun
Hello,
on 01/11/2008 06:03 PM Richard Heyes said the following:
>> If you have your sendmail equivalent program properly configured, no
>> SMTP connection is used when queueing messages using the sendmail
>> program.
>
> What about when you take into consideration this program could be
> sending
Richard Heyes wrote:
> Bearing in mind I haven't yet done any benchmarks, which do you think
> is faster - SMTP with multiple RCPT commands or the PHP mail()
> function (with it launching a separate sendmail process for each
> mail() function call)?
Assuming you're talking delivery to a local MTA
Richard Heyes wrote:
If you have your sendmail equivalent program properly configured, no
SMTP connection is used when queueing messages using the sendmail
program.
What about when you take into consideration this program could be
sending 1000's of emails, say, 100 per SMTP connection?
In
Manuel Lemos wrote:
> On Linux/Unix, mail() uses sendmail or equivalent programs. These
> programs use pipes to communicate, which are much faster than using
> SMTP TCP sockets.
Uh, sendmail on unix typically just drops the email file into a
directory for the mailer daemon to pick up from.
/Pe
Hello,
on 01/11/2008 02:29 PM Richard Heyes said the following:
> Hi,
>
> Bearing in mind I haven't yet done any benchmarks, which do you think is
> faster - SMTP with multiple RCPT commands or the PHP mail() function
> (with it launching a separate sendmail process for each mail() function
> cal
On Jan 11, 2008 1:26 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> Weird! I've never heard of that but I really don't doubt it. Working
> with e-mail is the least favorite part of my work.
he said, via email.
--
Daniel P. Brown
Senior Unix Geek and #1 Rated "Year's Coolest Guy" By Se
There is no such thing. :)
Perhaps not then... :-)
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **
--
PHP General Mailing List (http://www.php.net/
On Jan 11, 2008 1:33 PM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > I used to use htmlMimeMail, but now I use Zend_Mail as it has a better
> > API and is also faster in regards to the quoted printable encoding.
>
> IIRC htmlMimeMail use the PHP built in function to do quoted printable
> encoding.
> > "joe" and "0" are keys that I created whereas the key "1" and "2" are
> > keys assigned by PHP when the array was created. When iterating
> > through an array, is there a way to determine which were generated by
> > PHP? I can't rely on whether or not the key is an integer because
> > it's qu
I used to use htmlMimeMail, but now I use Zend_Mail as it has a better
API and is also faster in regards to the quoted printable encoding.
IIRC htmlMimeMail use the PHP built in function to do quoted printable
encoding.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and
I've been searching the web for all the tutorials I can on the subject of
php programming, I don't think there is a limit on what is really available
to learn.
What I want to ask is if anyone can recommend a good/best text book to learn
from, I like to have a good book on hand! I was going to
On Jan 11, 2008 1:22 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Eric Butera schreef:
> > On Jan 11, 2008 11:33 AM, Stut <[EMAIL PROTECTED]> wrote:
> >> No brainer, SMTP will almost certainly be faster. My mailing list system
> >> (written in PHP obviously) can dump 600k customised emails to the l
Eric Butera schreef:
On Jan 11, 2008 11:33 AM, Stut <[EMAIL PROTECTED]> wrote:
No brainer, SMTP will almost certainly be faster. My mailing list system
(written in PHP obviously) can dump 600k customised emails to the local
SMTP server in a couple of hours. Doing the same with the mail command
t
On Jan 11, 2008 1:17 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> explain what your trying to achieve and why. because it seems like your
> 'requirement' is a result of tackling the problem from the wrong end.
I'd wait and listen to what Jochem has to say first, but you might be
able to keep a cop
Arlen Christian Mart Cuss schreef:
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
because it's not valid syntax. strangely enough php is neither ,
nor is it capable of det
Christoph Boget schreef:
Given the following array:
'bob', "0" => 'briggs', 'whatever', 'whereever');
echo '' . print_r( $myArr, TRUE ) . '';
?>
Array
(
[joe] => bob
[0] => briggs
[1] => whatever
[2] => whereever
)
"joe" and "0" are keys that I created whereas the key "1" and "2" are
ke
Hello,
I'm tasked with writing an application in PHP that will authenticate
against a known working LDAP server. I'm having some problems binding
against that LDAP server and cannot find the issue.
I can telnet to the LDAP server's IP and port:
> > telnet 12.34.56.78 636
Trying 12.34.56.78...
C
On Jan 11, 2008 11:33 AM, Stut <[EMAIL PROTECTED]> wrote:
> No brainer, SMTP will almost certainly be faster. My mailing list system
> (written in PHP obviously) can dump 600k customised emails to the local
> SMTP server in a couple of hours. Doing the same with the mail command
> took over 24 hour
On Jan 11, 2008 11:36 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> >> Bearing in mind I haven't yet done any benchmarks, which do you think
> >> is faster - SMTP with multiple RCPT commands or the PHP mail()
> >> function (with it launching a separate sendmail process for each
> >> mail() functio
On Jan 11, 2008 11:53 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> With a problem like that, code and a web page are very helpful to
> track it down. I'm willing to take a look at what I can with my Mac &
> firefox, and see what I can sort out :)
>
> I just need more info..
>
>
>
> On Jan 11, 2008,
Daniel Brown wrote:
[SNIPPED]
Just keep in
mind that anything that can be accessed by any means is never going to
be 100% secure.
I like the the line :)
--Bipin Upadhyay,
http://projectbee.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
With a problem like that, code and a web page are very helpful to
track it down. I'm willing to take a look at what I can with my Mac &
firefox, and see what I can sort out :)
I just need more info..
On Jan 11, 2008, at 11:34 AM, Terry Calie wrote:
Sorry if this is the wrong place to ask t
Bearing in mind I haven't yet done any benchmarks, which do you think
is faster - SMTP with multiple RCPT commands or the PHP mail()
function (with it launching a separate sendmail process for each
mail() function call)?
No brainer, SMTP will almost certainly be faster. My mailing list system
Sorry if this is the wrong place to ask this question... if so please
help me figure out where to ask it. I've asked on FireFox forums and
was told it was a PHP problem and to ask the developers of PHP.
I have a PHP website that freezes in Firefox on a Mac. Every other
browser/operating syst
Richard Heyes wrote:
Bearing in mind I haven't yet done any benchmarks, which do you think is
faster - SMTP with multiple RCPT commands or the PHP mail() function
(with it launching a separate sendmail process for each mail() function
call)?
No brainer, SMTP will almost certainly be faster. M
Hi,
Bearing in mind I haven't yet done any benchmarks, which do you think is
faster - SMTP with multiple RCPT commands or the PHP mail() function
(with it launching a separate sendmail process for each mail() function
call)?
Thanks.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Kno
On Jan 11, 2008 6:58 AM, Lucas Prado Melo <[EMAIL PROTECTED]> wrote:
> On Jan 11, 2008 9:33 AM, Bipin Upadhyay <[EMAIL PROTECTED]> wrote:
> > Lucas Prado Melo wrote:
> > > Hello,
> > > Some php applications store database passwords into files which can be
> > > read by the user www-data.
> > Why no
>I do not see an entry stating "Loaded Configuration File" in the output
this only available since php 5.2 (iirc)
--
View this message in context:
http://www.nabble.com/-etc-php.init-changes-not-honored-tp14746039p14759509.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
On Jan 11, 2008 3:45 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> and call it Java ;)
>
or perhaps javascript :)
function cool() {
return [1, 2, 3];
}
alert(cool()[0]);
-nathan
2008. 01. 11, péntek keltezéssel 08.12-kor Christoph Boget ezt írta:
> Given the following array:
>
>$myArr = array( 'joe' => 'bob', "0" => 'briggs', 'whatever', 'whereever');
> echo '' . print_r( $myArr, TRUE ) . '';
> ?>
>
> Array
> (
> [joe] => bob
> [0] => briggs
> [1] => whatever
>
Given the following array:
'bob', "0" => 'briggs', 'whatever', 'whereever');
echo '' . print_r( $myArr, TRUE ) . '';
?>
Array
(
[joe] => bob
[0] => briggs
[1] => whatever
[2] => whereever
)
"joe" and "0" are keys that I created whereas the key "1" and "2" are
keys assigned by PHP when the
On Jan 11, 2008 9:33 AM, Bipin Upadhyay <[EMAIL PROTECTED]> wrote:
> Lucas Prado Melo wrote:
> > Hello,
> > Some php applications store database passwords into files which can be
> > read by the user www-data.
> Why not keep them out of the web tree and inform the application
> regarding the same.
Lucas Prado Melo wrote:
Hello,
Some php applications store database passwords into files which can be
read by the user www-data.
Why not keep them out of the web tree and inform the application
regarding the same. I am sure almost all good applications would provide
a simple way for doing it.
Some php applications store database passwords into files which can be
read by the user www-data.
So, a malicious user which can write php scripts could read those passwords.
What should I do to prevent users from viewing those passwords?
You could encode your file(s) using something like the Ze
I'm pretty certain it's automatic in most. I think Firefox has a default
50Mb of cache-space.
Great, thanks.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-P
Suppose we were using apache webserver.
I think obfuscation won't work since with some work a user could read
the password.
How to encrypt/decrypt the password?
On Jan 11, 2008 3:37 AM, Chris <[EMAIL PROTECTED]> wrote:
> Not too much really.
>
> The webserver needs to be able to read a config file
Richard Heyes wrote:
> Hi,
>
> What's the default setting for caching in browsers? With IE is it
> "Automatically" as I think it is? And what about other browsers? Some
> equivalent?
I'm pretty certain it's automatic in most. I think Firefox has a default
50Mb of cache-space.
/Per Jessen, Zür
Hi,
What's the default setting for caching in browsers? With IE is it
"Automatically" as I think it is? And what about other browsers? Some
equivalent?
Thanks.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
2008. 01. 10, csütörtök keltezéssel 21.25-kor Jim Lucas ezt írta:
> Nathan Nobbe wrote:
> > On Jan 10, 2008 11:00 PM, Arlen Christian Mart Cuss <[EMAIL PROTECTED]>
> > wrote:
> >
> >> Hi there,
> >>
> >> Why is it that if I try to evaluate an index of an array returned by a
> >> function immediate
69 matches
Mail list logo