php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #4189 An variable that will allway be pass with urls
Submitted: 2000-04-19 17:57 UTC Modified: 2000-07-31 23:01 UTC
From: wico at cnh dot nl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (19/04/2000) OS: linux
Private report: No CVE-ID: None
 [2000-04-19 17:57 UTC] wico at cnh dot nl
Hiya

it's kinda like the session story only i don't have to have variables or session stuff

the only thing i want is that i can give a (couple?) of var(s) in the php.ini that (when detected in the script) wil be given to urls on that page: (last value known)

(bad english examples are better:)

saying i put in php.ini
give_trough_urls: SID

----

<HTML>
	<A HREF=TEST>
</HTML>

will be:

<HTML>
	<A HREF=TEST>
</HTML>

----

<HTML>
	<A HREF=TEST?SID=TEST>
</HTML>

will be:

<HTML>
	<A HREF=TEST?SID=TEST>
</HTML>

----

<HTML>
	<? SID=TEST; ?>
	<A HREF=TEST>
</HTML>

will be:

<HTML>
	<A HREF=TEST?SID=TEST>
</HTML>

----

<HTML>
	<? SID=TEST; ?>
	<A HREF=TEST>
	<? SID=TEST2; ?>
	<A HREF=TEST>	
</HTML>

will be:

<HTML>
	<A HREF=TEST?SID=TEST>
	<A HREF=TEST?SID=TEST2>
</HTML>

----

call page with ?SID=TEST

<HTML>
	<A HREF=TEST>
	<? SID=TEST2; ?>
	<A HREF=TEST>
</HTML>

will be:

<HTML>
	<A HREF=TEST?SID=TEST>
	<A HREF=TEST?SID=TEST2>
</HTML>

Hope you'll get what i mean

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 23:01 UTC] waldschrott@php.net
It?s here and you?re free to use it.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 00:00:02 2026 UTC