[pmwiki-users] Print variables collected with Build Forms from $_SESSION to a wiki page
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 4 15:02:26 CDT 2005
On Thu, Aug 04, 2005 at 03:17:13PM +0000, François Bekaert wrote:
> So, I wanted in the Step2 wiki page to have access to the values stored
> previously. I've tried a lot of things but nothing is working...
>
> - addind start_session() in test.php
> - make the redirection with a meta refresh
>
> doesn't arrange the problem...
>
> How does I write $_SESSION['UserName'] in the wikipage to be replaced by his
> value ?
Sounds to me like you need a custom markup:
Markup('{$UserName}', '{$var}',
"/{\\\$UserName}/",
$_SESSION['UserName']);
Then the {$UserName} markup can be used in the Step2 page to display
the value of $_SESSION['UserName'].
Pm
More information about the pmwiki-users
mailing list