|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Hitman Smarty n00b
Joined: 23 Oct 2004 Posts: 4
|
Posted: Sat Oct 23, 2004 5:50 pm Post subject: {PHP} - Tagi ne rabotajt !!!! |
|
|
Privet wsem,
pri popytke ispol'zovat' PHP - Tagi prjamo w Template
pkazywaet oschibku:
Quote: |
Warning: Smarty: [in index/coool.tpl line 136]: syntax error: (secure mode) php tags not permitted (Smarty_Compiler.class.php, line 521) in /www/htdocs/turok/bomba/smarty/Smarty_Compiler.class.php on line 2062
|
SOS kak eto le4at !!! |
|
Back to top |
|
b166-er Smarty Rookie
Joined: 22 Oct 2004 Posts: 29 Location: Germany, Wiesbaden
|
Posted: Sun Oct 24, 2004 2:02 pm Post subject: |
|
|
privet Hitman,
ti ushe tchital oshibku?
tam wsjo stoit:
Quote: | Warning: Smarty: [in index/coool.tpl line 136]: syntax error: (secure mode) php tags not permitted (Smarty_Compiler.class.php, line 521) in /www/htdocs/turok/bomba/smarty/Smarty_Compiler.class.php on line 2062 |
osnatchjajet shto utebja w smarty wkljutchen "secure mode", i php tagi nerazresheni.
ti moshesh ili wikljutchit "secure mode",ili wkljutchit php-tagi.
[php]<?php
$smarty_object->security=false;
?>[/php]
ili
[php]<?php
$config['PHP_TAGS']=TRUE;
$smarty_object->security_settings=$config;
?>[/php]
i lutshe protchitaj manual na etu temu:
http://smarty.php.net/manual/ru/variable.security.php
a woobche, nesawetujetsa rabotat s php-tags w template.
napishi satchem tebe php-tagi nushni?
moshet mi najdom drugoj sposob.
udatchi
________
Video reviews
Last edited by b166-er on Sun Feb 13, 2011 6:18 pm; edited 1 time in total |
|
Back to top |
|
Hitman Smarty n00b
Joined: 23 Oct 2004 Posts: 4
|
Posted: Sun Oct 24, 2004 10:05 pm Post subject: |
|
|
Spasibo tebe bol'shoe za bystrij otwet !!!
Ja usche i sam ponjal 4to hernju sporol, i pytalsja pytalsja ispol'zowat'
PHP-Tagi w template, prosto glupo s moei storoni !!!
zapihnu kod otdel'no ot dezaina lu4she budet !!!
spasibo es4e raz, esli wozniknut drugie woprosy budu obras4atsja !!! |
|
Back to top |
|
Edward G Burov Smarty n00b
Joined: 04 Dec 2005 Posts: 1
|
Posted: Sun Dec 04, 2005 1:05 pm Post subject: |
|
|
U menya otlichno rabotaet vstavka php no ne poluchaetsya vstavlyat' peremennye v php kod. Kak eto sdelat'? |
|
Back to top |
|
hlopak Smarty n00b
Joined: 26 Dec 2005 Posts: 1
|
Posted: Mon Dec 26, 2005 10:18 pm Post subject: privet ! pomogite |
|
|
y menia problema - mne nado vstavit' v staticteskuy stranicy php kod
vida
{php}
include('/path/to/display_weather.php');
{/php}
no pri popitke sdelat' eto nethego ne otobragaecca =( cto delat' ? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|