Date: 01/10/01
- Next message: Max A. Derkachev: "Re: [phplib] Object registration as a session variable"
- Previous message: dennis: "[phplib] error in db_oci8.inc"
- In reply to: Mark Heintz PHP Mailing Lists: "[phplib] template: / in varname"
- Next in thread: Mark Heintz PHP Mailing Lists: "Re: [phplib] template: / in varname"
- Reply: Mark Heintz PHP Mailing Lists: "Re: [phplib] template: / in varname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Mark,
Tuesday, January 09, 2001, 11:32:42 PM, you wrote:
MHPML> I'm having a problem replacing varnames in templates that include a
MHPML> slash ( / ). For example:
$template->>set_var('price__A/T', 'foobar');
MHPML> Results in {price__A/T} being replaced by a null value. I've tried
MHPML> escaping the slash, but got the same result. I've checked the docs and
MHPML> the archives and didn't see anything on the subject.
MHPML> I am using php4.0.4, and am aware of the problem with $ characters, could
MHPML> this be related?
I'm pretty sure that it is the similar problem. "/"-sign is a standard
PCRE delimiter. You should avoid using PCRE special symbols in the
names of template blocks and variables by now.
Those symbols are: /{}()[]<>
-- Best regards, Max A. Derkachev mailto:kot <email protected> Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Max A. Derkachev: "Re: [phplib] Object registration as a session variable"
- Previous message: dennis: "[phplib] error in db_oci8.inc"
- In reply to: Mark Heintz PHP Mailing Lists: "[phplib] template: / in varname"
- Next in thread: Mark Heintz PHP Mailing Lists: "Re: [phplib] template: / in varname"
- Reply: Mark Heintz PHP Mailing Lists: "Re: [phplib] template: / in varname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

