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

2008-01-25 Thread Nathan Rixham
If you run the scripts through the CLI you can multithread your queries very easily.. you can wrap it in a while(1) block with a sleep(X) aswell to keep it going forever-ish.. $work = $db->select("select work_to_do from my_database WHERE work_done=0;"); if($work) { $worker_threads = array();

[PHP] Binary to double without loosing precision?

2008-01-25 Thread Nathan Rixham
Spatial Joys! Quite simply I need to unpack wkb binary from mysql back to it's double-precision... problem is this: Array ( [order] => 0 [type] => 16777216 [latitude] => -7.1466311596962E-292 [longitude] => 1.7568969921627E-47 ) should be: Array ( [order] => 0 [type] =>

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Jim Lucas
Jason Pruim wrote: Hi everyone :) So partly to get an answer, and partly to boost my post rankings for the week I have a question. I am attempting to write an authentication function which would query a database, check the username/password and return true if it matches. If it doesn't match

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 1:45 pm, Jochem Maas wrote: > Richard Lynch schreef: >> On Fri, January 25, 2008 11:33 am, Floor Terra wrote: >>> I know how to do multiple queries - the key issue in my >>> question >>> was how to do them concurrently (i.e. in parallel). >> So you want to

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 1:31 pm, Jochem Maas wrote: > setup as via register_shutdown_function(). I missed that bit. Sorry for the noise. shutdown functions are run outside the normal context of PHP, and need special care. Output won't go anywhere, and try/catch won't work, as the bulk of the P

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Thijs Lensselink
Nathan Nobbe wrote: On Jan 25, 2008 3:35 PM, Thijs Lensselink <[EMAIL PROTECTED] > wrote: Change: }return $authenticated; to return $authenticated; } else it will never return the value from the function. But it will always give you u

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Nathan Nobbe
On Jan 25, 2008 3:35 PM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: > Change: > > }return $authenticated; > > to > >return $authenticated; > } > > else it will never return the value from the function. But it will > always give you undefined variable notice nice catch ;) -nathan

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Thijs Lensselink
Jason Pruim wrote: Hi everyone :) So partly to get an answer, and partly to boost my post rankings for the week I have a question. I am attempting to write an authentication function which would query a database, check the username/password and return true if it matches. If it doesn't match

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

2008-01-25 Thread Jochem Maas
Richard Lynch schreef: On Fri, January 25, 2008 1:45 pm, Jochem Maas wrote: Richard Lynch schreef: On Fri, January 25, 2008 11:33 am, Floor Terra wrote: I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). So you want to make PH

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 12:59 pm, Eric Butera wrote: > On Jan 25, 2008 1:39 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Fri, January 25, 2008 7:27 am, Eric Butera wrote: >> > I think the memory size can (sort of) be determined by width * >> height >> > * bits * channels / 8. I've never fou

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 1:59 pm, Jason Pruim wrote: > Hi everyone :) > > So partly to get an answer, and partly to boost my post rankings for > the week I have a question. > > I am attempting to write an authentication function which would query > a database, check the username/password and retu

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Nathan Nobbe
oh; i just noticed you dont have formal parameters for $user or $pass; so, function authentication($user, $pass) { /// ... then you can remove the first line i put in there on the last post :) } -nathan

Re: [PHP] Functions are driving me crazy....

2008-01-25 Thread Nathan Nobbe
-nathan

[PHP] Functions are driving me crazy....

2008-01-25 Thread Jason Pruim
Hi everyone :) So partly to get an answer, and partly to boost my post rankings for the week I have a question. I am attempting to write an authentication function which would query a database, check the username/password and return true if it matches. If it doesn't match, then it shouldn

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 7:27 am, Eric Butera wrote: > I think the memory size can (sort of) be determined by width * height > * bits * channels / 8. I've never found anything better than that. > There are a few comments on the php site in the gd section about such > things but I've never seen it

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

2008-01-25 Thread Jochem Maas
Richard Lynch schreef: On Fri, January 25, 2008 11:33 am, Floor Terra wrote: I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? No, just the mysql queries. Try pcntl_fork() to create a c

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Jochem Maas
Richard Lynch schreef: On Fri, January 25, 2008 4:37 am, Jochem Maas wrote: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: I wonder if you can wrap a try/catch around the loading of the constants and class definit

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 1:39 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, January 25, 2008 7:27 am, Eric Butera wrote: > > I think the memory size can (sort of) be determined by width * height > > * bits * channels / 8. I've never found anything better than that. > > There are a few comments on

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 11:33 am, Floor Terra wrote: > I know how to do multiple queries - the key issue in my question > was how to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? >>> >>> No, just the mysql queries. >> > Try pcntl_fork() to create a

