AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

PHP und TPL

Ein Thema von milos · begonnen am 14. Feb 2009 · letzter Beitrag vom 14. Feb 2009
 
Benutzerbild von milos
milos

Registriert seit: 14. Jul 2008
Ort: Bern (CH)
508 Beiträge
 
Delphi 11 Alexandria
 
#1

PHP und TPL

  Alt 14. Feb 2009, 19:48
Hallo nochmal
Schon wieder ein Problem
Ich will das ein Link kommt mit dem inhalt von einer TEXTBOX ich habe sie auch in die Variable gesetzt. Alle Variabeln werden automatisch in die TPL eingetragen

Doch mein Problem ist es wird nicht angezeigt was man im Textbox reintut.

PHP
Code:
<?php
$toolname = ($_POST['namebox']);

if ($_GET['done']) { 
$toolbox = ($_GET['done']);
echo "index_" . $toolbox . ".tpl";
}
?>
TPL
Code:
<html>

<head>
<meta http-equiv="Content-Language" content="de-ch">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Scheiss Tools gehen raus</title>
</head>

<body>

<form method="POST" action="--WEBBOT-SELF--">
   

Toolname vom actions Ordner (OHNE .PHP):
   <input type="text" name="namebox" size="39"></p>
   

<input type="button" value="Löschen"

onclick="location='http://localhost/admin/index.php?screen=delete_tools&done=

{$toolname}'"></p>
</form>

</body>

</html>
Milos
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:58 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz