- From: Robin Daugherty <robin@robindaugherty.net>
- Date: Mon, 31 Dec 2007 21:14:47 -0700
- To: Ernest Schloesser <ernest@lochmuehle.net>
- Cc: www-validator@w3.org
The reason that you are seeing different output from PHP is that the validator does not support cookies. Because it does not support cookies, PHP automatically alters all links to include the session ID. When you use Firefox with cookies enabled, PHP does not alter the links. Try disabling cookies in Firefox to get the same result. For more information, see http://php.net/manual/en/ref.session.php Robin Daugherty On Dec 29, 2007, at 5:05 PM, Ernest Schloesser wrote: > > Hello, > > here is my problem. The website was valid for a long time. Suddenly, > all links show errors. > As all programmers do, I also claim: I changed nothing! > What I found is that the source code as displayed by the validator > is different from the source-code that I see in firefox. > > Here is a snippet of what the validator sees: > # <body> > # <div class="topmenu"><table><tr> > # <td style="width:9.6em;"><a href="index.php? > PHPSESSID=0af81ccd17c3e6deba81ef66ebac5c2b">Home</a> </td> > # <td style="width:9.6em;"><a href="ueberuns.php? > PHPSESSID=0af81ccd17c3e6deba81ef66ebac5c2b">Über uns</a> </td> > > Here is what I see in firefox: > <body> > <div class="topmenu"><table><tr> > <td style="width:9.6em;"><a href="index.php">Home</a> </td> > <td style="width:9.6em;"><a href="ueberuns.php">Über uns</a> </ > td> > > My PHP code that produces this snippet: > function MB_Layout() > { > echo "\n<body>\n"; > echo '<div class="topmenu">'; > echo '<table>'; > echo '<tr>'; > echo "\n"; > echo '<td style="width:9.6em;"><a href="index.php">Home</a> </ > td>'; > echo "\n"; > echo '<td style="width:9.6em;"><a href="ueberuns.php">Über uns</a> > </td>'; > echo "\n"; > > The url of the website that I have the problem with: > www.dasmassband.de > > where do these sessionIDs come from? > > Please help!! > > > Greetings. > > Ernest Schlösser > >
Received on Tuesday, 1 January 2008 04:15:04 UTC