Re: [PHP] mysqli_embedded_server_start

2008-02-01 Thread Per Jessen
Kyohere Luke wrote: Has anyone tried to use this function? Does php actually support mysql embedded server or is this just a stub for future use? I'm trying to convert a mysql-based web app to a desktop app and rather than refactor everything to use sqlite, It would be interesting if I could

Re: [PHP] mysqli_embedded_server_start

2008-02-01 Thread Robert Cummings
On Fri, 2008-02-01 at 09:13 +0100, Per Jessen wrote: Kyohere Luke wrote: Has anyone tried to use this function? Does php actually support mysql embedded server or is this just a stub for future use? I'm trying to convert a mysql-based web app to a desktop app and rather than refactor

Re: [PHP] mysqli_embedded_server_start

2008-02-01 Thread Per Jessen
Robert Cummings wrote: On Fri, 2008-02-01 at 09:13 +0100, Per Jessen wrote: Kyohere Luke wrote: Has anyone tried to use this function? Does php actually support mysql embedded server or is this just a stub for future use? I'm trying to convert a mysql-based web app to a desktop app

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Zoltán Németh
2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta: On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote: Eric Butera schreef: On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings schreef: On Thu, 2008-01-31 at 17:14 +0100, Jochem Maas

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Robert Cummings
On Fri, 2008-02-01 at 10:11 +0100, Zoltán Németh wrote: 2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta: On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote: Eric Butera schreef: On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings

Re: [PHP] how dod you get to do multiple mysql queries concurrently?

2008-02-01 Thread Zoltán Németh
2008. 02. 1, péntek keltezéssel 03.40-kor Jochem Maas ezt írta: Per Jessen schreef: Richard Lynch wrote: OK, what is a 'geometry column' and what is a 'spatial index' ? Imagine a single column combining both longitude and latitude. Now imagine an index that knows about long/lat, and

Re: [PHP] how dod you get to do multiple mysql queries concurrently?

