[PHP] Re: php-general Digest 20 Sep 2013 17:33:26 -0000 Issue 8369

2013-09-20 Thread Bill Guion
On Sep 20, 2013, at 1:33 PM, php-general-digest-h...@lists.php.net wrote: > Friday's Question > 322111 by: Tedd Sperling > -- > > From: Tedd Sperling > Subject: Friday's Question > Date:

[PHP] [php-general] gibberish output when using the loadHTMLFile() function.

2013-08-11 Thread atar
ow to solve this problem? NOTE: the document itself is encoded in utf-8 character set. Thanks in advance!! atar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

confirm subscribe to php-general@lists.php.net

2012-09-11 Thread php-general-help
Hi! This is the ezmlm program. I'm managing the php-general@lists.php.net mailing list. I'm working for my owner, who can be reached at php-general-ow...@lists.php.net. To confirm that you would like arch...@mail-archive.com added to the php-general mailing list, please send an e

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Harkness
On Mon, Dec 12, 2011 at 1:06 PM, David Savage wrote: > Would "ksort($sortarr,SORT_STRING)" on a 1 dimensional array with a key > comprised of > a person's name, > "-", and > time stamp > I..E. (key: david savage-2011-12-12 14:43:00) > actually delete duplicate keys from the array, if there were

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread Daniel P. Brown
. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Savage
ot;, and time stamp I..E. (key: david savage-2011-12-12 14:43:00) actually delete duplicate keys from the array, if there were two keys the same ? Did not see anything regarding this in the user notes of "ksort" page in php.net David ____ From: php-gene

[PHP] Re: php-general Digest 5 May 2011 21:55:09 -0000 Issue 7299

2011-05-06 Thread David Robley
e-letter wrote: > Readers, > > Looking through the mail lists archives, only the following message > seems to advise about the possibility to use gnuplot: > http://marc.info/?l=php-general&m=96248542218029&w=2 > > Is it possible to start gnuplot using php, to plot a

[PHP] Re: php-general Digest 5 May 2011 21:55:09 -0000 Issue 7299

2011-05-05 Thread e-letter
Readers, Looking through the mail lists archives, only the following message seems to advise about the possibility to use gnuplot: http://marc.info/?l=php-general&m=96248542218029&w=2 Is it possible to start gnuplot using php, to plot a graph from postgresql data. For example, a table is

Re: [PHP] Re: php-general Digest 14 Feb 2011 03:32:02 -0000 Issue 7180

2011-02-14 Thread Thijs Lensselink
med you were using the standard Zend debugger. My bad. Been trying to get Xdebug working in combination with Zend Studio 8. The two seem to talk to each other. But Zend Studio doesn't display any data, no breakpoints, etc i compiled from source since i am using Zend Server. No luck. So back to the Zend Debugger for now. > > br, > > flj > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-general Digest 14 Feb 2011 03:32:02 -0000 Issue 7180

2011-02-13 Thread Florin Jurcovici
o initially I didn't even think of the possibility of a debugger bug. br, flj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Kevin Kinsey
to send you a list of people to remove! ;-} Paul Lord-a-mercy, yes!!! Daniel, what license for this service? BSD? CC? GPL? :-D Kevin Kinsey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Paul M Foster
I was just about to send you a list of people to remove! ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Steve Staples
On Thu, 2010-11-04 at 12:34 -0400, Daniel P. Brown wrote: > On Thu, Nov 4, 2010 at 12:33, Daniel P. Brown > wrote: > > > >If you continue to have issues, let me know and I will remove you. > > From the list, that is, to be clear. Not the Earth. > i lol&#x

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Daniel P. Brown
ne.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Daniel P. Brown
On Thu, Nov 4, 2010 at 12:00, Marc Abramowitz wrote: > The bottom of my daily digest email says to unsubscribe, I should email > php-general-digest-unsubscr...@lists.php.net > > I've done this several times -- sometimes with various combinations of blank > and "unsubsc

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Richard Quadling
On 4 November 2010 16:00, Marc Abramowitz wrote: > The bottom of my daily digest email says to unsubscribe, I should email > php-general-digest-unsubscr...@lists.php.net > > I've done this several times -- sometimes with various combinations of blank > and "unsubscribe

[PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Marc Abramowitz
The bottom of my daily digest email says to unsubscribe, I should email php-general-digest-unsubscr...@lists.php.net I've done this several times -- sometimes with various combinations of blank and "unsubscribe" in the subject line and body. I keep getting the emails though.

[PHP] Re: confirm subscribe to php-general@lists.php.net

2010-03-18 Thread Blake Morgan
On 3/18/2010 9:36 PM, php-general-h...@lists.php.net wrote: Hi! This is the ezmlm program. I'm managing the php-general@lists.php.net mailing list. I'm working for my owner, who can be reached at php-general-ow...@lists.php.net. To confirm that you would like bmorga...@gmail.com

[PHP] Re: confirm subscribe to php-general@lists.php.net

2010-02-14 Thread Developer Team - MDS Lab

[PHP] php-general-unsubscr...@lists.php.net

2010-01-20 Thread Dasn
-- Dasn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General good practice question about functions directory location

2009-07-14 Thread Al
still don't let the owner use the space above the document_root. So, I'll provide a means so the directory can be installed under it. What's your opinion and practice? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general mail server on blackhole list

2009-07-03 Thread Daniel Brown
k out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-general mail server on blackhole list

2009-07-03 Thread The Doctor
Anti-Christ rising! Never Satan President Republic! The fool says in his heart, "There is no God". They are corrupt, and their ways are vile; there is no one who does good. - Ps 53:1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Web Development Editor/IDE

2009-05-25 Thread Raymond Irving
/index.html __ Raymond Irving Create Rich Ajax/PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Web Development Editor/IDE

2009-05-24 Thread Nathan Rixham
utomated building in eclipse, indeed anything useful) * all the required dependencies for the above. regards! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Web Development Editor/IDE

2009-05-24 Thread Lester Caine
olve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Web Development Editor/IDE

2009-05-24 Thread kranthi
tags and stuff) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General Web Development Editor/IDE

2009-05-24 Thread Casey
ual syntax coloring and project management). But before I try that, are there any suggestions from all you experts out there? Thanks, - Casey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unsubscribe from php-general@lists.php.net

2009-05-22 Thread Ashley Sheridan
else we wouldn't have got this message :-/ Tom, the right address to send this to is in the email headers you get sent from the list. Instructions are online as to the form of the email you send it. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unsubscribe from php-general@lists.php.net

2009-05-22 Thread Eddie Drapkin
:( On Fri, May 22, 2009 at 2:55 PM, Tom Merriam wrote: > -- > Tom Merriam > Cell: 512.639.5589 Home: 512.869.6401 > twmerr...@gmail.com >

[PHP] Unsubscribe from php-general@lists.php.net

2009-05-22 Thread Tom Merriam
-- Tom Merriam Cell: 512.639.5589 Home: 512.869.6401 twmerr...@gmail.com

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-09 Thread Lenin
LOL good points indeed! But I dont use other Google products that much. But yes I'm helping google in some way. One great satisfaction I have is I use Ubuntu with FireFox. :)

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-09 Thread דניאל דנון
That's how you help information-monster-privacy-killing-companies to gain more control... You use GMail? ever visited blogspot? search on Google? Visit half of the leading sites of the world (since they have Google Analytics) or visit the other half that have Google Adsense or both of them? Maybe

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-09 Thread Lenin
Hahaha quite Hilarious. le...@phpxperts.net is also hosted by Google Apps :P Its the Largest active PHP group in South Asia (originated from Bangladesh). Participated by thousands from many other countries. Keep the humor on! :D

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-09 Thread Nathan Rixham
. Get LeninMail from all good phpXperts stockists NOW! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-08 Thread sean greenslade
On Fri, May 8, 2009 at 5:27 PM, Lenin wrote: > Yeah gmail is a nice thing :) > > The best ever mailing system world has ever seen until now. > Agreed. -- --Zootboy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-08 Thread Lenin
Yeah gmail is a nice thing :) The best ever mailing system world has ever seen until now.

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-08 Thread sean greenslade
benefits.html > > We're still working every day to improve Google Mail, so we might ask > for your comments and suggestions periodically.  We hope you'll like > Google Mail.  We do.  And, it's only going to get better. > > Thanks, > > The Google Mail Team > &g

[PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-07 Thread Tim-Hinnerk Heuer
, it's only going to get better. Thanks, The Google Mail Team (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general-sc.1237291233.npmhceaklghpccnefjed-born2victory=gmail....@lists.php.net

2009-03-18 Thread Daniel Brown
-- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-general-sc.1237291233.npmhceaklghpccnefjed-born2victory=gmail....@lists.php.net

2009-03-17 Thread Born2Win

RE: [PHP] General Mysql Connect

2008-10-30 Thread Jay Blanchard
t counting clock cycles a long time ago. Is it because your application has a ton of users with lots of connections? If so you may want to look into connection pooling for the database. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-30 Thread Jochem Maas
OS's? >>> >>> >>> Ash >>> www.ashleysheridan.co.uk >>> >> With MySQL, you don't need a new DB connection to use a second DB. I >> think that's the problem your having >> >> Thank you, >> Micah Gersten >

Re: [PHP] General Mysql Connect

2008-10-30 Thread Ashley Sheridan
going to be fairly the same. Linux > > could be different, but why would the developers of the connection > > driver write totally different code for both OS's? > > > > > > Ash > > www.ashleysheridan.co.uk > > > With MySQL, you don't need a new DB connection to use a second DB. I > think that's the problem your having > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > > That's what I'm trying to explain. You don't have to explicitly code for a new connection, but in terms of op codes, a new connection is created. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
Windows using MSSQL or MySQL is going to be fairly the same. Linux > could be different, but why would the developers of the connection > driver write totally different code for both OS's? > > > Ash > www.ashleysheridan.co.uk > With MySQL, you don't need a new DB connection to use a second DB. I think that's the problem your having Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
a database connections, regardless of whether they are on the same server or not, you will incur extra opcodes. ColdFusion does it with MSSQL, and I'm guessing that PHP on Windows using MSSQL or MySQL is going to be fairly the same. Linux could be different, but why would the developer

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
nstead of just using the database name in the query. However, this should not be that expensive. Yes, connections should be available for the whole script if you don't destroy them. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
memory? >>>>>>>> >>>>>>>> . >>>>>>>> Thank you, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> For arguments sake, open 1000 database connections, all to different >>>>>>> databases. Now tell me that each connection doesn't have a footprint. At >>>>>>> the end of the day, whist it may seem fine for a script to have 2 >>>>>>> connections open, the least open the better. Imagine 100 users >>>>>>> simultaneously accessing a page that opens 10 connections. Suddenly you >>>>>>> have 200 connections open, not a great idea. If you could amalgamate the >>>>>>> db's, you'd have half as many connections open. >>>>>>> >>>>>>> If you're still having trouble understanding why having two database >>>>>>> connections open is bad (regardless of whether they are on the same >>>>>>> server or not) the I think web development is the wrong career for you. >>>>>>> >>>>>>> >>>>>>> Ash >>>>>>> www.ashleysheridan.co.uk >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> The answer in your case is not to combine the DBs necessarily, but >>>>>> consolidate the connections used. Like I said, you can use 2 MySQL DBs >>>>>> on the same connection in PHP. There's no reason to sacrifice >>>>>> separation of data. >>>>>> >>>>>> Thank you, >>>>>> Micah Gersten >>>>>> >>>>>> >>>>>> >>>>> I'm sure if you look at the OP codes on your suggestion, you'd still use >>>>> the same memory as having two separate connections open, unless you >>>>> closed one first. Thing is, opening and closing database connections has >>>>> its own overheads. >>>>> >>>>> >>>>> Ash >>>>> www.ashleysheridan.co.uk >>>>> >>>>> >>>>> >>>> How is using one connection the same as having 2 open? You just change >>>> databases if you want to, or use the fully qualified table name >>>> (database.table) in your query. What extra overhead is there in that? >>>> >>>> Thank you, >>>> Micah Gersten >>>> >>> Having one connection open at a time has only the overhead of the >>> opening and closing of connections. As far as I know, you can't have two >>> databases open on one connection, but please correct me if I am wrong. >>> >>> >>> Ash >>> www.ashleysheridan.co.uk >>> >>> >> With MySQL, you can change the DB from query to query with >> mysql_select_db. The alternative as I stated in my last post is to use >> the fully qualified table name (database.table) in your query. MySQL >> doesn't care which DB you have open if you do that. In both of these >> cases, the same connection is used. >> >> Thank you, >> Micah Gersten >> > And you can say for certain that there's no extra overhead involved? > > > Ash > www.ashleysheridan.co.uk > With the fully qualified table name I can say for sure. I can only hope with the mysql_select_db that it just issues a use dbName command. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Chris
yntax: db.tablename.fieldname so that'd save switching db's too. Of course that depends on the same user having access to both db's, but that's the same as doing a select_db anyway. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing

Re: [PHP] General Mysql Connect

2008-10-29 Thread Waynn Lue
> > With MySQL, you can change the DB from query to query with > mysql_select_db. The alternative as I stated in my last post is to use > the fully qualified table name (database.table) in your query. MySQL > doesn't care which DB you have open if you do that. In both of these > cases, the same

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
;> For arguments sake, open 1000 database connections, all to different > >>>>> databases. Now tell me that each connection doesn't have a footprint. At > >>>>> the end of the day, whist it may seem fine for a script to have 2 > >>>>> connections open, the least open the better. Imagine 100 users > >>>>> simultaneously accessing a page that opens 10 connections. Suddenly you > >>>>> have 200 connections open, not a great idea. If you could amalgamate the > >>>>> db's, you'd have half as many connections open. > >>>>> > >>>>> If you're still having trouble understanding why having two database > >>>>> connections open is bad (regardless of whether they are on the same > >>>>> server or not) the I think web development is the wrong career for you. > >>>>> > >>>>> > >>>>> Ash > >>>>> www.ashleysheridan.co.uk > >>>>> > >>>>> > >>>>> > >>>> The answer in your case is not to combine the DBs necessarily, but > >>>> consolidate the connections used. Like I said, you can use 2 MySQL DBs > >>>> on the same connection in PHP. There's no reason to sacrifice > >>>> separation of data. > >>>> > >>>> Thank you, > >>>> Micah Gersten > >>>> > >>>> > >>> I'm sure if you look at the OP codes on your suggestion, you'd still use > >>> the same memory as having two separate connections open, unless you > >>> closed one first. Thing is, opening and closing database connections has > >>> its own overheads. > >>> > >>> > >>> Ash > >>> www.ashleysheridan.co.uk > >>> > >>> > >> How is using one connection the same as having 2 open? You just change > >> databases if you want to, or use the fully qualified table name > >> (database.table) in your query. What extra overhead is there in that? > >> > >> Thank you, > >> Micah Gersten > > Having one connection open at a time has only the overhead of the > > opening and closing of connections. As far as I know, you can't have two > > databases open on one connection, but please correct me if I am wrong. > > > > > > Ash > > www.ashleysheridan.co.uk > > > With MySQL, you can change the DB from query to query with > mysql_select_db. The alternative as I stated in my last post is to use > the fully qualified table name (database.table) in your query. MySQL > doesn't care which DB you have open if you do that. In both of these > cases, the same connection is used. > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > And you can say for certain that there's no extra overhead involved? Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
y seem fine for a script to have 2 >>>>> connections open, the least open the better. Imagine 100 users >>>>> simultaneously accessing a page that opens 10 connections. Suddenly you >>>>> have 200 connections open, not a great idea. If you could amalgamate the >>>>> db's, you'd have half as many connections open. >>>>> >>>>> If you're still having trouble understanding why having two database >>>>> connections open is bad (regardless of whether they are on the same >>>>> server or not) the I think web development is the wrong career for you. >>>>> >>>>> >>>>> Ash >>>>> www.ashleysheridan.co.uk >>>>> >>>>> >>>>> >>>> The answer in your case is not to combine the DBs necessarily, but >>>> consolidate the connections used. Like I said, you can use 2 MySQL DBs >>>> on the same connection in PHP. There's no reason to sacrifice >>>> separation of data. >>>> >>>> Thank you, >>>> Micah Gersten >>>> >>>> >>> I'm sure if you look at the OP codes on your suggestion, you'd still use >>> the same memory as having two separate connections open, unless you >>> closed one first. Thing is, opening and closing database connections has >>> its own overheads. >>> >>> >>> Ash >>> www.ashleysheridan.co.uk >>> >>> >> How is using one connection the same as having 2 open? You just change >> databases if you want to, or use the fully qualified table name >> (database.table) in your query. What extra overhead is there in that? >> >> Thank you, >> Micah Gersten > Having one connection open at a time has only the overhead of the > opening and closing of connections. As far as I know, you can't have two > databases open on one connection, but please correct me if I am wrong. > > > Ash > www.ashleysheridan.co.uk > With MySQL, you can change the DB from query to query with mysql_select_db. The alternative as I stated in my last post is to use the fully qualified table name (database.table) in your query. MySQL doesn't care which DB you have open if you do that. In both of these cases, the same connection is used. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
er. Imagine 100 users > >>> simultaneously accessing a page that opens 10 connections. Suddenly you > >>> have 200 connections open, not a great idea. If you could amalgamate the > >>> db's, you'd have half as many connections open. > >>> > >>> If you're still having trouble understanding why having two database > >>> connections open is bad (regardless of whether they are on the same > >>> server or not) the I think web development is the wrong career for you. > >>> > >>> > >>> Ash > >>> www.ashleysheridan.co.uk > >>> > >>> > >> The answer in your case is not to combine the DBs necessarily, but > >> consolidate the connections used. Like I said, you can use 2 MySQL DBs > >> on the same connection in PHP. There's no reason to sacrifice > >> separation of data. > >> > >> Thank you, > >> Micah Gersten > >> > > I'm sure if you look at the OP codes on your suggestion, you'd still use > > the same memory as having two separate connections open, unless you > > closed one first. Thing is, opening and closing database connections has > > its own overheads. > > > > > > Ash > > www.ashleysheridan.co.uk > > > > How is using one connection the same as having 2 open? You just change > databases if you want to, or use the fully qualified table name > (database.table) in your query. What extra overhead is there in that? > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > Having one connection open at a time has only the overhead of the opening and closing of connections. As far as I know, you can't have two databases open on one connection, but please correct me if I am wrong. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
;> connections open, the least open the better. Imagine 100 users >>> simultaneously accessing a page that opens 10 connections. Suddenly you >>> have 200 connections open, not a great idea. If you could amalgamate the >>> db's, you'd have half as many connections open. >>> >>> If you're still having trouble understanding why having two database >>> connections open is bad (regardless of whether they are on the same >>> server or not) the I think web development is the wrong career for you. >>> >>> >>> Ash >>> www.ashleysheridan.co.uk >>> >>> >> The answer in your case is not to combine the DBs necessarily, but >> consolidate the connections used. Like I said, you can use 2 MySQL DBs >> on the same connection in PHP. There's no reason to sacrifice >> separation of data. >> >> Thank you, >> Micah Gersten >> > I'm sure if you look at the OP codes on your suggestion, you'd still use > the same memory as having two separate connections open, unless you > closed one first. Thing is, opening and closing database connections has > its own overheads. > > > Ash > www.ashleysheridan.co.uk > How is using one connection the same as having 2 open? You just change databases if you want to, or use the fully qualified table name (database.table) in your query. What extra overhead is there in that? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
ave a footprint. At > > the end of the day, whist it may seem fine for a script to have 2 > > connections open, the least open the better. Imagine 100 users > > simultaneously accessing a page that opens 10 connections. Suddenly you > > have 200 connections open, not a great idea.

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
s > simultaneously accessing a page that opens 10 connections. Suddenly you > have 200 connections open, not a great idea. If you could amalgamate the > db's, you'd have half as many connections open. > > If you're still having trouble understanding why having two database > connections open is bad (regardless of whether they are on the same > server or not) the I think web development is the wrong career for you. > > > Ash > www.ashleysheridan.co.uk > The answer in your case is not to combine the DBs necessarily, but consolidate the connections used. Like I said, you can use 2 MySQL DBs on the same connection in PHP. There's no reason to sacrifice separation of data. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
e connections, all to different databases. Now tell me that each connection doesn't have a footprint. At the end of the day, whist it may seem fine for a script to have 2 connections open, the least open the better. Imagine 100 users simultaneously accessing a page that opens 10 connections. Suddenly you have 200 connections open, not a great idea. If you could amalgamate the db's, you'd have half as many connections open. If you're still having trouble understanding why having two database connections open is bad (regardless of whether they are on the same server or not) the I think web development is the wrong career for you. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Micah Gersten
y > time (as you only have to wait for one connection to be made rather than > two) > > > Ash > www.ashleysheridan.co.uk > > Generally you want separation of data. MySQL doesn't have a problem accessing another DB on the same server with the same connection. Also, how would database convergence use less memory? . Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Ashley Sheridan
ot sure exactly how big the footprint of each connection is though) and will slightly speed up page display time (as you only have to wait for one connection to be made rather than two) Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General Mysql Connect

