Re: XSLT: Problem passing variables with PHP 4.2
| From: | Rasmus Lerdorf | Date: | Sun, 18 Aug 2002 01:02:21 +0000 |
| Subject: | Re: XSLT: Problem passing variables with PHP 4.2 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15332@lists.php.net to get a copy of this message | ||
Turn on register_globals in your php.ini file
On Sat, 17 Aug 2002, Ignatius Reilly wrote:
> Hi,
>
> Since upgrading from PHP 4.0 to 4.2, I do not manage any longer to pass parameters from the PHP
> script. The XSLT transformations is performed allright, though, but use empty string values for the
> parameters defined in the script.
>
> I tried to kludge by passing parameters in the form of string arguments:
> $xslt_args["lang"] = "<a>French</a>" ;
> and <xsl:param name="lang"
> select="document('arg:/lang0')/a"/>
> ... but here again I get a 'arg:/lang' not found error
>
> I use Apache 1.3.14 on a W2K machine
>
> Anybody has encountered the same problem?
>
> Ignatius
>