Re: [PHP] If-statement

2001-08-29 Thread Darius Ivanauskas
if(!preg_match(/^No[123]$/,$Var)) { code } -- Darius Ivanauskas On Wed, 29 Aug 2001, [iso-8859-1] Niklas Lampén wrote: Is it possible to write this shorter: if ($Var != No1 $Var != No2 $Var != No3) { code }; Niklas -- PHP General Mailing List (http://www.php.net

Re: [PHP] Dreamweaver templates

2001-08-20 Thread Darius Ivanauskas
I think you should look at Smarty Template Engine: http://www.phpinsider.com/php/code/Smarty/ Hope this helps. Regards -- Darius Ivanauskas On Mon, 20 Aug 2001, -:-Doigy-:- wrote: Hi Folks, Can't find an answer in the archives... Can php parse DW templates? ie. I want only a small amount

Re: [PHP] How to resume session by id?

2001-08-17 Thread Darius Ivanauskas
On Thu, 16 Aug 2001, Renze Munnik wrote: On Thu, Aug 16, 2001 at 05:41:47PM +0200, Darius Ivanauskas wrote: What we have here: registering variable $Session into current session. This code works perfectly if session id is propogated normally. Bu what i need is to set session_id

[PHP] How to resume session by id?

2001-08-16 Thread Darius Ivanauskas
I'm getting session id neither from cookie, nor from GET/POST vars, but by parsing url like: http://myserver.com/script.php/session_id/blah/blah How do i resume session by given session_id? Thanks in advance. -- Darius Ivanaukas -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] How to resume session by id?

2001-08-16 Thread Darius Ivanauskas
GET/POST nor cookie. : -- Darius Ivanauskas if (session_is_registered(Session)) { /* This code is run if Session called Session is registered */ }; Hopefully this helps you out. Niklas Lampen -Original Message- From: Darius Ivanauskas [mailto:[EMAIL

RE: [PHP] How to resume session by id?

2001-08-16 Thread Darius Ivanauskas
it doesn't gets session id and starts new session :(( So i need somehow to force it to use known session_id and start session using this session_id. -- Darius Ivanauskas -Original Message- From: Darius Ivanauskas [mailto:[EMAIL PROTECTED]] Sent: 16. elokuuta 2001 18:14 To: Niklas

[PHP] parse and fatal errors don't seem to touch my handler

2001-08-08 Thread Darius Ivanauskas
Any ideas ? Regards, Darius Ivanauskas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Error Handling: How to handle fatal errors?

2001-08-06 Thread Darius Ivanauskas
control when fatal error occurs. Is there way to solve my problem. Regards, Darius Ivanauskas -- P.S. Sorry for my english, it isn't my first language .. :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED