Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
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 th

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread steve
> 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 arc

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
> 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.

Re: [PHP] How to set sending e-mail address?

2008-09-03 Thread mike
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 > th

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
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

Re: [PHP] How to set sending e-mail address?

2008-09-03 Thread Anders Norrbring
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(

Re: [PHP] How to set sending e-mail address?

2008-09-03 Thread mike
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() to open a co

Re: [PHP] CMS-Blog system

2008-09-03 Thread Yannick Warnier
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 identification in the tables > and such. Not onl

[PHP] How to set sending e-mail address?

2008-09-03 Thread Anders Norrbring
I'm trying to figure out how to set the sending address when sending e-mail from PHP, but it doesn't seem like I'm having much success.. When I look in the mail queue, I always see '[EMAIL PROTECTED]' as the origin (the web server user). In my sending routine I set headers like this: $hdrs =

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Lupus Michaelis
Robert Cummings a écrit : Exactly double. Please explain where I went wrong. You're right. The problem is elsewhere : Alignement, I forgot it my explanation :-/ It doesn't count in the sizeof computation, but it is actually allocate, and can take a lot of place. It can be interesting to

[PHP] RE: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread Andi Gutmans
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. Andi > -Original Message- > From: steve [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 200

Re: [PHP] Google Chrome

2008-09-03 Thread Haig Dedeyan
On September 2, 2008 09:36:42 pm Haig Dedeyan wrote: > On September 2, 2008 09:33:30 pm Haig Dedeyan wrote: > > On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan <[EMAIL PROTECTED]> wrote: > > > On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: > > > > > > Does anyone know what this implies? It's th

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 16:13 -0700, steve wrote: > Uh... what about boolean? Depending on the compiler and instruction > set differences, even one-byte things now have to be on longword > boundaries, meaning that something that is one byte will have to take > 8 in order to be on proper boundaries. U

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Jochem Maas
mike schreef: couldn't a user-defined error handler work for this? http://www.php.net/manual/en/function.set-error-handler.php obviously it would require the script that has the error handler still be parsable. and the OP specified exactly that ... a parse error. maybe a wrapper shell script

Re: [PHP] CMS-Blog system

2008-09-03 Thread Jochem Maas
Martin Zvarík schreef: Hi, I am working on CMS-Blog system, which will be using approx. 10 000 users. using them? sounds like google or M$ 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: wha

Re: [PHP] Altering the error_reporting

2008-09-03 Thread mike
couldn't a user-defined error handler work for this? http://www.php.net/manual/en/function.set-error-handler.php obviously it would require the script that has the error handler still be parsable. but you get the info in the format: handler ( int $errno , string $errstr [, string $errfile [, in

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Jochem Maas
Micah Gersten schreef: This seems like a futile activity. It's a waste of time to have to hunt down an error if you can be told where it is. I suggest spending time improving coding standards that error chasing. besides, try grepping the archives for the number of posts that post errors which

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Jochem Maas
Colin Guthrie schreef: Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode cacher l

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
That worked great. Thanks. "Micah Gersten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] http://us3.php.net/basename -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread Pierre Joye
hi Steve, On Thu, Sep 4, 2008 at 1:26 AM, steve <[EMAIL PROTECTED]> wrote: >> None yet, I still have to create some. Apache may provide some when >> they have began the move to VC9. VC9 Apache builds can be fetched from >> http://apachelounge.com, they are known to work very well. > > Hmm.. that i

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
> None yet, I still have to create some. Apache may provide some when > they have began the move to VC9. VC9 Apache builds can be fetched from > http://apachelounge.com, they are known to work very well. Hmm.. that is a good link. I had forgotten about them. Ideally, I'd like to get a all 64bit se

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread steve
The Mac isn't really 64-bit. They do an interesting hybrid model in order to say it in marketing. But they won't have a real such version until the next major release of MacOS X. That is why the next version of Adobe Photoshop, etc., won't be 64bit on the Mac when Adobe Creative Suite 4 comes out.

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread steve
Uh... what about boolean? Depending on the compiler and instruction set differences, even one-byte things now have to be on longword boundaries, meaning that something that is one byte will have to take 8 in order to be on proper boundaries. Unless the app or compiler is doing packing, which I don'

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread Pierre Joye
hi! On Thu, Sep 4, 2008 at 12:56 AM, steve <[EMAIL PROTECTED]> wrote: > That's great! I like all the different builds. Two things that pop > out: 1) What are some recommended non-official builds of Apache2 in > x64? None yet, I still have to create some. Apache may provide some when they have beg

Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
That's great! I like all the different builds. Two things that pop out: 1) What are some recommended non-official builds of Apache2 in x64? and 2) Will there be PECL builds also? On Tue, Sep 2, 2008 at 3:27 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > Hello! > > Johannes has packed PHP 5.3.0

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Micah Gersten
My apologies. I sent this before I had my morning caffeine. You are correct, it's twice the storage space. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Robert Cummings wrote: > On Wed, 2008-09-03 at 11:12 -0500, Micah Gersten wrote: > >> 32 bit is 2^

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Micah Gersten
http://us3.php.net/basename Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Vernon wrote: > SOLVED! > > I made the following change as well to fix the file name: > > BEFORE: > echo date("m-d-Y", $entry['filemtime']) . " {$file}\n"; > AFTER: > echo dat

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
SOLVED! I made the following change as well to fix the file name: BEFORE: echo date("m-d-Y", $entry['filemtime']) . " {$file}\n"; AFTER: echo date("m-d-Y", $entry['filemtime']) . $entry['filename'] . " />\n"; One last question. The $entry['filename'] is the file name and path: /

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
All is weel except for 2 things: 1. $filemtime = filemtime( $dir . $file ); needed to be changed to > $filemtime = filemtime( $file ); 2. The filename is the same filename over and over again. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Micah Gersten
This seems like a futile activity. It's a waste of time to have to hunt down an error if you can be told where it is. I suggest spending time improving coding standards that error chasing. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com [EMAIL PROTECTED] wr

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 10:30 PM, Tom Chubb <[EMAIL PROTECTED]> wrote: > 2008/9/3 n3or <[EMAIL PROTECTED]> > > > [EMAIL PROTECTED] schrieb: > > > >> I am looking for a way to alter the error_reporting(E_All) > >> This displays Parse error: parse error, unexpected '}' in > >> /var/www/html/test.php

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Jim Lucas
Vernon wrote: I'm really starting to feel incompitant here. Sorry to ask, but could you show me what you mean? $file, 'filemtime' => $filemtime); # This is the list of filemtimes to sort by later $filemtimes[] = $filemtime; } # Sort array based on $filemtimes # http://php.net

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Tom Chubb
2008/9/3 n3or <[EMAIL PROTECTED]> > [EMAIL PROTECTED] schrieb: > >> I am looking for a way to alter the error_reporting(E_All) >> This displays Parse error: parse error, unexpected '}' in >> /var/www/html/test.php on line 7 >> >> I want to remove the file location and line number from the error >

Re: [PHP] CMS-Blog system

2008-09-03 Thread Dan Joseph
On Wed, Sep 3, 2008 at 5:01 PM, Martin Zvarík <[EMAIL PROTECTED]> wrote: > Hi, > > 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 =

Re: [PHP] CMS-Blog system

2008-09-03 Thread Luke
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 identification in the tables and such. 2008/9/3 Martin Zvarík <[EMAIL PROTECTED]> > Hi, > > I am working on CMS-B

[PHP] CMS-Blog system

2008-09-03 Thread Martin Zvarík
Hi, 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 do search in all of the blogs for some artic

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 1:15 PM, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate i

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 12:02 PM, Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode ca

[PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Colin Guthrie
Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode cacher like xcache. Brought my 1

Re: [PHP] Altering the error_reporting

2008-09-03 Thread n3or
Diogo Neves schrieb: On Wed, Sep 3, 2008 at 6:55 PM, n3or <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] schrieb: I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 6:55 PM, n3or <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > >> I am looking for a way to alter the error_reporting(E_All) >> This displays Parse error: parse error, unexpected '}' in >> /var/www/html/test.php on line 7 >> >> I want to remove the file location an

Re: [PHP] Google Chrome

2008-09-03 Thread Andrew Ballard
On Wed, Sep 3, 2008 at 1:33 PM, Wolf <[EMAIL PROTECTED]> wrote: > Since gmail won't take exe files... > > http://lonewolf.homelinux.net/ChromeSetup.exe > > Andrew Ballard wrote: >> I tried to grab it, but it seems that my employer is protecting me >> from it. Interesting. >> >> Andrew >> > That wo

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: > For anyone that might be following this thread because they also have > a memory problem (on a 64 bit platform or not), here is some advice on > how to alleviate it: > > - Use a bytecode cacher like xcache. Brought my 12MB pages down t

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 11:51 -0700, alexander lind wrote: > On Sep 3, 2008, at 11:21 AM, Colin Guthrie wrote: > > > Colin Guthrie wrote: > >> Therefore, depending on your structures and how much use of > >> pointers you use, the size will always be more, but should always > >> be *less* than ha

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode cacher like xcache. Brought my 12MB pages down to about 5MB. - If using php from a pre-compiled binary (like fro

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 19:13 +0100, Colin Guthrie wrote: > Robert Cummings wrote: > > I do develop in C so I now need to take a stick to you. It's still > > double space. Use a simple example for yourself. Let's say a struct like > > following: > > > > struct _foo > > { > > int i; > > int j

Re: [PHP] Using DOM textContent Property

2008-09-03 Thread Nathan Nobbe
On Wed, Sep 3, 2008 at 10:03 AM, Tim Gustafson <[EMAIL PROTECTED]> wrote: > > I think you might be better off using regexp on the text > > *before* sending it through the DOM parser. Send the > > user's text through a function that searches for URLs > > and email addresses, creating proper links a

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 11:21 AM, Colin Guthrie wrote: Colin Guthrie wrote: Therefore, depending on your structures and how much use of pointers you use, the size will always be more, but should always be *less* than half. Erm, that should read "*less* than double." If you only ever user your

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
I'm really starting to feel incompitant here. Sorry to ask, but could you show me what you mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Jim Lucas
Vernon wrote: Ok, I've gotten the following so far, which is giving me the results, except it is still sorting by file name and not the file's date. $file, 'filemtime' => $filemtime); # This is the list of filemtimes to sort by later $filemtimes[] = $filemtime; # Sort array based on $filem

[PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Colin Guthrie
Colin Guthrie wrote: Therefore, depending on your structures and how much use of pointers you use, the size will always be more, but should always be *less* than half. Erm, that should read "*less* than double." If you only ever user your stack to store pointers to malloc'ed memory the size

[PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Colin Guthrie
Robert Cummings wrote: I do develop in C so I now need to take a stick to you. It's still double space. Use a simple example for yourself. Let's say a struct like following: struct _foo { int i; int j; int k[5]; } foo; In 32 bit system we have: 32 bits for i + 32 bits for j

Re: [PHP] Altering the error_reporting

2008-09-03 Thread n3or
[EMAIL PROTECTED] schrieb: I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the file location and line number from the error to only produce Parse error: parse error, unexpect

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
Ok, I've gotten the following so far, which is giving me the results, except it is still sorting by file name and not the file's date. $file, 'filemtime' => $filemtime); # This is the list of filemtimes to sort by later $filemtimes[] = $filemtime; # Sort array based on $filemtimes # http:/

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 6:43 PM, <[EMAIL PROTECTED]> wrote: > I am looking for a way to alter the error_reporting(E_All) > This displays > Parse error: parse error, unexpected '}' in /var/www/html/test.php on line > 7 > > I want to remove the file location and line number from the error > to only

[PHP] Altering the error_reporting

2008-09-03 Thread admin
I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the file location and line number from the error to only produce Parse error: parse error, unexpected '}' Why? You may ask. I a

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 18:17 +0200, Lupus Michaelis wrote: > Robert Cummings a écrit : > > > Please explain how it can take up more than twice. > >It is obvious for a C developper. > > == 8< == Zend/zend.h > typedef struct _zval_struct zval; > > typedef union _zvalue_value { > long lva

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 11:12 -0500, Micah Gersten wrote: > 32 bit is 2^32 - 1. > 64 bit is 2^64 - 1. > > 2 * 32 bit = 2 ^ 33 - 2 > That's not 64 bit. :) You don't understand what you're talking about. We're not talking values, we're talking storage width. Please go do some reading before coming ba

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 16:57 +0100, Colin Guthrie wrote: > Robert Cummings wrote: > > On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: > >> I don't get it that people still think 64-bit is twice the 'size' of > >> 32-bit. It's like saying 2 square meters is 2 times a square meter, > >>

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Vernon
This may be a stupid question, but I am sick and under the guy and am wondering if you could you show me how to simply echo each file name using the exmaple below? Thanks "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Jim Lucas wrote: ok, here would be my version of

[PHP] Geometrical library

2008-09-03 Thread Yannick Warnier
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, surface of intersection - considering the poly

Re: [PHP] Google Chrome

2008-09-03 Thread Andrew Ballard
I tried to grab it, but it seems that my employer is protecting me from it. Interesting. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Google Chrome

2008-09-03 Thread n3or
Shawn McKenzie schrieb: Per Jessen wrote: Stut wrote: On 2 Sep 2008, at 20:23, Diogo Neves wrote: Now is the time ;) Indeed: http://www.google.com/chrome But only for Windows for now :( I guess we'll have to wait a little longer then ... /Per Jessen, Zürich Will somebody volunteer t

Re: [PHP] Re: Using DOM textContent Property

2008-09-03 Thread Lupus Michaelis
[EMAIL PROTECTED] a écrit : That example was for finding email addresses and turning them into links, not the other thing about adding missing attributes. XPATH would be no help with the former. You're right, I misunderstood :-/ sorry for the noise. -- Mickaël Wolff aka Lupus Michaelis htt

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Lupus Michaelis
Robert Cummings a écrit : Please explain how it can take up more than twice. It is obvious for a C developper. == 8< == Zend/zend.h typedef struct _zval_struct zval; typedef union _zvalue_value { long lval; /* long value */ double dval;

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Bastien Koert
On Wed, Sep 3, 2008 at 12:05 PM, Jason <[EMAIL PROTECTED]> wrote: > At 16:57 03/09/2008, you wrote: > >> Robert Cummings wrote: >> >>> On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: >>> I don't get it that people still think 64-bit is twice the 'size' of 32-bit. It's like sa

Re: [PHP] need to display a number of items based on browser size, before i get to run any js

2008-09-03 Thread Jochem Maas
Rene Veerman schreef: Hi. Today, i've got a chicken-and-egg puzzle for your enjoyment :) to me you've created a problem that doesn't exist .. if you use gracefully degrading, valdating content that therefore doesn't *rely* on script to make something usable. In order to properly support googl

Re: [PHP] Google Chrome

2008-09-03 Thread Jochem Maas
Jim Lucas schreef: Nathan Nobbe wrote: On Wed, Sep 3, 2008 at 3:27 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: when will Google bring out the Google levitation device...? i heard they programmed it in c++ :) -nathan I would think something that sophisticated should be written in LISP

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Micah Gersten
32 bit is 2^32 - 1. 64 bit is 2^64 - 1. 2 * 32 bit = 2 ^ 33 - 2 That's not 64 bit. :) Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Robert Cummings wrote: > > Please explain how it can take up more than twice. If I have a fence > segment with 32 vertical p

Re: [PHP] Google Chrome

2008-09-03 Thread Jim Lucas
Nathan Nobbe wrote: On Wed, Sep 3, 2008 at 3:27 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: when will Google bring out the Google levitation device...? i heard they programmed it in c++ :) -nathan I would think something that sophisticated should be written in LISP -- Jim Lucas "So

Re: [PHP] Recommendation

2008-09-03 Thread Jason Pruim
On Sep 3, 2008, at 9:04 AM, Dan Joseph wrote: On Wed, Sep 3, 2008 at 6:29 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: On Sep 2, 2008, at 3:08 PM, Jay Blanchard wrote: [snip] ... [/snip] Who is going to create the group? just a quick search of groups on linked in showed 134 groups re

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Jason
At 16:57 03/09/2008, you wrote: Robert Cummings wrote: On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: I don't get it that people still think 64-bit is twice the 'size' of 32-bit. It's like saying 2 square meters is 2 times a square meter, while actually it is 4 times a square mete

RE: [PHP] Using DOM textContent Property

2008-09-03 Thread Tim Gustafson
> I think you might be better off using regexp on the text > *before* sending it through the DOM parser. Send the > user's text through a function that searches for URLs > and email addresses, creating proper links as they're > found, then use the output from that to move on to your > DOM stuff. T

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: > Robert Cummings wrote: > > On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote: > > > > > alexander lind wrote: > > > > > > > > > > I just tested my PHP app on Ubuntu 64bit, and found that all my php > > > > scripts would consu

Re: [PHP] Creating single row for multiple items.

2008-09-03 Thread Brady Mitchell
On Aug 31, 2008, at 904PM, Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. Please send an example of w

Re: [PHP] Re: Using DOM textContent Property

2008-09-03 Thread php
Lupus Michaelis wrote: Tim Gustafson a écrit : $Elements = $HTML->getElementsByTagName("*"); for ($X = 0; $X < $Elements->length; $X++) { ... SNIP ... } Why don't use the XPath ? This q

[PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Colin Guthrie
Robert Cummings wrote: On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: I don't get it that people still think 64-bit is twice the 'size' of 32-bit. It's like saying 2 square meters is 2 times a square meter, while actually it is 4 times a square meter. Actually... 2 square meters

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 8:19 AM, Shawn McKenzie wrote: alexander lind wrote: Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusi

Re: [PHP] Using DOM textContent Property

2008-09-03 Thread php
Tim Gustafson wrote: Hello, I am writing a filter in PHP that takes some HTML as input and goes through the HTML and adjusts certain tag attributes as needed. So, for example, if tag is missing the "title" attribute, this filter adds a title attribute to the tag. I'm doing this all using PHP

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-03 Thread Jim Lucas
Jim Lucas wrote: Vernon 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: "; } } } ?> Any ideas on how to fix this? Thanks We need to see what is in the array, n

Re: [PHP] Google Chrome

2008-09-03 Thread Lupus Michaelis
Shawn McKenzie a écrit : Will somebody volunteer to test on Wine or Mono? Google don't allow the downloading from Linux (I now, I can easily work around, but I don't workaround when the other site won't). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing Lis

Re: [PHP] Google Chrome

2008-09-03 Thread Nathan Nobbe
On Wed, Sep 3, 2008 at 3:27 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > when will Google bring out the Google levitation device...? i heard they programmed it in c++ :) -nathan

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: > Robert Cummings wrote: > > On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote: > > > >> alexander lind wrote: > >> > >> > >>> I just tested my PHP app on Ubuntu 64bit, and found that all my php > >>> scripts would consume about

[PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread Shawn McKenzie
alexander lind wrote: Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a 64bit OS). A page that would take up ar

Re: [PHP] Google Chrome

2008-09-03 Thread Shawn McKenzie
Per Jessen wrote: Stut wrote: On 2 Sep 2008, at 20:23, Diogo Neves wrote: Now is the time ;) Indeed: http://www.google.com/chrome But only for Windows for now :( I guess we'll have to wait a little longer then ... /Per Jessen, Zürich Will somebody volunteer to test on Wine or Mono? -

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Jochem Maas
Robert Cummings schreef: On Wed, 2008-09-03 at 06:28 -0700, alexander lind wrote: Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more

Re: [PHP] Re: Google Chrome

2008-09-03 Thread Nathan Nobbe
On Wed, Sep 3, 2008 at 2:29 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: > Dan Joseph wrote: > >> Well its not that exciting I guess. All the hype, and its a browser. :) >> It >> is fast though, I'll give it that. >> > > I think most of the kudos points for speed here are due to the WebKit team

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Aschwin Wesselius
Robert Cummings wrote: On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote: alexander lind wrote: I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make thi

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 6:42 AM, Per Jessen wrote: alexander lind wrote: I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a 6

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 7:13 AM, Robert Cummings wrote: On Wed, 2008-09-03 at 14:52 +0100, Hélio Rocha wrote: But why does that happens? 64 bit systems use larger intgegers for accessing the stack and memory. This enables 64 bit systems to access more than the traditional 4.4 gig memory limit

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 14:52 +0100, Hélio Rocha wrote: > But why does that happens? 64 bit systems use larger intgegers for accessing the stack and memory. This enables 64 bit systems to access more than the traditional 4.4 gig memory limit without resorting to tricks. This is the whole point of g

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote: > alexander lind wrote: > > > I just tested my PHP app on Ubuntu 64bit, and found that all my php > > scripts would consume about 5x more RAM memory there, compared to how > > much they use on my macbook pro (which to make things a bit more > >

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Robert Cummings
On Wed, 2008-09-03 at 06:28 -0700, alexander lind wrote: > Hi All > > I just tested my PHP app on Ubuntu 64bit, and found that all my php > scripts would consume about 5x more RAM memory there, compared to how > much they use on my macbook pro (which to make things a bit more > confusing als

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Hélio Rocha
But why does that happens? On Wed, Sep 3, 2008 at 2:42 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > alexander lind wrote: > > > I just tested my PHP app on Ubuntu 64bit, and found that all my php > > scripts would consume about 5x more RAM memory there, compared to how > > much they use on my macb

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Per Jessen
alexander lind wrote: > I just tested my PHP app on Ubuntu 64bit, and found that all my php > scripts would consume about 5x more RAM memory there, compared to how > much they use on my macbook pro (which to make things a bit more > confusing also runs a 64bit OS). > A page that would take up arou

Re: [PHP] Secure way to handle pw on session.

2008-09-03 Thread k bah
> - Original Message - > From: "Dan Joseph" <[EMAIL PROTECTED]> > To: php-general@lists.php.net > Subject: Re: [PHP] Secure way to handle pw on session. > Date: Tue, 2 Sep 2008 15:35:26 -0400 > > > On Tue, Sep 2, 2008 at 3:27 PM, k bah <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > >

[PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a 64bit OS). A page that would take up around 2.5 MB on the m

Re: [PHP] Recommendation

2008-09-03 Thread Dan Joseph
On Wed, Sep 3, 2008 at 6:29 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Sep 2, 2008, at 3:08 PM, Jay Blanchard wrote: > > [snip] >> ... >> [/snip] >> >> Who is going to create the group? >> > > just a quick search of groups on linked in showed 134 groups related to > "php". > > > And my pro

RE: [PHP] need to display a number of items based on browser size, before i get to run any js

2008-09-03 Thread Jay Blanchard
[snip] Hi. Today, i've got a chicken-and-egg puzzle for your enjoyment :) [/snip] This question might be more suitable on Evolt's list (www.evolt.org). I realize that there is a snippet of PHP in there but the question is less related to that. -- PHP General Mailing List (http://www.php.net/) To

[PHP] need to display a number of items based on browser size, before i get to run any js

2008-09-03 Thread Rene Veerman
Hi. Today, i've got a chicken-and-egg puzzle for your enjoyment :) In order to properly support google indexing of published content hosted by my CMS', which scales to browser-size, no matter what it is initially or how the user resizes it. Adding meta info for the many pictures hosted via my CMS

  1   2   >