[PHP] RE: XTemplate

2002-12-01 Thread Oleg Krogius
PHP is a templating system already, don't reinvent the wheel and create
a whole new scripting language (which basically smart is - it just
requires php to work).

Regards,
Oleg

-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, December 01, 2002 9:02 AM
To: [EMAIL PROTECTED]
Subject: XTemplate

Hi All,

I'm looking for a way to seperate my HTML from my PHP and database
access
code, I pointed in the direction of XTemplate. After having had a look
at
XTemplate I'm not sure if it is current and stable under PHP 4 Is it
and
if it isn't is there something better to use?

Henry






smime.p7s
Description: application/pkcs7-signature


[PHP] RE: Cookies disabled, new session ID each click!

2002-11-03 Thread Oleg Krogius
You do not need to add any "SID" to your links. Those will be added
automatically by the php session system when needed.

-Original Message-
From: Steve Fatula [mailto:sfatula@;usa.net] 
Sent: Saturday, November 02, 2002 10:29 PM
To: [EMAIL PROTECTED]
Subject: Cookies disabled, new session ID each click!

I posted this but not sure Google works, so using my own account as it 
did not show up yet.

I am fairly new to PHP, and am running a shopping cart app written in 
PHP. Most people using this cart do not have this issue, but I do!

I have boiled the program down to a few lines, and it doesn't work. When

you click on the link in the code, it gives you a session ID. Then, when

you click again, it goes away. The SID appears to be blank every other
time.

Why would that be? I am using PHP 4.2.0 and 4.2.2, BSD and Linux, and 
Apache 1.3.20 something. Two different hosts. Same result. Client is 
IE5.5 with cookies disabled, running on NT. New session file is 
generated even though one already existed. This happens every other 
click as SID is blank every other click.

Please help me understand what the issue is.

Steve






Test Page


http://linux.office.home/catalog/default_test.php?'

. SID . '">link to me'; ?>







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php