Feldwert für Emailformular per Link übergeben

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hube
Posts: 1
Joined: Sat 24. Sep 2005, 17:28
Location: CH

Feldwert für Emailformular per Link übergeben

Post by hube »

hallo alle zusammen
zuerst mal danke für das geniale cms system !!

mein problem :

ich möchte in einem artikel einen link haben der mir ein feld (z.b. referenznnummer) in einem emailkontaktformular automatisch mit dem wert 'kochen1' ausfüllt, damit das der user das nicht manuell machen muss.

wie kann ich sowas bewerkstelligen?

ich hoffe mir kann jemand von euch cracks helfen.
danke im voraus für jede idee

viele grüsse
thomas
TomRS
Posts: 3
Joined: Sun 25. Sep 2005, 16:01

Danach suche ich auch...

Post by TomRS »

Hallo, danach suche ich auch. Hab schon überlegt das mit referrer zu machen in PHP... aber wie??
Also wenn jemand ne Lösung hat würde ich mich freuen.
Last edited by TomRS on Tue 4. Oct 2005, 07:51, edited 1 time in total.
TomRS
Posts: 3
Joined: Sun 25. Sep 2005, 16:01

Ich habs

Post by TomRS »

Dank eines Lösungsansatzes von OG

[PHP]echo ''.$_SERVER['HTTP_REFERER']; [/PHP]

in ein Hiddenfield und dann klappts auch mit dem nachbarn
usta
Posts: 146
Joined: Thu 18. Aug 2005, 19:17

Post by usta »

oder: du kannst den eintrag in ein formular auch "vorkonfigurieren":
<input name="vorkonf" type="text" value="kochen1" readonly>
Post Reply