Re: [PHP] inserting parameters into URLs dynamically

2003-03-14 Thread Hugh Danaher
Mo, "(we haven't found, in our initial research, a way to do this)" You could format your variables before they're needed in the link something like: if(isset($x)) $x_link="&x=$x"; if(isset($y)) $y_link="&y=$y"; etc. then your link would look like the following someplace.com "slug=1" is

Re: [PHP] inserting parameters into URLs dynamically

2003-03-14 Thread Tom Rogers
Hi, Saturday, March 15, 2003, 7:31:52 AM, you wrote: MR> We are looking for a way to set several key/value pairs (which will differ MR> across users) such that they will persist during the user's session and MR> be logged in the weblogs for every request that user makes. Some MR> potential

[Fwd: Re: [PHP] inserting parameters into URLs dynamically]

2003-03-14 Thread Pete James
You could use output buffering to do the rewriting for you. IF you use ob_start('my_function'); at the top of your page, where my_function is the name of a callback function This function might look like this: function my_function($buffer) { return $buffer . '?x=foo&y=bar'; } That's it.

Re: [PHP] inserting parameters into URLs dynamically

2003-03-14 Thread Ernest E Vogelsinger
At 22:31 14.03.2003, Maureen Roihl said: [snip] >- find a way for PHP to automatically tack the parameters onto the ends >of url querystrings, the same way it can do with PHPSESSIONID (we haven't >found, in our initial research, a way to do this) > >Our p