2008-10-29 Thread Chris
, you have no choice. No idea if it'll make much of a difference (performance wise etc) but I'd leave it as two connections. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General Mysql Connect

2008-10-29 Thread Waynn Lue
I sent an email to the mysql list, but it reminded me of a question I had for people structuring their PHP code. What's the general way that people structure their connections? Right now, I spawn off two mysql_connect calls at the top of the file that includes my database calls, using "true" for

Re: [PHP] RE: php-general Digest 19 Aug 2008 20:38:46 -0000 Issue 5633

2008-08-20 Thread Ashley Sheridan
email address is bouncing. Are there any other ways to unsubscribe? In case you haven't figured it out and you know how to read. To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- 

Re: [PHP] RE: php-general Digest 19 Aug 2008 20:38:46 -0000 Issue 5633

2008-08-20 Thread Philip Thompson
On Aug 19, 2008, at 4:18 PM, Cox, Chris wrote: Does anyone know why the unsubscribe email address is bouncing. Are there any other ways to unsubscribe? In case you haven't figured it out and you know how to read. To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Ge

[PHP] RE: php-general Digest 19 Aug 2008 20:38:46 -0000 Issue 5633

2008-08-19 Thread Cox, Chris
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 1:39 PM To: php-general@lists.php.net Subject: php-general Digest 19 Aug 2008 20:38:46 - Issue 5633 php-general Digest 19 Aug 2008 20:38:46 - Issue 5633 Topics (messages 278296 through 278362): Re: pdo compil

