Reply to Re: mysqli connections and oop

Your name:

Reply:


Posted by Jerry Stuckle on 01/24/07 17:12

Schmidty wrote:
>
> Thanks Erwin
>
> The Google Groups editor places your reponse at the top when making a
> reply. I went ahead posted at the bottom for you...
>
> I understand that HTTP is stateless and I have been using sessions
> variables and understand that you can't carry a database connection
> through either one. I was confused on what happens with an
> $_SERVER['HTTP_SELF'] in a script. What I meant by "doing a
> $_SERVER['PHP_SELF'] in a function" is having a page echoed in a
> function and having the 'action' of that page execute a
> $_SERVER['HTTP_SELF']. Does it end a mysqli connection even though you
> have not exited the script? Your explanation that $_SERVER['PHP_SELF']
> is just a string that contains the script that is being executed makes
> sense. I wasn't sure if the connection was being terminated by the
> $_SERVER['HTTP_SELF'] variable. Thanks for the help in understanding
> this. :)
>
> Schmidty
>

Hi, Schmidty,

Yes, Google Groups does that. But then some groups actually prefer top
posting. And you can't make everyone happy :-). This one happens to
like bottom posting (and so do I).

When you say the "action of that page..." do you mean via a FORM tag?
Or a metatag, or what?

But in either case no, actually using $_SERVER['PHP_SELF'] is no
different than any other string.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация