php-general Digest 5 Sep 2008 05:38:18 - Issue 5664
Topics (messages 279515 through 279548):
Re: Google Chrome
279515 by: Ovidiu Rosoiu
279516 by: Bastien Koert
279517 by: Boyd, Todd M.
279518 by: TG
279519 by: Stephen Wong
279520 by: Wolf
mike skrev:
Return-path is used by mail daemons, not usually shown in client emails
That's what From or Reply-to is for...
Return-path is valuable for capturing bounces and stuff. I always set
it to a bounce@ alias, and then the From: is always the friendly
display address.
I also use popen()
Good to know. And it makes it easier to use the Apache builds from
http://apachelounge.com.
On Wed, Sep 3, 2008 at 9:06 PM, Andi Gutmans [EMAIL PROTECTED] wrote:
Btw, contrary to what many believe, 32bit PHP tends to perform better
than 64bit PHP.
So unless there's a really good reason why you
On Wed, Sep 3, 2008 at 11:06 PM, Anders Norrbring [EMAIL PROTECTED] wrote:
Thanks Mike, but it didn't really help me out in this app...
This one is making use of PEAR Mail:Mime and Mail, and that seems to work
really good, set aside that I can't alter the Return-Path. I really do want
the
Try with IIS7 + FCGI, it is _fast_ :)
It's a same-across-platforms thing. Mostly to do with the fact we
use mod-rewrite. :(
PHP is so much slower on windows, though a lot of it has to do with
file handling, a Windows specific slowdown I guess.
That's something I really to fix for 5.3.0 or
A word boundary usually matches the natural integer size for the
processor. In the case of a 32 bit processor it would be 32 bits, in the
case of a 64 bit processor it would be 64 bits. This may or may not hold
for windows, but more than likely the word size doubles between the 32
bit
On Wed, 2008-09-03 at 23:39 -0700, steve wrote:
A word boundary usually matches the natural integer size for the
processor. In the case of a 32 bit processor it would be 32 bits, in the
case of a 64 bit processor it would be 64 bits. This may or may not hold
for windows, but more than
Yes and No. PHP could be storing bools as a bit packed in a long word.
But your point about compiling is sill more valid. Compiling 32bit
instructions may use instructions that offer off-alignment memory
referencing. That is -- a bool may actual take only a byte in a 32bit
system. That instruction
On Wed, 2008-09-03 at 23:59 -0700, steve wrote:
Yes and No. PHP could be storing bools as a bit packed in a long word.
But your point about compiling is sill more valid. Compiling 32bit
instructions may use instructions that offer off-alignment memory
referencing. That is -- a bool may actual
On Thu, Sep 4, 2008 at 8:36 AM, steve [EMAIL PROTECTED] wrote:
Try with IIS7 + FCGI, it is _fast_ :)
It's a same-across-platforms thing. Mostly to do with the fact we
use mod-rewrite. :(
I did not try it yet but IIS has a rewrite module. There is also a
commercial product being 100%
hi,
On Thu, Sep 4, 2008 at 6:06 AM, Andi Gutmans [EMAIL PROTECTED] wrote:
Btw, contrary to what many believe, 32bit PHP tends to perform better
than 64bit PHP.
So unless there's a really good reason why you want 64bit I wouldn't
waste too much time on that.
And do not forget that the x64
On 03.09.2008 20:54, Yannick Warnier wrote:
Hi there,
I've been looking for a PHP library that would allow me to calculate
superpositions of geometrical surfaces defined by polygones (defined
themselves by points bound with lines) in 2D (surface of a polygone,
intersections between two vectors,
Hi,
Is it just me, or is everyones disk thrshing more since installing (if
you have) Chrome? Oh, and to keep it in-line with list, isn't PHP
great? :-)
--
Richard Heyes
HTML5 Graphing for IE7, FF, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List
On 3 Sep 2008, at 22:01, Martin Zvarík wrote:
I am working on CMS-Blog system, which will be using approx. 10 000
users.
I have a basic question - I believe there are only two options -
which one is better?
1) having separate databases for each blog = fast
(problem: what if I will need to
Richard Heyes wrote:
Hi,
Is it just me, or is everyones disk thrshing more since installing (if
you have) Chrome? Oh, and to keep it in-line with list, isn't PHP
great? :-)
I didn't even manage to download it - with FF+Linux there's no
downloadable version (ok, not yet ready), but then I
On 4 Sep 2008, at 06:56, Yannick Warnier wrote:
Le mercredi 03 septembre 2008 à 22:07 +0100, Luke a écrit :
seperate databases is a hassle, since you have to mess with multiple
connections, I would go with the one database. Just cut down on data
storage, use userids instead of usernames for
Thank you for all the comments.
Thanks for the WP tip: I don't know much about wordpress (it looks
good), but I have tryed enough of open-source CMS to say that they are
based on messy solutions (one for all = joomla) + it won't be free blog
system, so I don't think using this free system
On 4 Sep 2008, at 11:04, Martin Zvarík wrote:
Thank you for all the comments.
Thanks for the WP tip: I don't know much about wordpress (it looks
good), but I have tryed enough of open-source CMS to say that they
are based on messy solutions (one for all = joomla) + it won't be
free blog
Please keep replies on the list.
On 4 Sep 2008, at 11:38, Martin Zvarík wrote:
On 4 Sep 2008, at 11:04, Martin Zvarík wrote:
Thank you for all the comments.
Thanks for the WP tip: I don't know much about wordpress (it looks
good), but I have tryed enough of open-source CMS to say that they
Hi
I am getting myself quite confused while trying to use SPL to
recursively iterate through a collection of objects, and any help would
be greatly appreciated!
My collection of objects is contained in a class (which I frequently use
to iterate through objects stored in an array in the
On Wed, 2008-09-03 at 23:36 -0700, steve wrote:
It is pretty much include() and its relatives. Autoloading with a lot
of possible include paths. I'm sure if you had a Zend Framework App
and put it on Windows, and took out all the require_onces with paths
in them
Try 5.3 please, our
Le jeudi 04 septembre 2008 à 10:31 +0100, Stut a écrit :
On 4 Sep 2008, at 06:56, Yannick Warnier wrote:
Le mercredi 03 septembre 2008 à 22:07 +0100, Luke a écrit :
seperate databases is a hassle, since you have to mess with multiple
connections, I would go with the one database. Just cut
Hi all,
We would like to send out mass emails for some of our clients, these are
HTML email and text alternative for the email clients that cant read those
HTML emails.
We have developed some scripts to send the emails using phpmailer.
Now we anticipate sending emails in batches but not sure
[snip]
We would like to send out mass emails for some of our clients
[/snip]
Have you searched the list archives for the answers? These points have
been covered numerous times.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I've not 100% confirmed this as a problem yet but I'm getting some
fairly serious problems when parsing xml documents with this version of
libxml2.
I've reported it to the libxml guys, but if you are interested my test
code is here:
https://qa.mandriva.com/show_bug.cgi?id=43486
I'm
Dear general list Members,
I did fly three month ago from germany to california as a software
engineer for the development of international dotcoms.
I am specialized in the development of content management, media
asset management and shop system solutions by use of PHP5.
I had a couple of
!-- SNIP --
Also what is the best way about going around being black listed due to spam
issues.
I know that the headers need to be set to avoid being detected as spam.
!-- SNIP --
Check the list archives for these answers. Someone asked about this within the
last 14 days even.
As for the
Pear has exactly what you need. class Mail_Queue
Angelo Zanetti wrote:
Hi all,
We would like to send out mass emails for some of our clients, these are
HTML email and text alternative for the email clients that cant read those
HTML emails.
We have developed some scripts to send the emails
In my opinion, this is what MTAs are designed for...
Personally I throw every email I need to send at the MTA (postfix is
the best!) and then let it handle processing the queue. If it goes too
slow or too fast that's when you can alter the configuration
(Side note: I'm pretty sure phpmailer
-Original Message-
From: Martin Zvarík [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 5:05 AM
To: php-general@lists.php.net
Subject: Re: Re: [PHP] CMS-Blog system
Thank you for all the comments.
Thanks for the WP tip: I don't know much about wordpress (it looks
-Original Message-
From: Andrew Ballard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2008 2:53 PM
To: PHP General list
Subject: Re: [PHP] Google Chrome
On Wed, Sep 3, 2008 at 1:33 PM, Wolf [EMAIL PROTECTED] wrote:
Since gmail won't take exe files...
Hi,
I am looking for a script that can authenticate a user against the
gmail database - except what I need back is the name of the person
thats doing it automagically, as well as if they have an avatar set
etc. Does anyone know of any scripts that do this?
I have done some googling for this and
-Original Message-
From: Ian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 10:10 AM
To: php-general@lists.php.net
Subject: [PHP] Google Auth Scripts
Hi,
I am looking for a script that can authenticate a user against the
gmail database - except what I need back is
On Thu, Sep 4, 2008 at 11:09 AM, Ian [EMAIL PROTECTED] wrote:
Hi,
I am looking for a script that can authenticate a user against the
gmail database - except what I need back is the name of the person
thats doing it automagically, as well as if they have an avatar set
etc. Does anyone know of
mike wrote:
In my opinion, this is what MTAs are designed for...
Personally I throw every email I need to send at the MTA (postfix is
the best!) and then let it handle processing the queue. If it goes too
slow or too fast that's when you can alter the configuration
Agree 100%. Postfix (or
Colin Guthrie wrote:
Hi,
I've not 100% confirmed this as a problem yet but I'm getting some
fairly serious problems when parsing xml documents with this version of
libxml2.
I've reported it to the libxml guys, but if you are interested my test
code is here:
Richard Heyes wrote:
Hi,
Is it just me, or is everyones disk thrshing more since installing (if
you have) Chrome? Oh, and to keep it in-line with list, isn't PHP
great? :-)
I uninstalled it precisely beacause of this behaviour. The disk was
running crazy every time chrome was started.
And
On Thu, Sep 4, 2008 at 1:55 PM, Ovidiu Rosoiu
[EMAIL PROTECTED]wrote:
Richard Heyes wrote:
Hi,
Is it just me, or is everyones disk thrshing more since installing (if
you have) Chrome? Oh, and to keep it in-line with list, isn't PHP
great? :-)
I uninstalled it precisely beacause of this
-Original Message-
From: Ovidiu Rosoiu [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 12:56 PM
To: Richard Heyes
Cc: php-general@lists.php.net
Subject: Re: [PHP] Google Chrome
Richard Heyes wrote:
Hi,
Is it just me, or is everyones disk thrshing more since
There's an option for pre-buffering things, I believe. It may be doing that.
Or it may be just indexing your whole HD and sending it's contents back to
Google. :)
-TG
- Original Message -
From: Ovidiu Rosoiu [EMAIL PROTECTED]
To: Richard Heyes [EMAIL PROTECTED]
Cc:
Wow, didn't notice the GoogleUpdate.exe, thanks for the heads up on
that. Agreed about programs adding items in our startup.
On Thu, Sep 4, 2008 at 2:23 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Ovidiu Rosoiu [mailto:[EMAIL PROTECTED]
Sent: Thursday,
!-- SNIP --
You can at least track memory + cpu usage through the Task Manager
(Ctrl-Alt-Del + T on most distros). In the Task Manager, I also noticed
that GoogleUpdate.exe is running even when Chrome.exe is not. This made
me a bit curious, so I went into msconfig (the Microsoft GUI utility
Hi
given page1 has a list of goods and sends $i as a variable into a link
to page2, ie, a href=page2.php?i=3send/a
Page2 adds the items recieved in an array.
In page2 how can I unset the $_GET['i'] so that if I press F5(refresh)
it doesn't add the same item to the array ?
I tried
Hi
given page1 has a list of goods and sends $i as a variable into a link to
page2, ie, a href=page2.php?i=3send/a
Page2 adds the items recieved in an array.
In page2 how can I unset the $_GET['i'] so that if I press F5(refresh) it
doesn't add the same item to the array ?
I tried
Shawn McKenzie wrote:
Will somebody volunteer to test on Wine or Mono?
-Shawn
already done by this guy
http://www.myscienceisbetter.info/2008/09/install-google-chrome-on-linux-using-wine.html
eugene
--
-
Eugene Mah,
Dan Shirah a écrit :
How about just adding a simple counter on your page.
That's what I do but that counter resets when you press F5 and is not
functionnal.
Why $_GET['i'] doesn't unsets ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 1:34 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: RE: [PHP] Google Chrome
!-- SNIP --
You can at least track memory + cpu usage through the Task Manager
(Ctrl-Alt-Del + T
Bill [EMAIL PROTECTED] wrote:
Dan Shirah a écrit :
How about just adding a simple counter on your page.
That's what I do but that counter resets when you press F5 and is not
functionnal.
Why $_GET['i'] doesn't unsets ?
Because you get a new i from the URL, hence the GET
What
-Original Message-
From: Bill [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 3:23 PM
To: php-general@lists.php.net
Subject: Re: [PHP] unset($_GET['i'])
Dan Shirah a écrit :
How about just adding a simple counter on your page.
That's what I do but that counter
The $_GET array comes from the URL which is resent every time someone
hits F5. unset works on the server, not on the browser. You could
capture it, add it to the session and then redirect without it in the URL.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Dan Shirah a écrit :
How about just adding a simple counter on your page.
That's what I do but that counter resets when you press F5 and is not
functionnal.
Why $_GET['i'] doesn't unsets ?
Are you saving the array to a database once it is created? If not, wouldn't
the array be
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Its not a DoS, its just a browser crash
--
Bastien
Cat, the other other white meat
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Its not a DoS, its just a browser crash
so forcing a browser to crash is not 'Denial of
Jochem Maas wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Its not a DoS, its just a browser crash
so forcing a browser to crash is not
Is there an easy way to loop thru the array below and add the incremented
total price indexes so the order_total_price index contains the correct sum.
Any help would be greatly appreciated.
array(5) {
[0] = array(15) {
[order_date] = string(8) 09-01-08
[order_product_price_1] =
Not a direct answer to your question (don't worry, I hate it when
people do this to me too), but one thought I had was to have all of
the products ordered as their own array.
[0] = array(15) {
[order_date] = string(8) 09-01-08
[order_products] = array(2) {
[0] = string(5) 10.00
This should help:
http://us.php.net/array_walk
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tom Shaw wrote:
Is there an easy way to loop thru the array below and add the incremented
total price indexes so the order_total_price index contains the correct
On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Its not a DoS, its just a
Why $_GET['i'] doesn't unsets ?
Your page URL has ?i=asdf in it. As such, $_GET['i'] is being set every time you refresh
that particular URL. Unsetting $_GET['i'] will only erase the variable for that instance
of that PHP script. As soon as you refresh, you are calling a new instance of that
On Thu, Sep 4, 2008 at 11:02 PM, Tom Shaw [EMAIL PROTECTED] wrote:
Is there an easy way to loop thru the array below and add the incremented
total price indexes so the order_total_price index contains the correct
sum.
Any help would be greatly appreciated.
array(5) {
[0] = array(15)
Thanks for every ones help. I just used a bunch of control structures and
issest's to add it up. Not pretty but works.
if (isset($data['order_product_amount_0'])) {
$data['order_product_total'] =
number_format($data['order_product_amount_0'], 2, '.', '');
}
if
Tom Shaw schreef:
Thanks for every ones help. I just used a bunch of control structures and
issest's to add it up. Not pretty but works.
if (isset($data['order_product_amount_0'])) {
$data['order_product_total'] =
number_format($data['order_product_amount_0'], 2, '.', '');
}
if
Diogo Neves schreef:
On Wed, Sep 3, 2008 at 12:35 AM, Vernon [EMAIL PROTECTED] wrote:
I've gotten the one array down and I've figured out how to sort that array,
however, I need to sort the array by the modified date of the file. Here's
what I got so far:
?php
// Open current directory
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
On Fri, 2008-09-05 at 03:15 +0200, Jochem Maas wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS
I am having a ball of a time trying to figure this one out... If anyone
has dealt with this before I'd love to get some morsels of wisdom from
you...
I am trying to connect to a postfix server I have set up remotely using
smtp auth with tls. The postfix appears to be configured correctly at
this
On Thu, 2008-09-04 at 23:20 -0400, Larry Brown wrote:
I am having a ball of a time trying to figure this one out... If anyone
has dealt with this before I'd love to get some morsels of wisdom from
you...
I am trying to connect to a postfix server I have set up remotely using
smtp auth with
Jochem Maas wrote:
Diogo Neves schreef:
On Wed, Sep 3, 2008 at 12:35 AM, Vernon [EMAIL PROTECTED] wrote:
I've gotten the one array down and I've figured out how to sort that
array,
however, I need to sort the array by the modified date of the file.
Here's
what I got so far:
?php
// Open
The next release of the Chisimba PHP5 framework is now available.
Major enhancements included in this release are:
- PDO and MDB2 support
- Improved database performance
- Bug fixes
- Better code documentation
- API integration for many more modules
- Remote downloads of modules (apt like
70 matches
Mail list logo