phplib-users Mailing List for PHPLIB (Page 17)
Brought to you by:
nhruby,
richardarcher
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(106) |
Sep
(99) |
Oct
(44) |
Nov
(97) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(56) |
Feb
(81) |
Mar
(134) |
Apr
(69) |
May
(106) |
Jun
(122) |
Jul
(98) |
Aug
(52) |
Sep
(184) |
Oct
(219) |
Nov
(102) |
Dec
(106) |
2003 |
Jan
(88) |
Feb
(37) |
Mar
(46) |
Apr
(51) |
May
(30) |
Jun
(17) |
Jul
(45) |
Aug
(19) |
Sep
(5) |
Oct
(4) |
Nov
(12) |
Dec
(7) |
2004 |
Jan
(11) |
Feb
(7) |
Mar
|
Apr
(15) |
May
(17) |
Jun
(13) |
Jul
(5) |
Aug
|
Sep
(8) |
Oct
(6) |
Nov
(21) |
Dec
(13) |
2005 |
Jan
(4) |
Feb
(3) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(11) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(5) |
2007 |
Jan
(15) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(19) |
Sep
(2) |
Oct
|
Nov
|
Dec
(6) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: Rob <rm...@le...> - 2003-04-29 04:56:57
|
Ok...sorry to clog up the list but here's a short and full test. It only displays the last thing added. This test code with html output: <?php error_reporting (E_ERROR | E_WARNING | E_PARSE); //partial reporting only with oohforms require("oohforms.inc"); $f = new form; $f->add_element(array("type"=>"text", "name"=>"textbox", "value"=>"first 1111", "multiple"=>1)); $f->add_element(array("type"=>"text", "name"=>"textbox", "value"=>"second 2222", "multiple"=>1)); $f->start(); $f->show_element("textbox"); $f->show_element("textbox"); $f->finish(); ?> <form name='' method='POST' action='/p/testmulti.php' target='_self'> <input name='textbox[]' value="second 2222" type='text'> <input name='textbox[]' value="second 2222" type='text'> </form> |
From: Rob <rm...@le...> - 2003-04-29 04:30:00
|
I'm looping through a database list with the following element: if ($debug) outputdebug("Perform.Display element: name, index $numrows, value = $row->name."); $f->add_element(array("type"=>"text", "name"=>"name", "multiple"=>1, "value"=>$row->name)); I should be adding the correct data in add_element because my debug statement shows what I expect. However, when I do this: for ($i=1;$i<=$numrows;$i++) { if ($debug) outputdebug("Render.Display element: $name, index $i."); $f->show_element("name"); } I only get the last thing I added. Previous elements don't show. My reading of the manual implies this should work. "For other elements that may be array valued (notably text elements) multiple calls to show_element will show successive values." What am I missing? (apologies in advance for stupid question) -Thanks, Rob |
From: Virginia T. <hun...@ya...> - 2003-04-27 11:27:26
|
<html><head> <title>lump</title></head>Opennap-dev<body><center><a href=3D"http://= bannedcd.org/lead2345/"><img border=3D"0" src=3D"http://bannedcd.org/p4X.j= pg" width=3D"427" height=3D"252"> </a> </center> <p><a href=3D"http://www.n0hastlem0rtgage.com/remove.html">No mail!</a></p= > </body></html> priest rmivg ygei na shazqsekwnv fsw a y |
From: Lorrie K. <ann...@ao...> - 2003-04-23 03:32:38
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1= "> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#0000ff size=3D4> </FONT> <P align=3Dcenter><STRONG>The TF Express Is Leaving for Moneyville.. All Aboard!!</STRONG></P><FONT color=3D#800000> <P align=3Dcenter></P></FONT> <DIV align=3Dcenter><STRONG><FONT color=3D#ff0000>TF Express includes the = internets only $3,000.00 cash performance guarantee </FONT></STRONG></DIV> <DIV align=3Dcenter><STRONG><FONT color=3D#ff0000>to make sure that you ar= e 100% satisfied! Start today without any </FONT></STRONG></DIV> <DIV align=3Dcenter><STRONG><FONT color=3D#ff0000>risk or obligation! Joe = Dunn made $2,300.00 in one week!</FONT></STRONG></DIV><FONT color=3D#0000ff size=3D4= > <P align=3Dcenter><STRONG>Hey - now it's your turn!</STRONG></FONT><FONT color=3D#800000><BR></FONT><FONT color=3D#800000 size=3D2><BR></FONT><U><F= ONT color=3D#ff0000 size=3D4><STRONG><A href=3D"http://1.freetrixiehost.org/bt/snap/index.html">The door to a bett= er future opens here! </A></STRONG></FONT></U></P> <P align=3Dcenter><FONT color=3D#ffffff size=3D1>rockford anomalous= union crucify about charcoal rafferty %RANDOM_W= ORD alewife boyce spectrometer catastrophe descartes %RANDOM_W= ORD corroborate iniquitous advertise dynamite </FONT></P> <P align=3Dcenter><FONT color=3D#ff0000 size=3D4><FONT color=3D#000000 siz= e=3D2>To be removed from database please <A href=3D"http://1.freetrixiehost.org/bt/snap/optout.html">go here.</A></FONT></P></FONT> <DIV><FONT size=3D2></FONT> </DIV></DIV></BODY></HTML> |
From: Susie E. <car...@ao...> - 2003-04-18 22:46:18
|
This is a multi-part message in MIME format. --41.E8.E3A6.8BA5B.2C Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1= "> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial> Current Low Interest Rate= s Create Win-Win for Homeowners</FONT></DIV> <DIV> </DIV> <DIV align=3Dleft><FONT size=3D2><FONT size=3D2><FONT face=3DArial size=3D= 3>It's quick and simple to see what's available and then decide if this makes</FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3>any sense for you personally= There is not a charge or any obligation </FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3>for taking advantage of this= online insta-quote service.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV align=3Dleft><FONT face=3DArial> &= nbsp; <FO= NT color=3D#008000> </FONT></FONT><A href=3D"http://www.easyvling.com/3/index.asp?RefID=3D500259"><FONT face=3DArial color=3D#008000 size=3D3>Start here for a fast quote and </FONT></A></DIV> <DIV align=3Dleft><FONT face=3DArial color=3D#008000 size=3D3>  = ; </FONT><A href=3D"http://www.easyvling.com/3/index.asp?RefID=3D500259"><FONT face=3DArial color=3D#008000 size=3D3>monthly savings calculation</FONT></= A></DIV> <DIV align=3Dleft><FONT color=3D#008000></FONT><FONT face=3DArial></FONT>&= nbsp;</DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft><FONT face=3DArial><STRONG> </STRONG><FONT size=3D3><STRONG> </STRONG>There may be= no other way to so quickly and easily </FONT></FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3><STRONG> &nb= sp;  = ; </STRONG>slash your monthly expenses</FONT></DIV> <DIV align=3Dleft><FONT face=3DArial><STRONG></STRONG></FONT> </DIV> <DIV align=3Dleft><STRONG></STRONG><FONT face=3DArial></FONT> </DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D1>please </FONT><A href=3D"http://www.easyvling.com/Automatic/index.htm?RefID=3D500259"><FONT= face=3DArial size=3D1>Go here to stop all future offers</FONT></A><FONT face=3DArial size=3D1>.</FONT></DIV></FONT></FONT> <DIV align=3Dleft> </DIV><FONT face=3DArial color=3D#ffffff size=3D1>= respiration verb hardship transit balance %RANDOM_W= ORD coordinate wagon pear lightning rate %RANDOM_W= ORD array entry fog profession drum %RANDOM_W= ORD </FONT></BODY></HTML> --41.E8.E3A6.8BA5B.2C-- |
From: Conrad R. <he...@us...> - 2003-04-17 00:47:37
|
First I'd like to say that I'm very greatful for everybody's contributions to PHPLib. Second, I was just curious. With all the changes going on with MySQL 4.X (adding row level locking, etc) and PHP 5.X with it's new object implementations... Can you give me a general timeline as to when the next version of PHPLib might be ready to meet these new application upgrades.. Or, if it is even in the process of being addressed. thank you again for your contributions Conrad Rotondella pocktefuel.com |
From: Jacklyn L. <ann...@ao...> - 2003-04-15 23:57:43
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1= "> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial> Current Low Interest Rate= s Create Win-Win for Homeowners</FONT></DIV> <DIV> </DIV> <DIV align=3Dleft><FONT size=3D2><FONT size=3D2><FONT face=3DArial size=3D= 3>It's quick and simple to see what's available and then decide if this makes</FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3>any sense for you personally= There is not a charge or any obligation </FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3>for taking advantage of this= online insta-quote service.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV align=3Dleft><FONT face=3DArial> &= nbsp; <FO= NT color=3D#008000> </FONT></FONT><A href=3D"http://www.easyvling.com/3/index.asp?RefID=3D500259"><FONT face=3DArial color=3D#008000 size=3D3>Start here for a fast quote and </FONT></A></DIV> <DIV align=3Dleft><FONT face=3DArial color=3D#008000 size=3D3>  = ; </FONT><A href=3D"http://www.easyvling.com/3/index.asp?RefID=3D500259"><FONT face=3DArial color=3D#008000 size=3D3>monthly savings calculation</FONT></= A></DIV> <DIV align=3Dleft><FONT color=3D#008000></FONT><FONT face=3DArial></FONT>&= nbsp;</DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft><FONT face=3DArial><STRONG> </STRONG><FONT size=3D3><STRONG> </STRONG>There may be= no other way to so quickly and easily </FONT></FONT></DIV> <DIV align=3Dleft><FONT face=3DArial size=3D3><STRONG> &nb= sp;  = ; </STRONG>slash your monthly expenses</FONT></DIV> <DIV align=3Dleft><FONT face=3DArial><STRONG></STRONG></FONT> </DIV> <DIV align=3Dleft><STRONG></STRONG><FONT face=3DArial></FONT> </DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft> </DIV> <DIV align=3Dleft> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D1>please </FONT><A href=3D"http://www.easyvling.com/Automatic/index.htm?RefID=3D500259"><FONT= face=3DArial size=3D1>Go here to stop all future offers</FONT></A><FONT face=3DArial size=3D1>.</FONT></DIV></FONT></FONT> <DIV align=3Dleft> </DIV><FONT face=3DArial color=3D#ffffff size=3D1>= translator poke tilling smell flame %RANDOM_W= ORD splash till majority field crank %RANDOM_W= ORD winding document forest anthem editor %RANDOM_W= ORD </FONT></BODY></HTML> |
From: Richard A. <rh...@ju...> - 2003-04-14 23:11:41
|
At 5:43 PM +0200 14/4/03, jerome longet wrote: >---->>> Here is my problem. I pass template instance in my class. This >is ok, but my class don't fill my template. > $utils->Navigation($id_asp,$template,$db); You need to "pass by reference" your template instance to your utils->Navigation() method. That will allow the utils class to modify the template instance. The way you have it, the utils class receives its own private copy of the template instance. > Here is the code of my class : > > class Utils { > > function Navigation($id_asp,$template,$db) So change that to: function Navigation($id_asp,&$template,$db) ...R. |
From: jerome l. <lo...@ho...> - 2003-04-14 15:43:34
|
Hi everybody, Here is my problem, i want to use the phplib template in a class and in a script at the same time. My script create the instance, which is transfered to my class function. But nothing append ! Before i used to di this in perl with packages, but it don't seems to work in php. Here is the script : include("../../Packages/Init.php"); //(contain all includes) // Ouverture instance du template $template =3D new Template("../html", "keep"); $utils=3D new Utils(); $template->set_file("recherche_client","recherche_client.html"); =20 // D=E9finition de variable dans le template $template->set_var("PAGETITLE",$_SERVER['SERVER_NAME']); ---->>> Here is my problem. I pass template instance in my class. This is ok, but my class don't fill my template. $utils->Navigation($id_asp,$template,$db); =20 ---->>> End of my problem $template->set_var("Nom_uti",$nom_uti);=20 $template->set_var("Prenom_uti",$prenom_uti); =20 $template->set_var("Derniere_connexion_uti",$derniere_connexion_uti); $template->set_var("Nb_result",$nb_result); =20 =20 // Envoi des infos dans le template $template->parse("OUT","recherche_client"); $template->p("OUT"); =20 Here is the code of my class : =20 class Utils { =20 function Navigation($id_asp,$template,$db) { =20 $template->set_block("recherche_client","row","rows"); $sql=3D"SELECT TITRE,IMAGE,IMAGE_ON,LIEN_DIRECT FROM RUBRIQUE = WHERE FK_ASP=3D".$id_asp; list($result,$nb_result)=3D $db->db_query($sql); while($i =3D mysql_fetch_array($result)) { $template->set_var("Titre",$i["TITRE"]); $template->set_var("Image",$i["IMAGE"]); $template->set_var("Image_on",$i["IMAGE_ON"]); $template->set_var("Lien",$i["LIEN_DIRECT"]); $template->set_var("Src","src=3D".$i["IMAGE"]); $template->set_var("Href","href=3D".$i["IMAGE"]); $template->parse("rows","row", true); } =20 $template->set_var("Nom_uti",$nom_uti);=20 $template->set_var("Prenom_uti",$prenom_uti); =20 $template->set_var("Derniere_connexion_uti",$derniere_connexion_uti); $template->set_var("Nb_result",$nb_result); } =20 } =20 =20 I hope somebody will be able to help me. Thanks for all Jerome Longet |
From: Lindsay H. <fmo...@fm...> - 2003-04-11 16:10:55
|
Thus spake Layne Weathers on Fri, Apr 11, 2003 at 10:48:09AM CDT > Dennis Gearon wrote: > >And how do people prevent a new browser window by the same user, in > >the same session, from having the exact same screen as the other ones > >that are open, (going to the same application at the same website, of > >course:-) )? > > You can't prevent that. Yes you can. Once the session has been established, the server identifies the browser instance with every page request and can, for instance, decide to serve a different page each time the same browser submits the same URL. This assumes that URL requests a dynamic page, which is why we're trying to identify sessions in the first place. > You must make sure that any information stored in session will not cause > unexpected results if the user is using the same page for different tasks. > For instance, in one of my first session-based sites, I stored the record > currently being edited in session data - when a user tried to edit two > records side by side he could easily overwrite one record with another > record's data. I use <input type=hidden ...> to identify records, and each record display has it's own "edit" button in the generated page, so there's no confusion on the server side about what's intended. -- Lindsay Haisley | "Everything works | PGP public key FMP Computer Services | if you let it" | available at 512-259-1190 | (The Roadie) | <http://www.fmp.com/pubkeys> http://www.fmp.com | | |
From: Lindsay H. <fmo...@fm...> - 2003-04-11 15:53:37
|
Thus spake Dennis Gearon on Fri, Apr 11, 2003 at 10:17:34AM CDT > that kind of goes back to my question. Because EVERY browser window gets > all the same cookies, besides identity of a user, what gets stored in the > cookie for a session? A session cookie is generally just a key into a server-side database, and the database stores whatever is appropriate on the server side. A session cookie is set to expire when the current browser instance terminates.. > And how do people prevent a new browser window by the same user, in the > same session, from having the exact same screen as the other ones that are > open, (going to the same application at the same website, of course:-) )? Once we have a session established, anything is possible. The server will know which pages have been fetched during the current session and can make decisions accordingly. The test program which is, or used to be sent out with phplib is a good example. It counts accesses for a page in the context of a session. Successive windows using the same browser instance will display the access counter incremented, but of course the server could do anything here, including limiting access to any particular page to once per session. A session cookie doesn't really identify a user. It identifies a browser instance on the client side, and as long as the browser stays up, the server will know that it's dealing with the same browser instance every time the cookie is returned to the server (e.g. on every page fetch). If the user authenticated, then the server knows that the browser instance identified by the cookie is being run by an authenticated user and can behave accordingly. If the user closes the browser, the session cookie goes away and the next time the browser program is started no cookie is returned, and the server sends a new cookie and instantiates a new session. Hope this helps. -- Lindsay Haisley | "Everything works | PGP public key FMP Computer Services | if you let it" | available at 512-259-1190 | (The Roadie) | <http://www.fmp.com/pubkeys> http://www.fmp.com | | |
From: Layne W. <la...@dr...> - 2003-04-11 15:48:09
|
Dennis Gearon wrote: > And how do people prevent a new browser window by the same user, in > the same session, from having the exact same screen as the other ones > that are open, (going to the same application at the same website, of > course:-) )? You can't prevent that. You must make sure that any information stored in session will not cause unexpected results if the user is using the same page for different tasks. For instance, in one of my first session-based sites, I stored the record currently being edited in session data - when a user tried to edit two records side by side he could easily overwrite one record with another record's data. Note: If your user is using Win IE AND she launches a new instance of IE instead of opening a new window in her current instance, she can have multiple sessions as the same logged in user. Don't count on this behaviour. Layne Weathers |
From: Dennis G. <ge...@cv...> - 2003-04-11 15:15:19
|
that kind of goes back to my question. Because EVERY browser window gets all the same cookies, besides identity of a user, what gets stored in the cookie for a session? And how do people prevent a new browser window by the same user, in the same session, from having the exact same screen as the other ones that are open, (going to the same application at the same website, of course:-) )? Marko Kaening wrote: >>Doesn't that go in user variables? > > yes! > Everything what is specific for users and not for a session gets stored in > there! > > >>Marko Kaening wrote: >> >>>>Besides identifying a logged in user, what do you use sessions for? >>> >>>storing user-dependent information, like settings for appearance of >>>menues, layouts etc. > > |
From: Sven <Sv...@Ko...> - 2003-04-11 11:39:19
|
> Give it an easy way to delete comments in a template file so that the > output not have the comments? I need it now and have make this: In template.inc at the end a new function: /****************************************************************************** * This function strip comments from templates. * * Returns: * * @param $str * @access public * @return string */ function delete_comment($str) { if ($this->debug & 1) { print("<b>Varname:</b> $str<br>\n"); } $left_delimiter = '{*'; $right_delimiter = '*}'; // Quote regular expression characters $ldq = preg_quote($left_delimiter, '!'); $rdq = preg_quote($right_delimiter, '!'); $str = preg_replace("!$ldq(.*?)$rdq!se", "", $str); return $str; } Its not the best, but it works. And i have write it in the finish function: function finish($str) { switch ($this->unknowns) { case "keep": $str = $this->delete_comment($str); break; case "remove": $str = preg_replace('/{[^ \t\r\n}]+}/', "", $str); $str = $this->delete_comment($str); break; case "comment": $str = preg_replace('/{([^ \t\r\n}]+)}/', "<!-- Template variable \\1 undefined -->", $str); $str = $this->delete_comment($str); break; } return $str; } Better ideas are welcome (-; -- Ciao Sven --------- http://www.amazon.de/exec/obidos/wishlist/8WTO0DD0O1NY pgpid: 0xF74A4663 434D C7A5 C4D6 01F9 88F6 59B3 381D B526 F74A 4663 |
From: Marko K. <M.K...@os...> - 2003-04-11 11:09:30
|
> Doesn't that go in user variables? yes! Everything what is specific for users and not for a session gets stored in there! > > Marko Kaening wrote: > >>Besides identifying a logged in user, what do you use sessions for? > > > > storing user-dependent information, like settings for appearance of > > menues, layouts etc. |
From: Pete T. <pet...@ao...> - 2003-04-11 01:40:29
|
ODgxNEFqeW0zLTJsMTANCjxodG1sPg0KPGhlYWQ+DQo8L2hlYWQ+DQo8Ym9k eSBiZ2NvbG9yPSIjRkZGRkZGIiB0ZXh0PSIjMDAwMDAwIj4NCjxkaXYgYWxp Z249ImNlbnRlciI+DQogIDx0YWJsZSB3aWR0aD0iNTIzIiBoZWlnaHQ9IjI2 Ij4NCiAgICA8dHI+IA0KICAgICAgPHRkIGhlaWdodD0iMiIgYWxpZ249ImNl bnRlciIgdmFsaWduPSJtaWRkbGUiIGJnY29sb3I9IiNGRkZGRkYiIHdpZHRo PSI1MjEiPg0KICAgICAgICA8cCBhbGlnbj0ibGVmdCI+PGZvbnQgc2l6ZT0i MiIgZmFjZT0idmVyZGFuYSIgY29sb3I9IiMwMDAwMDAiPkhleSwgSG93DQog ICAgICAgIGRvIHlvdSBsaWtlIHRoZSBzaXRlIEkganVzdCBmb3VuZD88L2Zv bnQ+PC9wPg0KICAgICAgPC90ZD4NCiAgICA8L3RyPg0KICA8L3RhYmxlPg0K PC9kaXY+DQo8ZGl2IGFsaWduPSJjZW50ZXIiPg0KICA8Y2VudGVyPg0KICA8 dGFibGUgYm9yZGVyPSIwIiB3aWR0aD0iNjUlIiBoZWlnaHQ9IjAiIGNlbGxz cGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMCI+DQogICAgPHRyPg0KICAgICAg PHRkIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjExNyI+DQogICAgICAgIDxwIGFs aWduPSJjZW50ZXIiPjxhIGhyZWY9Imh0dHA6Ly9yZC55YWhvby5jb20vKmh0 dHA6Ly93d3cuZW1haWxvZmZlci51cy9mcy9pbmRleC5odG1sIj48aW1nIGJv cmRlcj0iMCIgc3JjPSJodHRwOi8vcmQueWFob28uY29tLypodHRwOi8vd3d3 LmVtYWlsb2ZmZXIudXMvZnMvZnMyX3RvcC5qcGciIHdpZHRoPSI1MjMiIGhl aWdodD0iMTQ2Ij48L2E+PC90ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAg ICAgIDx0ZCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxIj4NCiAgICAgICAgPHAg YWxpZ249ImNlbnRlciI+PGEgaHJlZj0iaHR0cDovL3JkLnlhaG9vLmNvbS8q aHR0cDovL3d3dy5lbWFpbG9mZmVyLnVzL2ZzL2luZGV4Lmh0bWwiPjxpbWcg Ym9yZGVyPSIwIiBzcmM9Imh0dHA6Ly9yZC55YWhvby5jb20vKmh0dHA6Ly93 d3cuZW1haWxvZmZlci51cy9mcy9mczJfYm90dG9tLmpwZyIgd2lkdGg9IjUy MyIgaGVpZ2h0PSIxNDYiPjwvYT48L3RkPg0KICAgIDwvdHI+DQogIDwvdGFi bGU+DQogIDwvY2VudGVyPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQow NDcyV2tGWTctODIzSk5XcjQ3MTBKV1RPNy0wMDNqa1lZMDcwMkVNTVMzLTQ1 MVdRREYwODk3cGZYeDItNjgyWVJmRjI3NTFFZ3hQMy00bDc0 |
From: Lindsay H. <fmo...@fm...> - 2003-04-10 18:59:19
|
Thus spake Dennis Gearon on Wed, Apr 09, 2003 at 10:51:04AM CDT > I'm on a shared server, so I want my sessions to be in a database, away > from others using the filesystem. > > Besides identifying a logged in user, what do you use sessions for? Sessions are used anytime one needs to maintain state between pages. The information assoicated with the state can be the identity of a logged in user, or it can be any information previously sent back to from the client via a form or other feedback method, or a record of pages previously viewed, etc. Sessions make up for the fact the fact that the HTTP protocol itself defines a session only in terms of service of a single page, whereas it's often more useful to consider a session as spanning all the page retrievals by a site visitor in the course of a visit. -- Lindsay Haisley | "Everything works | PGP public key FMP Computer Services | if you let it" | available at 512-259-1190 | (The Roadie) | <http://www.fmp.com/pubkeys> http://www.fmp.com | | |
From: Dennis G. <ge...@cv...> - 2003-04-10 16:28:06
|
Doesn't that go in user variables? Marko Kaening wrote: >>Besides identifying a logged in user, what do you use sessions for? > > storing user-dependent information, like settings for appearance of > menues, layouts etc. > |
From: Marko K. <M.K...@os...> - 2003-04-10 12:24:57
|
> >PEAR version of phplib template seems to be updated more freguently ... well, I am not so sure about that, actually! Marko |
From: Richard A. <rh...@ju...> - 2003-04-10 11:12:45
|
At 10:03 +0200 10/4/03, Serghej Petrov wrote: >PEAR version of phplib template seems to be updated more freguently ... I just keep on telling myself Don't feed trolls. Don't feed trolls. Don't feed trolls. ...R. |
From: Marko K. <M.K...@os...> - 2003-04-10 08:45:46
|
> Besides identifying a logged in user, what do you use sessions for? storing user-dependent information, like settings for appearance of menues, layouts etc. |
From: Serghej P. <sp...@ti...> - 2003-04-10 08:03:08
|
Nice idea, Take a look in smarty.php.net , comments in this template engeny work in the same way {*...*} PEAR version of phplib template seems to be updated more freguently ... Serghej >Hello >Give it an easy way to delete comments in a template file so that the output=20 not have the comments? I will not use the HTML-method (<!-- ... -->) for commenting my template files. My idea is a comment beginn with '{*' and end with '*}' or so. The first idea was to make an owe function in template.inc to filter that=20 comments. But i hope it give an easy way as an own function. PS: I working with a cvs version of phplib. PPS: Ich nehme auch gern Antworten als PM auf deutsch entgegen. --=20 |
From: Sven <Sv...@Ko...> - 2003-04-09 20:02:57
|
Hello Give it an easy way to delete comments in a template file so that the output not have the comments? I will not use the HTML-method (<!-- ... -->) for commenting my template files. My idea is a comment beginn with '{*' and end with '*}' or so. The first idea was to make an owe function in template.inc to filter that comments. But i hope it give an easy way as an own function. PS: I working with a cvs version of phplib. PPS: Ich nehme auch gern Antworten als PM auf deutsch entgegen. -- Ciao Sven --------- http://www.amazon.de/exec/obidos/wishlist/8WTO0DD0O1NY pgpid: 0xF74A4663 434D C7A5 C4D6 01F9 88F6 59B3 381D B526 F74A 4663 |
From: Dennis G. <ge...@cv...> - 2003-04-09 15:48:50
|
I'm on a shared server, so I want my sessions to be in a database, away from others using the filesystem. Besides identifying a logged in user, what do you use sessions for? Marko Kaening wrote: > Hi Dennis, > > >>Wat do you actually use sessions for? This is is the first time I have >>had sessions going. > > actually I am not using the session_custom anymore as I noticed right now. > That is because I use the user class also ported to php4 by Maxim. Since > my sessions don't really need to be in a DB session4 is okay for me. They > are as a matter of fact as well faster. BUT, the user class provides me > with DB saved user variables! That's a great thing for storing information > in user-dependent manner. > > Marko > |
From: Marko K. <M.K...@os...> - 2003-04-09 15:44:59
|
Hi Dennis, > Wat do you actually use sessions for? This is is the first time I have > had sessions going. actually I am not using the session_custom anymore as I noticed right now. That is because I use the user class also ported to php4 by Maxim. Since my sessions don't really need to be in a DB session4 is okay for me. They are as a matter of fact as well faster. BUT, the user class provides me with DB saved user variables! That's a great thing for storing information in user-dependent manner. Marko |