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:
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
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
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
.
--
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
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
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
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
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
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
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
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
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
ne.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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.
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
--
Dasn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
/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
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
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
tags and stuff)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
:(
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
>
--
Tom Merriam
Cell: 512.639.5589 Home: 512.869.6401
twmerr...@gmail.com
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. :)
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
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
.
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
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
Yeah gmail is a nice thing :)
The best ever mailing system world has ever seen until now.
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
, 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
--
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
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
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
>
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
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
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
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
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
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
>
> 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
;> 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
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
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
;> 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
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.
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
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
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
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
, 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
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
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
---
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
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
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
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
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
Posting Summary for PHP-General List
Week Ending: Friday, 11 April, 2008
Messages| Bytes | Code | Sender
+++
295 (100%) 448940
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
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
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
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
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
Posting Summary for PHP-General List
Week Ending: Friday, 4 April, 2008
Messages| Bytes | Sender
++--
295 (100%) 393216 (100%) EVERYONE
26 (8.8
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
Posting Summary for PHP-General List
Week Ending: Friday, 28 March, 2008
Messages| Bytes | Sender
++--
311 (100%) 850774 (100%) EVERYONE
18 (5.8
Posting Summary for PHP-General List
Week Ending: Friday, 21 March, 2008
Messages| Bytes | Sender
++--
349 (100%) 782080 (100%) EVERYONE
27 (7.7
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
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
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
03 redirect.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
ot dispossess himself of it." -- Thomas
Jefferson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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'/
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:
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
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
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
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
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
" 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
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
}
//
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
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
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 - 100 of 1641 matches
Mail list logo