2008-02-01 Thread Zoltán Németh
2008. 02. 1, péntek keltezéssel 11.55-kor Paul Scott ezt írta: Did anyone actually get this mail? More concrete example? What would you like to see? I suspect that some of my mail is getting dropped :( sure I got it but answered before I reached it in reading. sorry for the noise. as for

Re: [PHP] how dod you get to do multiple mysql queries concurrently?

2008-02-01 Thread Paul Scott
Did anyone actually get this mail? More concrete example? What would you like to see? I suspect that some of my mail is getting dropped :( --Paul On Fri, 2008-02-01 at 06:33 +0200, Paul Scott wrote: On Fri, 2008-02-01 at 03:40 +0100, Jochem Maas wrote: I for one would really like to see

Re: [PHP] Re: how do you get to do multiple mysql queries concurrently?

2008-02-01 Thread Per Jessen
Richard Lynch wrote: I think you are mis-remembering, yes. When your fork() call returns, you have two separate processes, your child process being an exact copy of your parent process. (mostly, see copy-on-write). The only thing they share at this point are open file descriptors which have

[PHP] Re: [Slightly OT] Apple MacBook MAMP and Logic

2008-02-01 Thread Colin Guthrie
Brady Mitchell wrote: I don't use a mac myself but a colleague does. He seems to have apache and PHP installed on the machine but he generally uses the Xampp package. I don't know if this is the official home page or but but start here: http://www.apachefriends.org/en/xampp-macosx.html

Re: [PHP] Re: [Slightly OT] Apple MacBook MAMP and Logic

2008-02-01 Thread Paul Scott
On Fri, 2008-02-01 at 10:58 +, Colin Guthrie wrote: That's just how sudo works tho' right? You can configure sudo to not require a password for certain commands run by certain users. Not sure how it works on the mac as there may be some kind of wrapper but I'm sure there would be a way to

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Richard Heyes
Daevid Vincent wrote: I will be very sad in 15 days when M$ FORCES everyone to it. WT? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299pa hosted for you - no installation, no maintenance, new features automatic and free -- PHP General

Re: [PHP] mysqli_embedded_server_start

2008-02-01 Thread Kyohere Luke
Providing an embedded web-server and php package, so embedded mysql would be nice too. There is absolutely no documentation regarding this function - isn't anyone curious? :-) On Feb 1, 2008 11:48 AM, Per Jessen [EMAIL PROTECTED] wrote: Robert Cummings wrote: On Fri, 2008-02-01 at 09:13

[PHP] Search function not working...

2008-02-01 Thread Jason Pruim
So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that be considered static?) Now that I am

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Jochem Maas
Nathan Nobbe schreef: all, as ive been researching SPL lately ive read several times that spl will store only the current element of the underlying collection in memory during iteration. articles that mention this will say that using these iterators should afford savings when traversing large

Re: [PHP] Pass Variable Names to a Function

2008-02-01 Thread Greg Donald
On Feb 1, 2008 10:49 AM, Bill Guion [EMAIL PROTECTED] wrote: I would like to use a function to check to see if a session variable is set and return the session variable if it is set, and return blank if not. Something like function set_var($var) { echo var = $var \n; echo \$var =

[PHP] Pass Variable Names to a Function

2008-02-01 Thread Bill Guion
I would like to use a function to check to see if a session variable is set and return the session variable if it is set, and return blank if not. Something like function set_var($var) { echo var = $var \n; if (isset($_SESSION['$var'])) { return $_SESSION['$var']; } else

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Greg Donald
On Jan 31, 2008 10:09 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: http://nathan.moxune.com/arrayVsArrayIteratorReport.php at this point i must retract some of the statements i made during the conversation about ruby yesterday. it turns out, spl iteration is not twice as fast as standard array

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Greg Donald
On Jan 31, 2008 7:04 AM, Eric Butera [EMAIL PROTECTED] wrote: IE8 passes Acid2. :) They make a salve for that I heard. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pass Variable Names to a Function

2008-02-01 Thread Richard Heyes
Bill Guion wrote: I would like to use a function to check to see if a session variable is set and return the session variable if it is set, and return blank if not. Something like You really don't need a function for this: // Could use null instead of false $variable =

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Paul Scott
On Fri, 2008-02-01 at 11:11 -0600, Greg Donald wrote: Thanks for the benchmark. Yes, thanks! It has just confirmed what I have been experiencing as well. I am busy converting a static site to a Chisimba CMS based site at the moment with 43 000 odd static, frontpage generated HTML pages. I

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that

Re: [PHP] Search function not working...

2008-02-01 Thread Jason Pruim
On Feb 1, 2008, at 2:20 PM, David Giragosian wrote: On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: [snip long explanation of problem] function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring = SELECT * FROM .$table. WHERE FName like '% $searchvar%'

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 1, 2008, at 2:20 PM, David Giragosian wrote: On 2/1/08, Jason Pruim [EMAIL PROTECTED] wrote: [snip long explanation of problem] function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring =

Re: [PHP] Search function not working...

2008-02-01 Thread David Giragosian
Jason, Untested, but try this... function search($searchvar, $table, $num_rows, $FName, $LName, $Add1, $Add2) { $qstring = SELECT * FROM .$table. WHERE FName like '%$searchvar%' or LName like '%$searchvar%' or Add1 like '%$searchvar%' or Add2 like

Re: [PHP] Search function not working...

2008-02-01 Thread Jim Lucas
Jason Pruim wrote: So I said in another thread that I would be asking another question about functions... So here it goes, I am attempting to write a function to search the database, which used to work just fine when I wrote it without using a function (Would that be considered static?) Now

[PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Jochem Maas
hi people, I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have or are using ZF with regard to their experiences, dislikes,

[PHP] Posting Summary for Week Ending 1 February, 2008: php-general@lists.php.net

2008-02-01 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 1 February, 2008 Messages| Bytes | Sender ++-- 403 (100%) 717988 (100%) EVERYONE 54

RE: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Warren Vail
These things are all on the bleeding edge, and if I'm not mistaken, Zend may be one of the newest, no? Extrapolate (Bleeding Edge = painful development) Warren Vail -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 1:18 PM To: [php] PHP

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Eric Butera
On Feb 1, 2008 4:18 PM, Jochem Maas [EMAIL PROTECTED] wrote: hi people, I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Greg Donald
On 2/1/08, Jochem Maas [EMAIL PROTECTED] wrote: I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have or are using ZF with

RE: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Mr Webber
My thoughts, exactly. I had to count to 10 to keep myself from replying to His Rudeness. -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:17 PM To: php-general@lists.php.net Subject: Re: [PHP] Calling All Opinionated On

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Jochem Maas
Greg Donald schreef: On 2/1/08, Jochem Maas [EMAIL PROTECTED] wrote: I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have or are

Re: [PHP] Timeout while waiting for a server-client transfer to start (large files)

2008-02-01 Thread szalinski
On Thu, 31 Jan 2008 07:13:55 -, Per Jessen [EMAIL PROTECTED] wrote: Richard Lynch wrote: Your script is reading the whole file, 64 measly bytes at a time, into a monstrous string $tmp. Then, finally, when you've loaded the whole [bleep] file into RAM in $tmp, you just echo it out, right?

Re: [PHP] Timeout while waiting for a server-client transfer to start (large files)

2008-02-01 Thread Casey
On Feb 1, 2008, at 5:45 PM, szalinski [EMAIL PROTECTED] wrote: On Thu, 31 Jan 2008 07:13:55 -, Per Jessen [EMAIL PROTECTED] wrote: Richard Lynch wrote: Your script is reading the whole file, 64 measly bytes at a time, into a monstrous string $tmp. Then, finally, when you've loaded

RE: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)

2008-02-01 Thread Daevid Vincent
-Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 3:43 AM To: Daevid Vincent Cc: 'PHP General List' Subject: Re: [PHP] PEAR website and MSIE 6 Daevid Vincent wrote: I will be very sad in 15 days when M$ FORCES everyone to it.

[PHP] Redirecting STDERR to a file?

2008-02-01 Thread js
Hi, I was trying to write a script in PHP that takes a program name as an argument and invoke it as a daemon. PHP provides fork(pcntl_fork), setsid(posix_setsid) and umask, so it was easy. However, I couldn't find a way to redirect STDERR a file. I like to have the daemon write its log to its

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Paul Scott
On Fri, 2008-02-01 at 22:18 +0100, Jochem Maas wrote: I'd like to hear from people who have or are using ZF with regard to their experiences, dislikes, likes, problems, new found fame and fortune, etc ... but only if it concerns ZF. I have integrated a few ZF components into the Chisimba

Re: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)

2008-02-01 Thread mike
On 2/1/08, Daevid Vincent [EMAIL PROTECTED] wrote: Feb 12th is D-day. http://www.google.com/search?sourceid=navclientie=UTF-8rls=GGLG,GGLG:2005- 28,GGLG:enq=microsoft+forcing+ie7 Actually... http://blog.wired.com/monkeybites/2008/01/microsofts-ie-7.html The short story is that you won't wake