[PHP] PHP lib again

2002-08-13 Thread John Wards
Sorry to bother folks again but I have a few phplib questions again. set_file() what does this do and would this be display() in smarty? set_block() this one is baffeling me...can't think what it woudl be in smarty! parse() now is this display in smarty...oh me head... p() argh is this display

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
ot;John Wards" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 13, 2002 12:58 PM > Subject: Re: [PHP] Php lib? > > > > Thanks for that rather handy! > > > > Does anyone know what the function set_var() does in template.inc

Re: [PHP] Php lib?

2002-08-13 Thread Andrey Hristov
Hi, sets the value of the var to be parsed later. HTH Andrey - Original Message - From: "John Wards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 12:58 PM Subject: Re: [PHP] Php lib? > Thanks for that rather handy! > > Doe

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
Thanks for that rather handy! Does anyone know what the function set_var() does in template.inc in phplib? I persume it has something to do with the template system.but thats as much as I have figured out!! I am going to replace the phplib template system with Smarty there is not a converter

RE: [PHP] Php lib?

2002-08-12 Thread Johnson, Kirk
> Anyone got any handy hints on how to convert scripts running > on PHP3 and > PHPlib? 1. Roughly speaking, page_open() goes to session_start(): Old: page_open(array("sess" => "my_web_Session")); New: session_start(); 2. page_close() goes away; if you don't have time to remove all those calls

[PHP] Php lib?

2002-08-12 Thread John Wards
Anyone got any handy hints on how to convert scripts running on PHP3 and PHPlib? Its doing my head in! John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-lib questions

2001-04-16 Thread Mark
Here is the script "request.php" 62 lines, 1585 characters "Repository_Session")); if (!isset($s)) { $s=0; }; $sess->register("s"); site_header("Request a Document - Document Cart"); echo 'Below is your Document Cart. Any time you request a document we will store it here. You m

Re: [PHP] php-lib questions

2001-04-12 Thread Plutarck
That sounds like a problem with the way you handle sessions. What happens is your program tries to start a session, but the page isn't sent if a session isn't started. It still shouldn't reply with a 404 though...search your script for header and see if you send any. Once someone has the session

[PHP] php-lib questions

2001-04-12 Thread Mark
I have a php script which is like a modified shopping cart. It starts with a search that calls a perl script ( I know, but it's the only way I can include certain proprietary functionality I need). This returns a results set of documents that can be either downloaded or requested depending on pe