php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13613 problems with form values set by php when session is active
Submitted: 2001-10-09 10:12 UTC Modified: 2001-10-09 10:18 UTC
From: berndkurowski at hotmail dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.6 OS: Solaris, iplanet 4.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: berndkurowski at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-10-09 10:12 UTC] berndkurowski at hotmail dot com
If I use 
<form method="post" action="<? echo $PHP_SELF; ?>" >
after I calling session_start()  (use_cookies = FALSE) the output stops after action=

The same script works without a session beeing started.

if I start a session I have to use 
<form method="post" action=<? echo $PHP_SELF; ?> name="stest">
and PHP seems to set the double quotes automatically.

The same is true for  (not using session):
<input type="Text" name="nachname" value="<?echo $nachname;?>" maxlength="10"> 
and   (using session):
<input type="Text" name="nachname" value=<?echo $nachname;?> maxlength="10">


System
 SunOS suniv2 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250

Build Date
   Oct  9 2001

Configure Command
   './configure' '--enable-trans-sid' '--with-nsapi=/opt/iplanet/web4'                                                        

Server API
   NSAPI

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-09 10:18 UTC] sniper@php.net
Please ask support questions on the appropriate mailing
lists: http://www.php.net/support.php

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC