Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post...

From: Date: Wed, 12 Mar 2003 15:46:49 +0000
Subject: Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post...
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8580@lists.php.net to get a copy of this message
Paul Lockaby wrote: > Joscha Feth wrote: >> Paul Lockaby wrote: >> >>> Try this: $HTTP_POST_VARS =& $_POST >> >> >> I know - just try it and you will see it does not work! >> > > Actually, I did just try that and it did work. Are you sure that > you're including the ampersand (&) after the equal sign (=)? I am not saying the code you posted does not work, it is just I use this function on my $_* arrays http://dev.feth.com/PHP/my_magic_quotes.phps and if I use =& Smarty seems to ignore that, because in the compiled template no reference is used. greets, Joscha

« previous php.smarty.general (#8580) next »