Re: [PHP] pack it in

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 7:14 am, Eric Butera wrote: > Of course one should know that xor encryption really isn't encryption. It is according to the DCMA, last I heard, based on the QueCat and the barcode-scanner hack for same... :-) (I still have a QueCat kicking around somewhere that I want to

Re: [PHP] pack it in

2008-01-25 Thread Richard Lynch
On Thu, January 24, 2008 6:13 pm, Jochem Maas wrote: > Richard Lynch schreef: >> On Thu, January 24, 2008 5:20 pm, Jochem Maas wrote: >>> someone asked about checksum values in another thread, I believe >>> he got his answer no thanks to me. but whilst I was trying to help >>> I got stuck playing

Re: SV: SV: [PHP] Sql support

2008-01-25 Thread Richard Lynch
Either you see a section about "mssql" extension or you don't. If you see it, you have it. If you don't, you don't. It's really that simple... You have bcmath, calendar, COM, ctype, date, DOM, filter, ftp, hash and iconv. You don't have mssql, nor ODBC for that matter. (Unless ODBC is built-in

Re: [PHP] Posting Summary for Week Ending 25 January, 2008: php-general@lists.php.net

2008-01-25 Thread Richard Lynch
On Thu, January 24, 2008 10:11 pm, Wolf wrote: > Jay Blanchard wrote: >> [snip] >>> Dude, I laughed so loud that it echoed in the halls of the >>> Engineering Wing over here. What makes it so funny? That it's not >>> much of an exaggeration! ;-D >>> >> >> very glad to raise a laugh :-) those

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 2:43 am, Emil Edeholt wrote: > I have a website where people can upload photos and it creates > previews. > My problem is with pictures with big dimensions like 12000px height > for > example where the script times out. I've seen other sites that seems > do > be able to do

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

2008-01-25 Thread Jochem Maas
Nathan Nobbe schreef: On Jan 25, 2008 12:45 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: you'll end up forking a complete apache process - assuming mod_php. you don't want that alright, Jocheem, now its my turn for a stupid question. doesnt apache fork a different process on each php request a

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 11:21 am, Jochem Maas wrote: > Per Jessen schreef: >> Colin Guthrie wrote: >> >>> Per Jessen wrote: Colin Guthrie wrote: > Per Jessen wrote: >> I know how to do multiple queries - the key issue in my question >> was how to do them concurrently (i.e. in

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 6:11 am, Edward Kay wrote: >> Per Jessen wrote: >> > Colin Guthrie wrote: >> > >> >> Per Jessen wrote: >> >>> I know how to do multiple queries - the key issue in my question >> was >> >>> how to do them concurrently (i.e. in parallel). >> >> So you want to make PHP multi

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 5:07 am, Colin Guthrie wrote: > Per Jessen wrote: >> I know how to do multiple queries - the key issue in my question was >> how >> to do them concurrently (i.e. in parallel). > > So you want to make PHP multithreaded??? No, he wants to leverage the multi-threaded MySQL

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

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 3:35 am, Per Jessen wrote: > I have a website where some of the pages require several mysql queries > - > they're independent, so in principle they could easily be run in > parallel. Has anyone looked at doing that? If MySQL has implemented "cursors" in some new version,

Re: [PHP] Assistance needed with mysql query to achieve this php5

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 4:06 am, Don Don wrote: > The db structure is a little complicated hence the duplication of > usernames. A complicated DB is all the MORE reason not to duplicate data... Stop typing and start thinking, because you are building up a mess that WILL bite you in the butt in

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 4:37 am, Jochem Maas wrote: > I'm getting exceptions thrown without a stackframe. I understand what > this > means but not how it can happen given the following: I wonder if you can wrap a try/catch around the loading of the constants and class definitions? Or you already

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

2008-01-25 Thread Nathan Nobbe
On Jan 25, 2008 1:01 PM, Floor Terra <[EMAIL PROTECTED]> wrote: > If all these apache/php processes are a problem, you could try a > different setup: > Write a SOAP (or silmilar) webservice in a language that does support > proper > threading. Now call your SOAP function from your php script to se

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

2008-01-25 Thread Floor Terra
On Jan 25, 2008 6:52 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Jan 25, 2008 12:45 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > > > you'll end up forking a complete apache process - assuming mod_php. > > you don't want that > > > alright, Jocheem, now its my turn for a stupid question. > does

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

2008-01-25 Thread Floor Terra
On Jan 25, 2008 7:42 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > > > Try pcntl_fork() to create a child process for each query. > > Each child can make it's own MySQL connection. > > Hmm, interesting idea. I wonder if that'll work under apache? > You have to compile with --enable-pcntl to use it.

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

2008-01-25 Thread Nathan Nobbe
On Jan 25, 2008 12:45 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > you'll end up forking a complete apache process - assuming mod_php. > you don't want that alright, Jocheem, now its my turn for a stupid question. doesnt apache fork a different process on each php request anyway, if its complied

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

2008-01-25 Thread Jochem Maas
Per Jessen schreef: Floor Terra wrote: I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? No, just the mysql queries. Try pcntl_fork() to create a child process for each query. Each chi

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

2008-01-25 Thread Per Jessen
Jochem Maas wrote: > have you thought of batch processing via cron? you can have a parent > process run off children to handle each long running query and package > the results in format that's quick to output - thereby minimizing the > time taken to batch process and then have the summary page me

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

2008-01-25 Thread Per Jessen
Floor Terra wrote: > I know how to do multiple queries - the key issue in my question > was how to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? >>> >>> No, just the mysql queries. >> > Try pcntl_fork() to create a child process for each query. > Ea

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

2008-01-25 Thread Floor Terra
I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). >>> So you want to make PHP multithreaded??? >> >> No, just the mysql queries. > Try pcntl_fork() to create a child process for each query. Each child can make it's own MyS

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

