Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

{PHP} - Tagi ne rabotajt !!!!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian
View previous topic :: View next topic  
Author Message
Hitman
Smarty n00b


Joined: 23 Oct 2004
Posts: 4

PostPosted: Sat Oct 23, 2004 5:50 pm    Post subject: {PHP} - Tagi ne rabotajt !!!! Reply with quote

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


Shocked SOS kak eto le4at !!!
Back to top
View user's profile Send private message
b166-er
Smarty Rookie


Joined: 22 Oct 2004
Posts: 29
Location: Germany, Wiesbaden

PostPosted: Sun Oct 24, 2004 2:02 pm    Post subject: Reply with quote

privet Hitman,

ti ushe tchital oshibku? Smile

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
View user's profile Send private message
Hitman
Smarty n00b


Joined: 23 Oct 2004
Posts: 4

PostPosted: Sun Oct 24, 2004 10:05 pm    Post subject: Reply with quote

Spasibo tebe bol'shoe za bystrij otwet !!! Very Happy Very Happy

Ja usche i sam ponjal 4to hernju sporol, i pytalsja pytalsja ispol'zowat'
PHP-Tagi w template, prosto glupo s moei storoni !!! Rolling Eyes

zapihnu kod otdel'no ot dezaina lu4she budet !!!

spasibo es4e raz, esli wozniknut drugie woprosy budu obras4atsja !!! Surprised
Back to top
View user's profile Send private message
Edward G Burov
Smarty n00b


Joined: 04 Dec 2005
Posts: 1

PostPosted: Sun Dec 04, 2005 1:05 pm    Post subject: Reply with quote

U menya otlichno rabotaet vstavka php no ne poluchaetsya vstavlyat' peremennye v php kod. Kak eto sdelat'?
Back to top
View user's profile Send private message
hlopak
Smarty n00b


Joined: 26 Dec 2005
Posts: 1

PostPosted: Mon Dec 26, 2005 10:18 pm    Post subject: privet ! pomogite Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP