[PHP] Re: php exec()

2008-11-07 Thread Michelle Konzack
Am 2008-11-03 13:28:27, schrieb cheesiong: hi Chris, thank you. i change the path and change the httpd.conf LogLevel to debug then restart apache. but nothing is change from the output or the error log. basically it is still not working. this is weird, isn't it. the apache is run with

[PHP] Re: php exec()

2008-11-02 Thread cheesiong
i try to use the system() function, i found the the last line of the ifconfig is actually nothing. but i still cannot execute the ipkg-cl program. any idea? thank you. regards,-keo On Mon, Nov 3, 2008 at 11:31 AM, cheesiong [EMAIL PROTECTED] wrote: hi all, this is the first time i try out

[PHP] Re: PHP XSLT caching

2008-10-27 Thread Colin Guthrie
vladimirn wrote: I have one simple question, actually i am interested in your point of view. Is there any sense in caching xslt itself? If so, then why? If not, then again why? :) I think that there is no sense, and that xslt output should be cached. What do you think? From your original

[PHP] Re: PHP/mySQL question using ORDER BY with logic

2008-10-26 Thread Carlos Medina
Rob Gould schrieb: Question about mySQL and PHP, when using the mySQL ORDER BY method... Basically I've got data coming from the database where a wine producer-name is a word like: Château Bahans Haut-Brion or La Chapelle de La Mission Haut-Brion or Le Clarence

[PHP] Re: PHP XSLT caching

2008-10-26 Thread Colin Guthrie
vladimirn wrote: Hi all, i was wondering whats the best approach to do next. I have an xml file delivered from service of my partner. On my web server (windows) i have xslt files used for xml transformation. Those files are getting bigger, so i have request to cash them and use cashed. I was

[PHP] Re: PHP XSLT caching

2008-10-26 Thread Colin Guthrie
vladimirn wrote: Thank you Col I will go into Zend_Cache as you suggested. One more thing- does Zend_Cache saces data into file or use a server memory? As I said in my original mail, but perhaps wasn't clear, Zend_Cache can support file, memcache, APC and other backends. Col -- Colin

[PHP] Re: PHP/mySQL question using ORDER BY with logic

2008-10-24 Thread Colin Guthrie
Robert Cummings wrote: On Fri, 2008-10-24 at 00:18 -0400, Rob Gould wrote: Question about mySQL and PHP, when using the mySQL ORDER BY method... Basically I've got data coming from the database where a wine producer-name is a word like: Château Bahans Haut-Brion or

[PHP] Re: PHP Dev Facts

2008-10-22 Thread Peter Ford
Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* OOP - I have a Java background... *Dev OS* OpenSuSE 10.3 *Dev PHP Version* 5.2.5 *Live Server OS* OpenSuSE 10.3 *Live Server PHP Version* 5.2.5 (of course - why dev on

[PHP] Re: PHP Dev Facts

2008-10-20 Thread Michelle Konzack
Am 2008-10-17 00:14:18, schrieb Nathan Rixham: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* OOP *Dev OS* Debian GNU/Linux Etch/Testing/Unstable *Dev PHP Version* 5.2.0-8+etch10 *Live Server OS* Debian GNU/Linux Etch *Live Server PHP

[PHP] Re: PHP Dev Facts

2008-10-17 Thread Carlos Medina
[snip] *Procedural or OOP?* depends on the job to be done *Dev OS* unix or derivate *Dev PHP Version* = 5 *Live Server OS* unix or derivate *Live Server PHP Version* = 5 *Which HTTP Server Software (+version)?* Apache = 2 *IDE / Dev Environment* PHPEd/Net Beans *Preferred Framework(s)?* Zend

[PHP] Re: PHP Dev Facts

2008-10-17 Thread Nathan Rixham
just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. -- nathan ( [EMAIL PROTECTED] ) { Senior Web Developer php + java + flex + xmpp + xml + ecmascript web development edinburgh | http://kraya.co.uk/

RE: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Jay Blanchard
[snip] just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. [/snip] It's Friday night, shouldn't you be going to the pub instead? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Nathan Rixham
Jay Blanchard wrote: [snip] just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. [/snip] It's Friday night, shouldn't you be going to the pub instead? wanna baby sit? -- nathan ( [EMAIL PROTECTED] ) {

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Daniel Brown
On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard [EMAIL PROTECTED] wrote: It's Friday night, shouldn't you be going to the pub instead? In another eight years he'll be glad to do that. Little-known fact: Nate is the world's smartest 12-year-old. /kidding -- /Daniel P. Brown More

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Frank Stanovcak
Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard [EMAIL PROTECTED] wrote: It's Friday night, shouldn't you be going to the pub instead? In another eight years he'll be glad to do that. Little-known fact: Nate is

[PHP] Re: PHP to Java

2008-10-16 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: For reasons we needn't go into, I need to convert this to Java: $to_encode = example.com/api?foo=bar; $key = asdfasdfasdfasdfasdfasdf; //fake value, but 24 bytes $td = mcrypt_module_open('tripledes', '', 'ecb', ''); mcrypt_generic_init ($td, $key, $iv); $c_t =

[PHP] Re: PHP to Java

2008-10-16 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: For reasons we needn't go into, I need to convert this to Java: $to_encode = example.com/api?foo=bar; $key = asdfasdfasdfasdfasdfasdf; //fake value, but 24 bytes $td = mcrypt_module_open('tripledes', '', 'ecb', ''); mcrypt_generic_init ($td, $key, $iv); $c_t =

[PHP] Re: PHP Dev Facts

2008-10-16 Thread Shawn McKenzie
Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* Procedural for small stuff - OOP for larger stuff when using framework *Dev OS* Kubuntu Hardy Heron *Dev PHP Version* 5.2.4 *Live Server OS* FC 6 *Live Server PHP Version*

[PHP] Re: PHP Dev Facts

2008-10-16 Thread Nathan Rixham
Here's mine: *Procedural or OOP?* OOP *Dev OS* Windows Server 2003 EE (sadly - I need some win-only tools!) *Dev PHP Version* PHP 5.2.5 *Live Server OS* Ubuntu + Centos *Live Server PHP Version* PHP 5.2.x *Which HTTP Server Software (+version)?* Apache 2.2 all round *IDE / Dev

[PHP] Re: PHP Dev Facts

2008-10-16 Thread Shawn McKenzie
Shawn McKenzie wrote: Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* Procedural for small stuff - OOP for larger stuff when using framework *Dev OS* Kubuntu Hardy Heron *Dev PHP Version* 5.2.4 currently (whatever is current

[PHP] Re: PHP Dev Facts

2008-10-16 Thread Ross McKay
On Fri, 17 Oct 2008 00:14:18 +0100, Nathan Rixham wrote: *Procedural or OOP?* OOP, except really small stuff. *Dev OS* Fedora 9 *Dev PHP Version* 5.2.6 *Live Server OS* Hosted services - var. Linux, Windows 2003 Server *Live Server PHP Version* Mostly 5.2.3+, some 4.x (haven't looked

[PHP] Re: PHP Dev Facts

2008-10-16 Thread ANR Daemon
Greetings, Nathan Rixham. In reply to Your message dated Friday, October 17, 2008, 3:14:18, *Procedural or OOP?* whatever feels applicable. *Dev OS* Win2k, Server 2003 *Dev PHP Version* 5.2.6 *Live Server OS* Whatever. *Live Server PHP Version* 5.1.6, 5.2.4, 5.2.6 *Which HTTP

Re: [PHP] Re: php framework vs just php?

2008-10-08 Thread Aschwin Wesselius
Luke wrote: I can't say I've ever used a framework. I like to be in control of all of my code, plus it's much more satisfying when you write everything yourself (I've found anyway)... If I want to make use of existing code, I rather have a good understanding and a grasp of the philosophy

Re: [PHP] Re: php framework vs just php?

2008-10-08 Thread Luke
I can't say I've ever used a framework. I like to be in control of all of my code, plus it's much more satisfying when you write everything yourself (I've found anyway)... 2008/10/8 paragasu [EMAIL PROTECTED] PHP framework vs just php ? http://paul-m-jones.com/?p=315 according to the

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread uaca man
Farid, I like to use PRADO(www.pradosoft.com), it is very easy to use for those who are coming from Microsoft .Net platform as it uses the same architecture. I did not like symfony, too much to read before the first example. Angelo 2008/10/6 farid lópez [EMAIL PROTECTED]: what is your

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread Ashley Sheridan
On Tue, 2008-10-07 at 11:20 -0300, uaca man wrote: Farid, I like to use PRADO(www.pradosoft.com), it is very easy to use for those who are coming from Microsoft .Net platform as it uses the same architecture. I did not like symfony, too much to read before the first example. Angelo

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread Larry Garfield
On Tue, 07 Oct 2008 19:47:54 +0100, Ashley Sheridan [EMAIL PROTECTED] wrote: Don't frameworks introduce a lot more overhead to projects though? Ash www.ashleysheridan.co.uk Any generic code library adds overhead. How much and whether or not it's acceptable depends on the framework and

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread Eric Butera
On Tue, Oct 7, 2008 at 2:47 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-10-07 at 11:20 -0300, uaca man wrote: Farid, I like to use PRADO(www.pradosoft.com), it is very easy to use for those who are coming from Microsoft .Net platform as it uses the same architecture. I did not

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread paragasu
PHP framework vs just php ? http://paul-m-jones.com/?p=315 according to the benchmark.Just PHP win by more than 100% to average framework. even the fastest solar only manage to serve 154pages/sec compare to just php 1320pages/sec call me outdated. but i stay with just php! On 10/8/08, Eric

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread clive
Tony Marston wrote: I agree that finding the right framework to use can be very difficult, which is why a lot of programmers (like me) prefer to roll their own. But if you can find an off-the-shelf framework that does the job it can save you an awful amount of time. I agree with Tony. I

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Daniel Brown
On Mon, Oct 6, 2008 at 11:41 AM, clive [EMAIL PROTECTED] wrote: I agree with Tony. And you raise the dead. That thread died five and a half months ago Let it rest in peace! ;-P -- /Daniel P. Brown More full-root dedicated server packages: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Jason Pruim
On Oct 6, 2008, at 12:57 PM, Daniel Brown wrote: On Mon, Oct 6, 2008 at 11:41 AM, clive [EMAIL PROTECTED] wrote: I agree with Tony. And you raise the dead. That thread died five and a half months ago Let it rest in peace! ;-P But... Which framework is better? :P -- Jason Pruim

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread uaca man
Lets raise the dead once more. I have been using the Prado framework, prado uses the .net architecture, so it is easy and fast to learn for those who came from a Microsoft platform, anyway prado is very good to build UI, but there is always a *but*!! Prado database abstraction model it is just

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Dan Joseph
On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim [EMAIL PROTECTED] wrote: But... Which framework is better? :P Oh my.. now we're gonna get all those guys popping back up telling us how dumb we are and how awesome their frameworks are again! -- -Dan Joseph www.canishosting.com - Plans start @

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread uaca man
To be or not to be dump it your choice. My framework it not just awesome it is super awesome. Angelo 2008/10/6 Dan Joseph [EMAIL PROTECTED]: On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim [EMAIL PROTECTED] wrote: But... Which framework is better? :P Oh my.. now we're gonna get all those

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread farid lópez
what is your framework??? uacaman. i'm using symfony, but i'm reading the book. it's hard but there are so many things you can do easily with symfony! 2008/10/7 uaca man [EMAIL PROTECTED] To be or not to be dump it your choice. My framework it not just awesome it is super awesome. Angelo

[PHP] Re: PHP job available, Phoenix, AZ, USA

2008-10-04 Thread Manuel Lemos
Hello, on 10/02/2008 11:31 PM Matt Graham said the following: I just saw this. If someone is in the Phoenix, AZ, USA area and wants a job writing/maintaining PHP code, this may be right for you. Contact details below: You may want to post it here:

[PHP] Re: php server push

2008-10-02 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: Hi, (i hope this is the right place to ask questions like below) I am trying to use content type 'multipart/x-mixed-replace' to achive server pushing and I have the following piece of code, which works perfectly. /* file.html */ function handleContent(event) { var

Re: [PHP] Re: php server push

2008-10-02 Thread Bastien Koert
On Thu, Oct 2, 2008 at 6:53 AM, Nathan Rixham [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, (i hope this is the right place to ask questions like below) I am trying to use content type 'multipart/x-mixed-replace' to achive server pushing and I have the following piece of code, which

[PHP] Re: PHP + Cron jobs

2008-10-01 Thread Waynn Lue
Oh, I thought having one for cgi and one for cli was common. Do people generally run only one, regardless of whether they're hitting it from a webserver or running it from the commandline? Thanks, Waynn On 10/1/08, Per Jessen [EMAIL PROTECTED] wrote: Waynn Lue wrote: Right, and I am, so I

Re: [PHP] Re: PHP + Cron jobs

2008-10-01 Thread Per Jessen
Waynn Lue wrote: Oh, I thought having one for cgi and one for cli was common. Do people generally run only one, regardless of whether they're hitting it from a webserver or running it from the commandline? I think the general setup is a php cli executable in /usr/bin/php and the php apache

[PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Christopher Jones
Walter Galvão wrote: Hi, Im using the oracle instant client basic in my php app, with apache server. When a query returns few rows, there is no problem. Otherwise, the oci_execute method doesn return any records neither errors! How can i solve this problem?? My implementation: function

[PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Walter Galvão
What version of PHP? *5* What version of Instant Client? * instantclient-basic-win32-10.2.0.3-20061115* What version of the DB? *10G * Are you exceeding the PHP script time out, or exceeding the memory limit? *I dont know. Doesnt appear any message. The script prints the last message before the

[PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Christopher Jones
Walter Galvão wrote: Are you exceeding the PHP script time out, or exceeding the memory limit? I dont know. Doesnt appear any message. The script prints the last message before the oci_execute call. I'd start by looking at the max_execution_time and memory_limit settings in php.ini.

Re: [PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Chris
Walter Galvão wrote: What version of PHP? *5* What version of Instant Client? * instantclient-basic-win32-10.2.0.3-20061115* What version of the DB? *10G * Are you exceeding the PHP script time out, or exceeding the memory limit? *I dont know. Doesnt appear any message. The script prints the

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

2008-09-26 Thread steve
The opposite might be true of user code though as developers become presumptive of the compiler doing their work for them :) Like PHP... which does absolutely no optimizations. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-09-26 Thread Robert Cummings
On Thu, 2008-09-25 at 23:17 -0700, steve wrote: The opposite might be true of user code though as developers become presumptive of the compiler doing their work for them :) Like PHP... which does absolutely no optimizations. You must not be using an optimizer. It may not be PHP

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

2008-09-25 Thread steve
OK, I finally went to do it and this link doesn't work: PHP 5.3.0alpha2 VC9 x86 http://downloads.php.net/pierre/php-5.3.0alpha2-nts-Win32-VC9.zip On Thu, Sep 4, 2008 at 5:23 AM, Johannes Schlüter [EMAIL PROTECTED] wrote: On Wed, 2008-09-03 at 23:36 -0700, steve wrote: It is pretty much

[PHP] Re: PHP and SQL Server

2008-09-23 Thread Nathan Rixham
Andrew Ballard wrote: [snip] 4K limit on TEXTSIZE [/snip] As far as I was aware this was a PHP thing that can be changed in your php.ini [mssql.textlimit and mssql.textsize] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP and SQL Server

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 10:43 AM, Nathan Rixham [EMAIL PROTECTED] wrote: Andrew Ballard wrote: [snip] 4K limit on TEXTSIZE [/snip] As far as I was aware this was a PHP thing that can be changed in your php.ini [mssql.textlimit and mssql.textsize] We have, and it affects the regular

Re: [PHP] Re: PHP and MySQL SELECT COUNT (*)

2008-09-18 Thread Vinny Gullotta
Thanks all, I appreciate the follow ups and the help with the code. I'm still relatively new with this stuff, and never had any formal training, it's all just been learn as I go, and I have to learn fast as this project is relatively urgent to get completed. I plan on going through all of my

[PHP] Re: PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Nathan Rixham
Vinny Gullotta wrote: What I want to do is find the top 10 servers where the column steps = iisreset. The following code works great except that the page is not displaying the servername in the 'Server Name' column of my results (nothing appears, the column is just blank). servername and

Re: [PHP] Re: PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Micah Gersten
While it's true that '.' concatenates and ',' is a list separator, The comma is actually more appropriate in this instance since you are just outputting each piece. It saves the overhead of concatenation before output. Thank you, Micah Gersten onShore Networks Internal Developer

Re: [PHP] Re: PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Nathan Rixham
learn something new every day! cheers Micah :) Micah Gersten wrote: While it's true that '.' concatenates and ',' is a list separator, The comma is actually more appropriate in this instance since you are just outputting each piece. It saves the overhead of concatenation before output. Thank

Re: [PHP] Re: PHP and MySQL SELECT COUNT (*)

2008-09-17 Thread Chris
1: SQL in mysql queries /should/ use backticks (`) around database, table and column names, stop's them getting confused with variables or reserved words (like timestamp) and saves you future trouble :) .. which is a mysql-ism - no other database supports this. As soon as you need to use

Re: [PHP] Re: PHP Equivalent of JavaScript whatever.toFixed(2)

2008-09-09 Thread Jochem Maas
Ross McKay schreef: Arnie Shore wrote: Folks, I need to take a given float value to, say, two decimals, as per subject JS. I've RTFM, but to no avail. On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote: $str = sprintf(%01.2f, $number); Skinning cat, method two: $str =

Re: [PHP] Re: PHP Equivalent of JavaScript whatever.toFixed(2)

2008-09-09 Thread Nathan Rixham
Jochem Maas wrote: Ross McKay schreef: Arnie Shore wrote: Folks, I need to take a given float value to, say, two decimals, as per subject JS. I've RTFM, but to no avail. On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote: $str = sprintf(%01.2f, $number); Skinning cat, method two: $str =

Re: [PHP] Re: PHP Equivalent of JavaScript whatever.toFixed(2)

2008-09-09 Thread Jochem Maas
Nathan Rixham schreef: Jochem Maas wrote: Ross McKay schreef: Arnie Shore wrote: Folks, I need to take a given float value to, say, two decimals, as per subject JS. I've RTFM, but to no avail. On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote: $str = sprintf(%01.2f, $number); Skinning

[PHP] Re: PHP Equivalent of JavaScript whatever.toFixed(2)

2008-09-08 Thread Ross McKay
Arnie Shore wrote: Folks, I need to take a given float value to, say, two decimals, as per subject JS. I've RTFM, but to no avail. On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote: $str = sprintf(%01.2f, $number); Skinning cat, method two: $str = number_format($number, 2); -- Ross McKay,

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

2008-09-04 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 you

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

2008-09-04 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.3.0 or

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

2008-09-04 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

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

2008-09-04 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 than

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

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

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

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

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

2008-09-04 Thread Pierre Joye
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%

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

2008-09-04 Thread Pierre Joye
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

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

2008-09-04 Thread Johannes Schlüter
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

[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

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

[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 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

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 saying 2 square meters

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, while

[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

[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

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] 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; int

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 half. Erm,

[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

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

[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 began

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

[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

[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 is a good

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

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.

[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, 2008

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

2008-09-02 Thread Lukas Kahwe Smith
On 03.09.2008, at 00:27, Lukas Kahwe Smith wrote: Hello! Johannes has packed PHP 5.3.0alpha2 yesterday, which you can find here: http://downloads.php.net/johannes/ Windows binaries (optimized for various versions of Windows) are available from the new website dedicated to PHP's windows

[PHP] Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

2008-09-01 Thread Maciek Sokolewicz
Jochem Maas wrote: redirecting to generals mailing list ... Diogo Neves schreef: php -r 'class B { private static function a() {} public function __callStatic($method, $parms) { echo $method, \n; } } $a = new B; $a::a();' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in

[PHP] Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

2008-08-31 Thread Jochem Maas
redirecting to generals mailing list ... Diogo Neves schreef: php -r 'class B { private static function a() {} public function __callStatic($method, $parms) { echo $method, \n; } } $a = new B; $a::a();' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in Command line code on line 1

[PHP] Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

2008-08-31 Thread Diogo Neves
On Mon, Sep 1, 2008 at 3:09 AM, Jochem Maas [EMAIL PROTECTED] wrote: redirecting to generals mailing list ... Diogo Neves schreef: php -r 'class B { private static function a() {} public function __callStatic($method, $parms) { echo $method, \n; } } $a = new B; $a::a();' Parse error:

[PHP] Re: Php installation

2008-08-30 Thread David Robley
It flance wrote: Hi all, I'm using Fedora 8. I installed php, mysql and apache. Now i can run a script connecting to a database from terminal but not from browser. Any suggestion? Have you configured apache to process php scripts? See item 14 at

Re: [PHP] Re: Php installation

2008-08-30 Thread David Robley
in the browser but they are procesed if run from terminal. So i guess this is a configuration problem but i have no idea how to fix it. Thanks --- On Sat, 8/30/08, David Robley [EMAIL PROTECTED] wrote: From: David Robley [EMAIL PROTECTED] Subject: [PHP] Re: Php installation To: php-general

[PHP] Re: PHP IDE needed

2008-08-27 Thread Carlos Medina
Sascha Braun schrieb: Hi people, I have a webproject which is round about 3 GB in size. I was usually using eclipse to work with the software but over time eclipse became very instable regarding that project. As soon as I open classes with 2000 or more lines of code in it, an out of memory

Re: [PHP] Re: PHP IDE needed

2008-08-27 Thread Sancar Saran
Whats wrong with echo ?php echo Hello World; ? index.php is there anything to satisfy your needs... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Problem with updating MySQL table

2008-08-27 Thread Jason Pruim
On Aug 27, 2008, at 12:06 PM, Jason Pruim wrote: Hi Everyone, So I'm working on a project (Same one I sent the question about regarding the user access rights on monday) And now I am attempting to update the record... Here is some of my code: index.php ?PHP form method=post

[PHP] [OT|Troll] Re: [PHP] Re: PHP IDE needed

2008-08-27 Thread Lupus Michaelis
Sancar Saran a écrit : Whats wrong with echo ?php echo Hello World; ? index.php Two syntacticals errors ? :p is there anything to satisfy your needs... I prefer cat for that purpose, more flexible. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing

[PHP] Re: PHP editor for linux

2008-08-25 Thread Swapnil Jain
Hi, I use gPHPEdit and bluefish, it makes PHP easy. -- Swapnil Jain -- E-mail: [EMAIL PROTECTED] MSN : [EMAIL PROTECTED] GTalk : [EMAIL PROTECTED] Skype : sj1410 YIM : sj1410 Shawn McKenzie wrote: It flance wrote: Hi, What do you think is the best php editor for linux. I'm using

Re: [PHP] Re: PHP editor for linux

2008-08-25 Thread Shelley
Check the result at http://phparch.cn. And you are encouraged to make your choice. 2008/8/19 Pavel [EMAIL PROTECTED] I use Zend Studio (shareware, but i couldn't find better things). There are some plugins for Eclipse,but if you used Zend before, you will be cunfused by that plugins...

<    3   4   5   6   7   8   9   10   11   12   >