2008-01-25 Thread Jochem Maas
Per Jessen schreef: Colin Guthrie wrote: Per Jessen wrote: Colin Guthrie wrote: Per Jessen wrote: I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? No, just the mysql queries. So r

Re: [PHP] are email address could be spammed

2008-01-25 Thread Andrew Ballard
On Jan 25, 2008 8:58 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > On Jan 25, 2008, at 8:52 AM, Eric Butera wrote: > > > On Jan 25, 2008 8:43 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > >> On 25/01/2008, Eric Butera <[EMAIL PROTECTED]> wrote: > >> not to mention the 'all-your-email-belong-t

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

2008-01-25 Thread Per Jessen
Colin Guthrie wrote: > Per Jessen wrote: >> Colin Guthrie wrote: >> >>> Per Jessen wrote: I know how to do multiple queries - the key issue in my question was how to do them concurrently (i.e. in parallel). >>> So you want to make PHP multithreaded??? >> >> No, just the mysql queries.

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

2008-01-25 Thread Per Jessen
Edward Kay wrote: >> Per Jessen wrote: >> > Colin Guthrie wrote: >> > >> >> Per Jessen wrote: >> >>> I know how to do multiple queries - the key issue in my question >> >>> was how to do them concurrently (i.e. in parallel). >> >> So you want to make PHP multithreaded??? >> > >> > No, just the m

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Jochem Maas
Peter Ford schreef: Jochem Maas wrote: Jochem Maas schreef: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every* frontend script on the site is wrapped in a try/catch block 2. I have set an exception handler

Re: [PHP] are email address could be spammed

2008-01-25 Thread Jason Pruim
On Jan 25, 2008, at 8:52 AM, Eric Butera wrote: On Jan 25, 2008 8:43 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote: On 25/01/2008, Eric Butera <[EMAIL PROTECTED]> wrote: not to mention the 'all-your-email-belong-to-us' aspect of world googlisation. yeah, that's exactly why I don't use gmail

Re: [PHP] are email address could be spammed

2008-01-25 Thread Dotan Cohen
On 25/01/2008, Jason Pruim <[EMAIL PROTECTED]> wrote: > I've always believed that if I'm going to get subjected to ads (Which > of course I do) I want them to be as specific as possible... Don't > show me the benefits of estrogen treatments :) > > Hey! You are ruining my contextual ads with words

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Eric Butera
On Jan 25, 2008 8:43 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Eric Butera schreef: > > > On Jan 25, 2008 5:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> I'm getting exceptions thrown without a stackframe. I understand what this > >> means but not how it can happen given the following: > >>

