Thread Mojolicoius: POST-Daten abgreifen (6 answers)
Opened by Molaf at 2014-10-08 09:59

GwenDragon
 2014-10-08 11:11
#177713 #177713
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
2014-10-08T07:59:21 Molaf
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@@ parameter.html.ep
<!DOCTYPE html>
<html>
<head><title>Parameter Results</title></head>
<body>
<p>Text: <strong><%=stash('tx')%></strong><br/>
</p><hr/>
<p>Password: <strong><%= param('passw') %></strong><br/>
</p><hr/>
<p>Hidden: <strong><%= param('hid') %></strong><br/>
</p><hr/>
<p>All POST-params:<strong>
<%=stash('all_post_params')%></strong><hr/></p>
<a href="/">again</a>
</body>
</html>


Gibt es einen Grund warum du nicht die Variablen des Stash ins Template eintragen willst?
<%= $tx %> statt <%=stash('tx')%>
<%= $hid %> statt <%= param('hid') %>
<%= $all_post_params %> statt <%=stash('all_post_params')%>

View full thread Mojolicoius: POST-Daten abgreifen