By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

cookie and special caracters probs

P: n/a
Hello,

I've two problems with php. My spec : Windows XP SP1, KFWS 2.2.0, IE 6
SP1, PHP 4.3.3.

Web server is "KF web server", a server very very user friendly (HTML
interface), and which manage very well web security.
Link : http://www.keyfocus.net/kfws/

But it sounds like my two problems are KFWS related, except if one has
ever seen them, with another web server.

1/ a bug with cookie managing. I've spent a lot of hours setting up in
different ways IE's options or php.ini, but I can't get the "auto
increment" working under cookies.

Exemple :

<?php $nb_visites++;
SetCookie("Visitors", $nb_visites, time()+365 * 24 * 3600);
?>

Looking everywhere about this kind of bug (since according the php
manual, it has to work), I found nothing, so I guess it's KFWS
related.

2/ KFWS seems to cannot handle the special caracters like "\n", "\t",
"\r" and understand these ones as spaces.

Can you help me ?
--
Psykotik.

Spammator : to email me, just replace "nospam" by "ch"
Jul 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.