Re: [PHP] are email address could be spammed

2008-01-25 Thread Eric Butera
On Jan 25, 2008 8:43 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > On 25/01/2008, Eric Butera <[EMAIL PROTECTED]> wrote: > > > > > not to mention the 'all-your-email-belong-to-us' aspect of world > > > > > googlisation. > > > > > > > > yeah, that's exactly why I don't use gmail > > > > > > That's w

Re: [PHP] are email address could be spammed

2008-01-25 Thread Dotan Cohen
On 25/01/2008, Eric Butera <[EMAIL PROTECTED]> wrote: > > > > not to mention the 'all-your-email-belong-to-us' aspect of world > > > > googlisation. > > > > > > yeah, that's exactly why I don't use gmail > > > > That's why I use gmail for lists, but not for work or personal mail. > > The spam filt

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Jochem Maas
Eric Butera schreef: On Jan 25, 2008 5:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every* frontend script on the site is wrapped in a try/catch block 2. I have s

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Peter Ford
Jochem Maas wrote: > Jochem Maas schreef: >> I'm getting exceptions thrown without a stackframe. I understand what >> this >> means but not how it can happen given the following: >> >> 1. *every* frontend script on the site is wrapped in a try/catch block >> 2. I have set an exception handler to du

Re: [PHP] are email address could be spammed

2008-01-25 Thread Eric Butera
On Jan 25, 2008 5:28 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > On 25/01/2008, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > 2008. 01. 25, péntek keltezéssel 11.10-kor Jochem Maas ezt írta: > > > bruce schreef: > > > > also... > > > > > > > > for gmail, as far as i can tell.. you can't do a resend

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Eric Butera
On Jan 25, 2008 5:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > I'm getting exceptions thrown without a stackframe. I understand what this > means but not how it can happen given the following: > > 1. *every* frontend script on the site is wrapped in a try/catch block > 2. I have set an exception

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 3:43 AM, Emil Edeholt <[EMAIL PROTECTED]> wrote: > Hi! > > I have a website where people can upload photos and it creates previews. > My problem is with pictures with big dimensions like 12000px height for > example where the script times out. I've seen other sites that seems do > b

Re: [PHP] pack it in

2008-01-25 Thread Eric Butera
On Jan 24, 2008 7:13 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Richard Lynch schreef: > > On Thu, January 24, 2008 5:20 pm, Jochem Maas wrote: > >> someone asked about checksum values in another thread, I believe > >> he got his answer no thanks to me. but whilst I was trying to help > >> I got

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

2008-01-25 Thread Colin Guthrie
Per Jessen wrote: > Colin Guthrie wrote: > >> Per Jessen wrote: >>> I know how to do multiple queries - the key issue in my question was >>> how to do them concurrently (i.e. in parallel). >> So you want to make PHP multithreaded??? > > No, just the mysql queries. So really what you want is my

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

2008-01-25 Thread Edward Kay
> Per Jessen wrote: > > Colin Guthrie wrote: > > > >> Per Jessen wrote: > >>> I know how to do multiple queries - the key issue in my question was > >>> how to do them concurrently (i.e. in parallel). > >> So you want to make PHP multithreaded??? > > > > No, just the mysql queries. > If you'r

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

