Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
Thank you! 8 1167 sh************@gmail.com a écrit :
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
Thank you!
why you do not use use $_SESSION['PHPSESSID'] ????
On Dec 11, 9:25 pm, Guillaume BASSINET <kan...@gmail.comwrote:
showandbesh...@gmail.com a écrit :
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
Thank you!
why you do not use use $_SESSION['PHPSESSID'] ????
Because I do not know what is it. But if you think it can help me I
will learn it. sh************@gmail.com a écrit :
On Dec 11, 9:25 pm, Guillaume BASSINET <kan...@gmail.comwrote:
>showandbesh...@gmail.com a écrit :
>>Hi, My php code generates the following line: <input type="hidden" name="PHPSESSID" value="36e197f92bsd34df4a6a20dkajkf10b4e4" /> Because of this line I cannot validate my page as HTML 4.01 strict (since the input tag is ended with "/>"). I do not know how to force my code NOT to write the hidden-input-tag in this way. It is important to mention that this line is generated automatically. In other words, in my php code I do not have a line which is intended to write the above shown problematic line (I think that php writes this line because I use session). Thank you!
why you do not use use $_SESSION['PHPSESSID'] ????
Because I do not know what is it. But if you think it can help me I
will learn it.
can you send me your doctype?
and if you use /it's xhtml, not html strict
<sh************@gmail.comwrote in message
news:cd**********************************@e25g2000 prg.googlegroups.com...
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
Is it possible that you are using ampersand in your form.
Example:
if you are using this:
<form action="index.php?id=1&cat=2" method="POST">
use this:
<form action="index.php?id=1&cat=2" method="POST">
If this doesn't help here is some other stuff to read: http://www.w3.org/QA/2005/04/php-session
Best of luck,
Zvonko
On Wed, 12 Dec 2007 03:15:19 +0100, <sh************@gmail.comwrote:
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
ini_set('session.use_trans_sid',0);
--
Rik Wasmus
..oO(sh************@gmail.com)
>My php code generates the following line: <input type="hidden" name="PHPSESSID" value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict (since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag in this way.
http://www.php.net/manual/en/ref.ses...-rewriter.tags
Micha
On Dec 12, 6:39 am, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Wed, 12 Dec 2007 03:15:19 +0100, <showandbesh...@gmail.comwrote:
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
ini_set('session.use_trans_sid',0);
--
Rik Wasmus
It means that my pages will not work if user's browser does not
support cookies?
On Dec 12, 6:39 am, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Wed, 12 Dec 2007 03:15:19 +0100, <showandbesh...@gmail.comwrote:
Hi,
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
ini_set('session.use_trans_sid',0);
--
Rik Wasmus
I put ini_set('session.use_trans_sid',false); in the first line of my
php source. But it does not prevent php from the writing the SID in
the hidden variables. Why? From the other hand, the usage of
the .htaccess with the included "php_flag session.use_trans_sid off"
helps. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Lea |
last post by:
Hi,
I 've got a problem concerning the text alignment of my three input tags.
In IE6, the "login" and "ok" words are completely aligned on the bottom
border. Yet my padding is : 0px 0px 0px 1px;...
|
by: C Williams |
last post by:
Hi,
In a nutshell, my question is: how do i make a dll that I compile from
vb.net code register and work like one compiled as an ActiveX dll in VB6?
The IDE of my copy of visual basic.net does...
|
by: Will Pittenger |
last post by:
I have a Windows program C# .NET solution where when I update its XML
documentation, some tags are not recognized and turned into the
corresponding HTML. Those tags include <c>, <code>, <para>,...
|
by: Nathan Sokalski |
last post by:
I often use self-closing tags (such as <br/>) when creating an ASP.NET
application. However, when I enter them in Visual Studio .NET 2005, it
automatically inserts a space before the />. In most...
|
by: webrod |
last post by:
Hi,
I have some php pages with a lot of HTML code.
I am looking for a HTML validator tool (like TIDY).
TIDY is not good enough with PHP tags (it removes a lot of php code).
Do you have any...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |