RE: [PHP] Performance

2001-12-19 Thread Kundiger, Rick
button. Rick -Original Message- From: Ron Jamison [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 8:00 AM To: markus|lervik Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Performance When working with normal connections i.e. non-persistent months ago, using what must've been PHP 4.0.1

RE: [PHP] Performance

2001-12-14 Thread Jonathan Hilgeman
]] Sent: Thursday, December 13, 2001 3:00 PM To: markus|lervik Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Performance When working with normal connections i.e. non-persistent months ago, using what must've been PHP 4.0.1 or .2, I had some similar experiences. In a number of my more lengthy scripts I

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
On Thu, 2001-12-13 at 19:18, Prottoss wrote: Actually unless this has been changed, when your php script terminates php automatically closes any mysql connections opened with mysql_connect(). I've noticed that, and up 'till now I haven't had a clue as to where the problem

RE: [PHP] Performance

2001-12-13 Thread Ron Jamison
. HTML ? echo $PHP_SELF ? /HTML HTML ?=$PHP_SELF? /HTML -Original Message- From: markus|lervik [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Performance On Thu, 2001-12-13 at 19:18, Prottoss wrote: Actually unless this has

RE: [PHP] Performance

2001-12-13 Thread markus|lervik
On Thu, 2001-12-13 at 22:16, Ron Jamison wrote: I'm fairly sure there's no difference in performance when using PHP tags mixed with HTML blocks as you are doing. Think of it as PHP knowing that it should send everything not in ? ? tags directly to the browser. Like an echo or a print, but

Re: [PHP] Performance

2001-12-13 Thread Etienne Marcotte
what?? that is a joke? I mean disconnectiong at every single little block ending? I just can't beleive it, probably you can put that in an inc file for connection, call the connect at the beginning of the script, and call disconnection at the end. It's impossible that you have to reconnect

RE: [PHP] Performance

2001-12-13 Thread Ravi Raman
PROTECTED] Subject: RE: [PHP] Performance On Thu, 2001-12-13 at 22:16, Ron Jamison wrote: I'm fairly sure there's no difference in performance when using PHP tags mixed with HTML blocks as you are doing. Think of it as PHP knowing that it should send everything not in ? ? tags directly

RE: [PHP] Performance [Slightly OT]

2001-12-13 Thread Joe Kaiping
: Thursday, December 13, 2001 1:30 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Performance On Thu, 2001-12-13 at 22:16, Ron Jamison wrote: I'm fairly sure there's no difference in performance when using PHP tags mixed with HTML blocks as you are doing. Think of it as PHP knowing

RE: [PHP] Performance

2001-12-13 Thread Johnny Withers
c. 601.209.4985 -Original Message- From: markus|lervik [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 2:30 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Performance On Thu, 2001-12-13 at 22:16, Ron Jamison wrote: I'm fairly sure there's no difference in performance when

RE: [PHP] Performance

2001-12-13 Thread Jonathan Hilgeman
ends. - Jonathan -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:13 PM To: markus|lervik Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Performance what?? that is a joke? I mean disconnectiong at every single little block ending? I just

Re: [PHP] Performance

2001-12-13 Thread Fournier Jocelyn [Presence-PC]
] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 9:29 PM Subject: RE: [PHP] Performance On Thu, 2001-12-13 at 22:16, Ron Jamison wrote: I'm fairly sure there's no difference in performance when using PHP tags mixed with HTML blocks as you are doing. Think of it as PHP knowing

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
On Thu, 2001-12-13 at 23:56, Fournier Jocelyn [Presence-PC] wrote: Hi, You absolutely don't have to reconnect to the database each time a PHP-block ends ! (it would be completely awfull !!). Don't you forget to specify the mysql link in you 'mysql_query' ?? Nope, I always specify the

Re: [PHP] Performance

2001-12-13 Thread Fournier Jocelyn [Presence-PC]
] To: Fournier Jocelyn [Presence-PC] [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 11:15 PM Subject: Re: [PHP] Performance On Thu, 2001-12-13 at 23:56, Fournier Jocelyn [Presence-PC] wrote: Hi, You absolutely don't have to reconnect to the database each time a PHP-block

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
On Fri, 2001-12-14 at 00:29, Fournier Jocelyn [Presence-PC] wrote: Yes, If you have a submit button or if you reload the page, the link is closed, excepted if you are using mysql_pconnect. (be aware of the timeout with mysql_pconnect - wait_timeout parameter in the my.cnf file - ) Jocelyn

RE: [PHP] Performance

2001-12-13 Thread Ron Jamison
PROTECTED]] Sent: Thursday, December 13, 2001 2:16 PM To: Fournier Jocelyn [Presence-PC] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Performance On Thu, 2001-12-13 at 23:56, Fournier Jocelyn [Presence-PC] wrote: Hi, You absolutely don't have to reconnect to the database each time a PHP-block ends

Re: [PHP] Performance

2001-12-13 Thread Prottoss
On November 13, 2001 12:05 pm, René Fournier wrote: Is it true that mixing HTML and PHP--switching back and forth with ?php ? tags--slows down performance? (I'm using PHP4.) Is it better to echo output than to drop out of PHP mode? And concerning database connections, my ISP asks that I