View this article in ja

This is a translation of this article

nokia appz 6600

SnN is written in PHP. The HTML source to be output is at least valid XHTML 1.0 Transitional.

Recently I solved a problem that was bothering me. When I test test site with HTML Validator, the HTML source will come out with a session ID that looks like "PHPSESSID=..." if I use "Validate by URL" and let the validator pick up the source. It's ok, but the problem is that the separation code before PHPSSID is "&", and not "&", and it causes HTML Validator to complain that this is not a valid HTML.

If you write

arg_separator.output = "&"

it will change this separation code to "&".

However, some internet service providers do not allow you to locally provide php.ini. In this case you can write

ini_set(arg_separator.output, "&");

at the begining of the program, and it will configure at the run time.




Posted by DAIGO on Wed, May 17, 2006, 15:57 Permalink

Article category: PHP
Tags: html validator

Web pages that link to this article

Comments on this post:


There is not a comment on this article yet.




Post your comment:



Your name


E-mail (optional, won't be shown)


URL (optional)


Subject


Content (some HTML tags are OK)

veri image
Please enter the letters you see above: Language: