1
cosmodrum
xhtml validation - Multilang - cookie - problem
  • 2005/2/20 12:51

  • cosmodrum

  • Just popping in

  • Posts: 24

  • Since: 2004/8/30


Hi,
i try to validate my site and got this problem

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.drumlab.net%2F

please help



1000 thanxxx cosmo

2
RVirtue
Re: xhtml validation - Multilang - cookie - problem
  • 2005/2/20 14:26

  • RVirtue

  • Quite a regular

  • Posts: 246

  • Since: 2004/8/4 9


Change the & in the query string. It should be & amp; (without the space).

3
Mithrandir
Re: xhtml validation - Multilang - cookie - problem

Kind of missing the point, Richard

The query string is auto-generated when cookies are disabled... I don't know if there is something in apache/IIS or PHP config that will take care of this.

4
RVirtue
Re: xhtml validation - Multilang - cookie - problem
  • 2005/2/20 19:53

  • RVirtue

  • Quite a regular

  • Posts: 246

  • Since: 2004/8/4 9


Sorry if I missed the point, but changing the ampersand (&) in the query string is the only way I know to fix this particular XHTML validation problem.

How to do that when it's autogenerated is another question. One way might be to change PHP's arg_separator, but that may not be possible in a hosted environment. Another possibility might be to use htmlentities(urlencode($data)) where needed in the code.

5
cosmodrum
Re: xhtml validation - Multilang - cookie - problem
  • 2005/2/23 11:50

  • cosmodrum

  • Just popping in

  • Posts: 24

  • Since: 2004/8/30


hi everybody,
marcan fixed it )

Here the fix in his forum

Marcans fix

greetzzz cosmo

6
-DJNZ-
Re: xhtml validation - Multilang - cookie - problem
  • 2005/2/27 12:09

  • -DJNZ-

  • Just popping in

  • Posts: 30

  • Since: 2005/1/11


The problem with Marcan's fix is that it disables non-cookie sessions. This might not be a problem for you, but it does break tracking and counting (anonymous) users with cookies switched off. On the other hand, you might not want PHP session IDs in URLs, in which case that fix is the way to go.

The alternative to make PHP generate the XHTML compliant &PHPSESSID=etc. is to use ini_set('arg_separator.output', '&'); as described here.

7
marcan
Re: xhtml validation - Multilang - cookie - problem
  • 2005/2/28 14:10

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Thanks -DJNZ-

This is a better solution and it's the one that will be implemented in the next release !

Thanks !

8
-DJNZ-
Re: xhtml validation - Multilang - cookie - problem
  • 2005/3/8 0:03

  • -DJNZ-

  • Just popping in

  • Posts: 30

  • Since: 2005/1/11


No problem!

Of course ini_set('url_rewriter.tags', '') is sometimes desireable as well (if you don't want PHP session IDs in URLs and you don't care about sessions for users with cookies disabled). Perhaps there should be a configurable option for this, although it is not a very friendly concept for first time users.

9
xpider
Re: xhtml validation - Multilang - cookie - problem
  • 2006/5/8 23:40

  • xpider

  • Not too shy to talk

  • Posts: 150

  • Since: 2004/5/9 2


You guys ROCK!!!!!!!!!

Thank you for this to everyone involved in this thread... And special thanks to skalpa =)


xpider
Some of the best things in life truly are FREE

Xpider

XpidersWeb
XtremeFreeware
...........................................

Login

Who's Online

57 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 57


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits