[PHP] Re: Best Search Algorithm for Millions of record

2008-10-10 Thread Michelle Konzack
Am 2008-10-06 18:05:41, schrieb Hemant Patel: > But still i am asking...if anybody has ever worked on other Full Text Based > Search Algorithm then please help me to choose the best one as I need to > search in 160,00,000 records Realy 16 million records? I you use PostgreSQL, I recomment to

[PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Michelle Konzack
Hello, For those who are seeking for PHP jobs (small and big ones), I can recomment you the Website I get, since several years, my jobs there, but I am currently overworked to use it... ;-) Most jobs are even payed using PayPal... which mean, you can ev

[PHP] returning array from commandline

2008-10-10 Thread Ian
Hi, I am busy developing a commandline tool that will, in certain cirumstances, return an array of information when called and im having a problem with this. The last part of my code looks like this: if(is_array($rslt)) return $rslt; else echo $rslt; I.e. if its an array dont echo it, return it

Re: [PHP] returning array from commandline

2008-10-10 Thread Per Jessen
Ian wrote: > I am busy developing a commandline tool that will, in certain > cirumstances, return an array of information when called and im having > a problem with this. Ian, that's a bit of a contradiction - a command line tool returns a return code. > The last part of my code looks like this

Re: [PHP] returning array from commandline

2008-10-10 Thread Ian
On Fri, Oct 10, 2008 at 3:47 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > Ian wrote: > >> I am busy developing a commandline tool that will, in certain >> cirumstances, return an array of information when called and im having >> a problem with this. > > Ian, that's a bit of a contradiction - a comma

Re: [PHP] returning array from commandline

2008-10-10 Thread Per Jessen
Ian wrote: > On Fri, Oct 10, 2008 at 3:47 PM, Per Jessen <[EMAIL PROTECTED]> wrote: >> Ian wrote: >> >>> I am busy developing a commandline tool that will, in certain >>> cirumstances, return an array of information when called and im >>> having a problem with this. >> >> Ian, that's a bit of a co

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Boyd, Todd M.
> -Original Message- > From: Michelle Konzack [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2008 6:38 PM > To: PHP - General > Subject: [PHP] [Semi-OT] Tonns of jobs available > > Hello, > > For those who are seeking for PHP jobs (small and big ones), I > can recomment you

[PHP] Re: Manipulating strings

2008-10-10 Thread "Crash" Dummy
> I have a series of questions. > How do I count the number of 's in a string? > How do I add text in the middle of a string, let's say after the > 3rd ? If all you want to do is count the number of line breaks, then the substr_count function that Micah recommends will do the job. I suspect tha

[PHP] Oops!

2008-10-10 Thread "Crash" Dummy
I forgot to close a line with a semicolon. this: $elements=count($para) should be: $elements=count($para); -- Crash Committed to the search for intraterrestrial intelligence. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Nathan Rixham
Boyd, Todd M. wrote: -Original Message- From: Michelle Konzack [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 6:38 PM To: PHP - General Subject: [PHP] [Semi-OT] Tonns of jobs available Hello, For those who are seeking for PHP jobs (small and big ones), I can recomment y

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread tedd
At 9:36 AM -0500 10/10/08, Boyd, Todd M. wrote: www.rentacoder.com www.scriptlance.com ...and probably a hundred others. I just find I'm often drastically outbid by someone from a developing 2nd-world nation that doesn't mind building and designing an entire corporate web application for $10 ($3

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Richard Heyes
> When people stop caring so much about squeezing > their dollar I don't see that happening any time soon... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] Re: Plotting Tool

2008-10-10 Thread "Crash" Dummy
>> I think Richard Heyes was working on some of these, actually. >> Not positive if it was plotting or just display, though. If you >> check the archives, you might find something. I'm CC'ing him >> personally, too. >>Here's one link of his I have from memory: >>http://www.phpguru.org

Re: [PHP] Plotting Tool

2008-10-10 Thread Thodoris
actually a little bit closer to meeting the CSS2 requirements now, surely we should applaud them that effort, or maybe send them a cake ;) ps, for those that don't know, I'm referring to the cake M$ sent Firefox congratulating them on shipping Fx3! Ash www.ashleysheridan.co.uk Has this

Re: [PHP] Re: Plotting Tool

2008-10-10 Thread Richard Heyes
>>> http://www.rgraph.org > >> Working on it yes, but until MSIE supports the canvas tag (part of >> HTML5) it's not really usable for providing graphs to the public. > > Will it work with Firefox? Yes. I use FF3 and it works entirely. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and S

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread TG
I had a free Guru.com account when I was working freelance and job hunting and all that, and I didn't bother submitting a single proposal because I could see how all the jobs went. People would submit a reasonable proposal and eventually it would get to the point where someone was bidding $1 to

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Boyd, Todd M.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Heyes > Sent: Friday, October 10, 2008 10:15 AM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: Re: [PHP] [Semi-OT] Tonns of jobs available > > > When people stop caring so much a

Re[2]: [PHP] Re[2]: The 'at' sign (@) variable prefix

2008-10-10 Thread ANR Daemon
Greetings, Maciek Sokolewicz. In reply to Your message dated Thursday, October 9, 2008, 20:25:42, > If you're using it to deal with possible empty input data, you'd better > do it > explicitly enstead. > > Something like this: > > if(!array_key_exists('from_year', $_P

RE: [PHP] Plotting Tool

2008-10-10 Thread Boyd, Todd M.
> -Original Message- > From: Thodoris [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 10:42 AM > To: [EMAIL PROTECTED] > Cc: Daniel Brown; Richard Heyes; Liz Kim; php-general@lists.php.net; > Richard Heyes > Subject: Re: [PHP] Plotting Tool > > > ps, for those that don't know, I

RE: [PHP] Crowd-sourcing woes - Was: [Semi-OT] Tonns of jobs available

2008-10-10 Thread Boyd, Todd M.
> -Original Message- > From: TG [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 10:47 AM > To: php-general@lists.php.net > Subject: RE: [PHP] [Semi-OT] Tonns of jobs available > > I had a free Guru.com account when I was working freelance and job > hunting > and all that, and I

Re: [PHP] Re: Best Search Algorithm for Millions of record

2008-10-10 Thread Thodoris
: Am 2008-10-06 18:05:41, schrieb Hemant Patel: But still i am asking...if anybody has ever worked on other Full Text Based Search Algorithm then please help me to choose the best one as I need to search in 160,00,000 records Realy 16 million records? I you use PostgreSQL, I recom

Re[2]: [PHP] strtotime problem

2008-10-10 Thread ANR Daemon
Greetings, Thodoris. In reply to Your message dated Wednesday, October 8, 2008, 16:35:40, >> From your function name I assume you want to use it in MySQL. In that >> case, why don't you have MySQL do all the magic for you? >> eg. INSERT INTO table (col) VALUES (FROM_UNIXTIME($timestamp)); >> (usi

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Nathan Rixham
Richard Heyes wrote: When people stop caring so much about squeezing their dollar I don't see that happening any time soon... :-) ahh but they'll be squeezing their amero's soon which incidentally sounds rather funny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Passing a variable which is an aggregate function

2008-10-10 Thread The Doctor
What I am trying to do is to pass an aggregate variable which is the sum of some smaller variable. This var also need to finish in the form of $.YY . Pointers please. -- Member - Liberal International This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED] God, Queen and country! Beware Anti

Re: [PHP] Passing a variable which is an aggregate function

2008-10-10 Thread Jim Lucas
The Doctor wrote: > What I am trying to do is to > pass an aggregate variable which is the sum of > some smaller variable. > > This var also need to finish in the form of $.YY . > > Pointers please. Most of the above can be done using number_format(). The dollar sign you will have to add yo

Re: [PHP] Passing a variable which is an aggregate function

2008-10-10 Thread Andrew Ballard
On Fri, Oct 10, 2008 at 1:33 PM, The Doctor <[EMAIL PROTECTED]> wrote: > What I am trying to do is to > pass an aggregate variable which is the sum of > some smaller variable. > > This var also need to finish in the form of $.YY . > > Pointers please. Would you care to explain a little further

Re: [PHP] strtotime problem

2008-10-10 Thread Thodoris Goltsios
Greetings, Thodoris. In reply to Your message dated Wednesday, October 8, 2008, 16:35:40, Greetings to you too :-) . From your function name I assume you want to use it in MySQL. In that case, why don't you have MySQL do all the magic for you? eg. INSERT INTO table (col) VALUES (FROM_UNI

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread tedd
At 11:46 AM -0400 10/10/08, TG wrote: I had a free Guru.com account when I was working freelance and job hunting and all that, and I didn't bother submitting a single proposal because I could see how all the jobs went. People would submit a reasonable proposal and eventually it would get to the

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Daniel Brown
On Fri, Oct 10, 2008 at 2:54 PM, tedd <[EMAIL PROTECTED]> wrote: > > Is everyone stupid or is it just me? :-) No, you're not the only one. You're in good company. -- More full-root dedicated server packages: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel 3.06GHz/80GB/1GB/2TB $59.99/mo. Inte

[PHP] Problem with memory management

2008-10-10 Thread Alan Boudreault
Hi all, I'm wondering why PHP doesn't free my memory with this test code. The memory usage is always the same even if i unset my object. The Garbage collector seems to only free the memory at the end of the script. Here's the php Scripts that i use for testing: echo "before getShape : ".

[PHP] Re: Problem with memory management

2008-10-10 Thread Nathan Rixham
Alan Boudreault wrote: Hi all, I'm wondering why PHP doesn't free my memory with this test code. The memory usage is always the same even if i unset my object. The Garbage collector seems to only free the memory at the end of the script. Here's the php Scripts that i use for testing: ec

Re: [PHP] Re: Problem with memory management

2008-10-10 Thread Eric Butera
On Fri, Oct 10, 2008 at 3:32 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Alan Boudreault wrote: >> >> Hi all, >> >> I'm wondering why PHP doesn't free my memory with this test code. The >> memory usage is always the same even if i unset my object. The Garbage >> collector seems to only free the

Re: [PHP] Re: Problem with memory management

2008-10-10 Thread Nathan Rixham
Eric Butera wrote: On Fri, Oct 10, 2008 at 3:32 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: Alan Boudreault wrote: Hi all, I'm wondering why PHP doesn't free my memory with this test code. The memory usage is always the same even if i unset my object. The Garbage collector seems to only free

[PHP] Jobs

2008-10-10 Thread Kyle Terry
Am I allowed to post job opportunities on here? I see them sometimes. I'm not sure if its against the General Mailing List rules or not. -- Kyle Terry | www.kyleterry.com

RE: [PHP] Crowd-sourcing woes [Semi-OT]

2008-10-10 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 1:54 PM > To: php-general@lists.php.net > Subject: RE: [PHP] [Semi-OT] Tonns of jobs available > > Actually, if I really punched a time clock, I'm probably making > around $25 per hour (or less) an

Re: [PHP] Jobs

2008-10-10 Thread Daniel Brown
On Fri, Oct 10, 2008 at 4:44 PM, Kyle Terry <[EMAIL PROTECTED]> wrote: > Am I allowed to post job opportunities on here? I see them sometimes. I'm > not sure if its against the General Mailing List rules or not. You'll get mixed results on that here, Kyle. For the most part, those who matter

[PHP] Library GD dont work

2008-10-10 Thread opc
Hi forum I install library GD in Centos with yum install php-gd I follow your instructions and install, but when i execute phpinfo( ),� i see the next './configure' '--build=i686-redhat-linux-gnu' '. without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--wit

[PHP] Variable Variables and Super Global Arrays

2008-10-10 Thread daniel danon
Hi, I was wondering, By php.net manual, "Please note that variable variables cannot be used with PHP's Superglobal arrays within functions or class methods". Is there any way to override this problem? Just the not nice eval("return $variable");? and in simple words - is there any way to make the

Re: [PHP] Re: Plotting Tool

2008-10-10 Thread Ashley Sheridan
On Fri, 2008-10-10 at 16:42 +0100, Richard Heyes wrote: > >>> http://www.rgraph.org > > > >> Working on it yes, but until MSIE supports the canvas tag (part of > >> HTML5) it's not really usable for providing graphs to the public. > > > > Will it work with Firefox? > > Yes. I use FF3 and it works

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Ashley Sheridan
On Fri, 2008-10-10 at 14:54 -0400, tedd wrote: > At 11:46 AM -0400 10/10/08, TG wrote: > >I had a free Guru.com account when I was working freelance and job hunting > >and all that, and I didn't bother submitting a single proposal because I > >could see how all the jobs went. People would submit a

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread tedd
At 12:38 AM +0100 10/11/08, Ashley Sheridan wrote: All these problems are just on one site and with one woman. Ash I won't comment on that, other than say -- while they may all look different, there's really only one woman. It's an ant-like thing. :-) Cheers, tedd -- --- http://sper

RE: [PHP] Crowd-sourcing woes [Semi-OT]

2008-10-10 Thread tedd
At 3:48 PM -0500 10/10/08, Boyd, Todd M. wrote: > -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 1:54 PM To: php-general@lists.php.net Subject: RE: [PHP] [Semi-OT] Tonns of jobs available Actually, if I really punched a time clock, I'm proba

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Nathan Rixham
tedd wrote: At 12:38 AM +0100 10/11/08, Ashley Sheridan wrote: All these problems are just on one site and with one woman. Ash I won't comment on that, other than say -- while they may all look different, there's really only one woman. It's an ant-like thing. :-) Cheers, tedd gets me

Re: [PHP] Passing a variable which is an aggregate function

2008-10-10 Thread The Doctor
On Fri, Oct 10, 2008 at 01:48:01PM -0400, Andrew Ballard wrote: > On Fri, Oct 10, 2008 at 1:33 PM, The Doctor <[EMAIL PROTECTED]> wrote: > > What I am trying to do is to > > pass an aggregate variable which is the sum of > > some smaller variable. > > > > This var also need to finish in the form of

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Ross McKay
On Fri, 10 Oct 2008 14:54:19 -0400, tedd wrote: >[...] >Is everyone stupid or is it just me? :-) Yes. No. However, the software world is amazingly amenable to both propagating stupidity and allowing it to grow and foster further stupidity. Probably because when it all does finally collapse, the

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Eric Butera
On Fri, Oct 10, 2008 at 8:27 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > tedd wrote: >> >> At 12:38 AM +0100 10/11/08, Ashley Sheridan wrote: >>> >>> All these problems are just on one site and with one woman. >>> >>> Ash >> >> >> I won't comment on that, other than say -- while they may all loo

[PHP] Re: Yeah I'm sortof a noob

2008-10-10 Thread Frank Stanovcak
TY. That should help greatly! "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Frank Stanovcak wrote: >> I'm trying to follow the three precepts of accepting user entries... >> 1. never trust it. >> 2. never trust it. >> 3. never trust it ever! >> >> I have one entry