[PHP] Dear php-general@lists.php.net April 84% 0FF

2008-04-21 Thread php-general
Canadian Doctor Hazel Best Price On Net http://zxa.pharmstorez.com?liyws -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-04-11 Thread Daniel Brown
ote: > Your script is bust... I wrote code (even if you disregard the joke > stuff :) > > Cheers, > Rob. -- Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Unmanaged, managed, and fully-managed! -- PHP

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

2008-04-11 Thread Robert Cummings
Your script is bust... I wrote code (even if you disregard the joke stuff :) Cheers, Rob. On Fri, 2008-04-11 at 16:00 -0400, PostTrack wrote: > Posting Summary for PHP-General List > Week Ending: Friday, 11 April, 2008 > > Messages| Bytes

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

2008-04-11 Thread PostTrack
Posting Summary for PHP-General List Week Ending: Friday, 11 April, 2008 Messages| Bytes | Code | Sender +++ 295 (100%) 448940

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

2008-04-06 Thread Zoltán Németh
dle non-US characters in the message each week. At least not my account. anyway, thanks for fixing it :) greets, Zoltán Németh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-04-06 Thread Daniel Brown
haracters in the message each week. At least not my account. -- Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Unmanaged, managed, and fully-managed! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-04-06 Thread Zoltán Németh
hould be added up, no? Yes. Next week's report (and from there-on) should resolve that once and for all. By the way, I don't remember seeing you report that issue before. Just the character problems. maybe the problem didn't appear before, or I just didn't notice

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

2008-04-06 Thread Daniel Brown
dicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Unmanaged, managed, and fully-managed! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-04-06 Thread Zoltán Németh
PostTrack [Dan Brown] írta: > 10 (3.4%) 33529 (8.5%) Zoltán Németh alterationx dot hu> > 1 (0.3%) 2502(0.6%) Zoltán Németh alterationx dot hu> what's the difference? they should be added up, no? greets, Zoltán Németh -- PHP General M

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

2008-04-04 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 4 April, 2008 Messages| Bytes | Sender ++-- 295 (100%) 393216 (100%) EVERYONE 26 (8.8

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

2008-03-29 Thread Zoltán Németh
hey I made into the top five! celebrating this, now I top post :D ;) greets, Zoltán Németh 2008. 03. 28, péntek keltezéssel 16.00-kor PostTrack [Dan Brown] ezt írta: > Posting Summary for PHP-General List > Week Ending: Friday, 28 March, 2008 > > Messages

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

2008-03-28 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 28 March, 2008 Messages| Bytes | Sender ++-- 311 (100%) 850774 (100%) EVERYONE 18 (5.8

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

2008-03-21 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 21 March, 2008 Messages| Bytes | Sender ++-- 349 (100%) 782080 (100%) EVERYONE 27 (7.7

Re: [PHP] General use of rewrite / redirect

2008-03-19 Thread Stut
ing from browser configuration to badly implemented caches. There's not a lot you can do about them beyond making sure your expiry headers are working properly with the major browsers. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-19 Thread Per Jessen
ers. Same here - I am just wondering about the need for the conditional GET then. What makes the browser want to revalidate an object when it has a valid (=unexpired) copy cached? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-19 Thread Stut
a long time into the future. We use a year on all our images, css and js files and it's lead to a drop of ~40% in traffic to the static servers. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-19 Thread Per Jessen
03 redirect. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-19 Thread Per Jessen
I rarely see HEAD requests. I see lots of conditional GETs instead. BTW, why does the browser do this for objects it has already cached? (assuming they're fresh/not expired) /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Nathan Nobbe
On Tue, Mar 18, 2008 at 9:45 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: > Take for instance Drupal (which I use as an example because I'm a core dev > for > it). thats pretty cool. > I will say in general you should not ever have more than one redirect > chained > together. While there may

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Larry Garfield
ot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Larry Garfield
is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Nathan Nobbe
im sorry i havent read through all the replies, but i have read through several of them. i essentially agree w/ Aschwin here. redirects have been the bane of my existence in several source bases ive worked on. to borrow a phrase (read in closures article mentioned in another thread) they really

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Stut
een a long day. Etc. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Per Jessen
be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Thijs Lensselink
ut if you submit a form. There must be a action behind it .. right? So you either reload the page, use header() or some other method. The next page needs to be loaded. And so will CSS, JS, images. -- Aschwin Wesselius /'What you would like to be done to you, do that to the other'/

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Stut
user reloads that page you'll process the form again, which could have any number of nasty effects from creating a duplicate row in the database to charging a credit card again. It also causes a potentially confusing confirmation request to be displayed to the user. -Stut -- http:

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Stut
er from getting the confusing popup and it means you don't need to track whether a form has been posted yet. If your application is well-architected you shouldn't need to worry about performance. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Jason Pruim
list 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Jason Pruim
rue; if($formsubmitted = true){ Thank you for giving the bad guys your credit card number hahahahahah! }else{ echo <<Give me your credit card number or I'll force you to eat raw spam all day! } Or something like that :) /Per Jessen, Zürich -- PHP General Mailing List (h

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Aschwin Wesselius
Per Jessen wrote: header(location) mechanisms do come with a very huge disadvantage if you don't use them with caution. Requests are reinitialised, libraries loaded (again), DB connections setup/checked again, session lookups are being done, log write for another request etc. That's quite an im

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Per Jessen
all sort of superfluous processing, you've got a problem, but you solve that by getting rid of all that superfluous code (in the 303 page). /Per Jessen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Per Jessen
" message, I'd still do a 303, but use $_SESSION to indicate that the user needs a "thank you" message displayed. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Per Jessen
ff of > performance against the ease of just redirecting to another URL just > to be sure a user get's to the right destination? My typical setup for a form-page probably looks like this: if ( $_POST ) { // do POST processing header(303 thankyou.html). exit } //

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Per Jessen
27;m having difficulties following you - a plain 303 redirect to a "Thank you" page shouldn't cause all of that. It's an HTTP reply with the 303 and the new URL, followed by a single URL request from the browser. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread Aschwin Wesselius
jeffry s wrote: Requests are reinitialised, libraries loaded (again), DB connections setup/checked again, session lookups are being done, log write for another request etc. i don't see anything wrong with this since that is the way it is. whether you redirect or not, the script will do DB

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread jeffry s
On Tue, Mar 18, 2008 at 9:22 PM, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > Per Jessen wrote: > > Yes, that's a very typical setup. When the form is processed, you send > > a 303 redirect to the "Thank you" page. That way, if the user hits > > the "back" arrow, he's taken back to the form UR

  1   2   3   4   5   6   7   8   9   10   >