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
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
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
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
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
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
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]
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
8 matches
Mail list logo