2008-01-25 Thread Per Jessen
Colin Guthrie wrote: > Per Jessen wrote: >> I know how to do multiple queries - the key issue in my question was >> how to do them concurrently (i.e. in parallel). > > So you want to make PHP multithreaded??? No, just the mysql queries. /Per Jessen, Zürich -- PHP General Mailing List (http

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

2008-01-25 Thread Colin Guthrie
Per Jessen wrote: > I know how to do multiple queries - the key issue in my question was how > to do them concurrently (i.e. in parallel). So you want to make PHP multithreaded??? Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Jochem Maas
Jochem Maas schreef: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every* frontend script on the site is wrapped in a try/catch block 2. I have set an exception handler to dump these so-called uncaught excepti

[PHP] Exception thrown without a stack frame

2008-01-25 Thread Jochem Maas
I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every* frontend script on the site is wrapped in a try/catch block 2. I have set an exception handler to dump these so-called uncaught exceptions in the error log I

Re: [PHP] are email address could be spammed

2008-01-25 Thread Dotan Cohen
On 25/01/2008, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2008. 01. 25, péntek keltezéssel 11.10-kor Jochem Maas ezt írta: > > bruce schreef: > > > also... > > > > > > for gmail, as far as i can tell.. you can't do a resend on a sent email... > > > ie, get the email you sent, reedit it, and resend

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

2008-01-25 Thread Per Jessen
Colin Guthrie wrote: > Per Jessen wrote: >> All, >> >> I have a website where some of the pages require several mysql >> queries - they're independent, so in principle they could easily be >> run in parallel. Has anyone looked at doing that? > > http://uk3.php.net/manual/en/function.mysqli-mult

Re: [PHP] are email address could be spammed

2008-01-25 Thread Zoltán Németh
2008. 01. 25, péntek keltezéssel 11.10-kor Jochem Maas ezt írta: > bruce schreef: > > also... > > > > for gmail, as far as i can tell.. you can't do a resend on a sent email... > > ie, get the email you sent, reedit it, and resend it.. > > not to mention the 'all-your-email-belong-to-us' aspect o

Re: [PHP] are email address could be spammed

2008-01-25 Thread Jochem Maas
bruce schreef: also... for gmail, as far as i can tell.. you can't do a resend on a sent email... ie, get the email you sent, reedit it, and resend it.. not to mention the 'all-your-email-belong-to-us' aspect of world googlisation. peace.. -Original Message- From: Daniel Brown [

Re: [PHP] Assistance needed with mysql query to achieve this php5

2008-01-25 Thread Don Don
Hi Richard, I'll try out your suggestions and will let you know if i had any luck. The db structure is a little complicated hence the duplication of usernames. Cheers Richard Lynch <[EMAIL PROTECTED]> wrote: Just take out member_id = '%s' and use friendWIthId = '%s' instead. Actually, I think y

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

2008-01-25 Thread Colin Guthrie
Per Jessen wrote: > All, > > I have a website where some of the pages require several mysql queries - > they're independent, so in principle they could easily be run in > parallel. Has anyone looked at doing that? http://uk3.php.net/manual/en/function.mysqli-multi-query.php -- PHP General Mail

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

2008-01-25 Thread Per Jessen
All, I have a website where some of the pages require several mysql queries - they're independent, so in principle they could easily be run in parallel. Has anyone looked at doing that? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] RE : RE : [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-25 Thread Luc Maltier
Thank you. You must be right about the memory_limit not enabled in 5.1.4 Windows binaries. It would be nice, for the Windows binary download, to provide details on parameters uised to compile it (and on extensions included: actually, using the "installer" package is supposed to be simpler, but it i

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Per Jessen
Emil Edeholt wrote: > Hi! > > I have a website where people can upload photos and it creates > previews. My problem is with pictures with big dimensions like 12000px > height for example where the script times out. I've seen other sites > that seems do be able to do this faster. I use gd to scale

[PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Emil Edeholt
Hi! I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able to do this faster. I use gd to scale the image. Is there a faste

SV: SV: SV: [PHP] Sql support

2008-01-25 Thread mattias
hereis my php.ini i think this file are correct [PHP] ;;; ; About php.ini ; ;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path desig

Re: [PHP] pack it in

2008-01-25 Thread Jochem Maas
one of the little imps in my head just found the light switch. thank you :-) Nathan Nobbe schreef: On Jan 24, 2008 7:13 PM, Jochem Maas <[EMAIL PROTECTED] > wrote: ok. that's where my brain goes to mush - all strings in php (for now) are binary ... what's the

Re: [PHP] pack it in

2008-01-25 Thread Zoltán Németh
2008. 01. 25, péntek keltezéssel 00.20-kor Jochem Maas ezt írta: > someone asked about checksum values in another thread, I believe > he got his answer no thanks to me. but whilst I was trying to help > I got stuck playing with pack/unpack. > > so now I have the broadbrush question of what would o

Re: [PHP] Rename

2008-01-25 Thread Per Jessen
Pastor Steve wrote: > I have been looking, but the problem is that I don¹t know what > questions to ask or what to look for. I think it is a rename function. > That works, but it only does one file at a time. I was looking for > something that will do all the files in the directory without needing