php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4292 Automatic session propagation produces garbage
Submitted: 2000-05-02 10:27 UTC Modified: 2000-08-01 09:34 UTC
From: frip at bigfoot dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Release Candidate 1 OS: AIX 4.3
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: frip at bigfoot dot com
New email:
PHP Version: OS:

 

 [2000-05-02 10:27 UTC] frip at bigfoot dot com
Consider the following script:

<form method="post" <?= my_form_action (); ?> >

If you move the method="post" string in the return string of my_form_action function, the engine produces garbage.
It seems to need the form method in order to add or not the SID for session propagation.

Here are my compilation options:

Configure command: './configure' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--prefix=/soft/php-4.0RC1' '--with-yp' '--with-sybase-ct=/soft/sybase' '--with-ldap=/soft/openldap-1.2.1' '--with-gdbm=/soft/gdbm-1.7.3' '--with-gd=/soft/gd-1.7.3' '--with-zlib=/soft/zlib-1.1.3' '--enable-sysvshm' '--enable-sysvsem' '--enable-xml' '--with-mysql=/soft/mysql-3.22.27' '--enable-trans-sid' '--disable-debug'

Greetings

Frip'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-04 23:42 UTC] hholzgra at cvs dot php dot net
is this still reproduceable with a more current version?

and if so: does it possibly depend on where in the
script the form tag is placed? does adding some whitespace
in front of it change the results you get ?
 [2000-08-01 09:34 UTC] hholzgra@php.net
trans-sid-id rewrite should fix it
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 04:05:45 2022 UTC