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

Ausgabe eines befehls im Template

 
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: German
View previous topic :: View next topic  
Author Message
halloweb
Smarty Regular


Joined: 23 Nov 2004
Posts: 35

PostPosted: Sun Nov 28, 2004 5:00 pm    Post subject: Ausgabe eines befehls im Template Reply with quote

In der index.php habe ich folgenden Code stehen ...

Code:
echo "Der Name ".$HTTP_POST_FILES['datei']['name'].;


Dieser Befehl wird auf der index.php ausgegeben.

Ich möchte diesen Befehl aber in der index.tpl ausgeben mit ...

Code:
{$dateiname}


Also habe ich in die index.php folgen Code mit eingebunden ...

Code:
$dateiname=$HTTP_POST_FILES['datei']['name'];


Aber der $dateiname wir nicht ausgegeben ?


Last edited by halloweb on Wed Jul 21, 2010 12:00 am; edited 1 time in total
Back to top
View user's profile Send private message
T.
Smarty Regular


Joined: 22 Aug 2004
Posts: 69
Location: AT

PostPosted: Sun Nov 28, 2004 6:13 pm    Post subject: Reply with quote

$smarty->assign("dateiname",$dateiname);

lest heut gar keiner mehr manuals?
_________________
Oppossom - Heavy rock from austria
Back to top
View user's profile Send private message Visit poster's website
halloweb
Smarty Regular


Joined: 23 Nov 2004
Posts: 35

PostPosted: Sun Nov 28, 2004 6:22 pm    Post subject: Reply with quote

Guten Abend Thomas,

Quote:
lest heut gar keiner mehr manuals?


Ich lese die Manuals, aber werde nicht ganz schlau daraus !

Code:
$smarty->assign("dateiname",$dateiname);


Es funktioniert Very Happy

Danke, dass du vorbeigeschaut hast und mir bei der L?sungen geholfen hast.

________
volcano digital vaporizer

Last edited by halloweb on Wed Feb 02, 2011 7:06 pm; edited 2 times in total
Back to top
View user's profile Send private message
T.
Smarty Regular


Joined: 22 Aug 2004
Posts: 69
Location: AT

PostPosted: Mon Nov 29, 2004 12:30 pm    Post subject: Reply with quote

sorry für meine direktheit, bin nur in letzter zeit auf zuviele leute getroffen, die immer fragen bevor sie selber was nachlesen - und bei einer derart einfachen Frage...

mfg Thomas Cool
_________________
Oppossom - Heavy rock from austria
Back to top
View user's profile Send private message Visit poster's website
halloweb
Smarty Regular


Joined: 23 Nov 2004
Posts: 35

PostPosted: Mon Nov 29, 2004 1:11 pm    Post subject: Reply with quote

Code:
sorry f?r meine direktheit,


F?r konstruktive Kritik bin ich doch immer offen Confused

Code:
und bei einer derart einfachen Frage...


Ich m?chte deine Hilfsbereitschaft nicht ausn?tzen !

Bevor ich poste versuche ich immer selbst eine L?sung zu finden !

Aber gerade am Anfang ist es nicht einfach, selbst die richtig L?sung zu finden.

Deshalb nochmal ein Dankesch?n Very Happy

________
List of Ford platforms
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: German 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