WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   javascript daten in cookie speichern mit php (http://www.wcm.at/forum/showthread.php?t=172945)

Pulse-Seeker 01.09.2005 12:12

der status des trees wird aber in einer javascript-variablen gespeichert. wie bekomme ich diesen wert in eine php-variable???

flocky 01.09.2005 17:16

afaik:

<script language="javascript">
document.write('<a href=http://www.url.com/index.php?variable='+javascriptvariable+'>link</a>');
</script>

<?php
$phpvariable = $_GET['variable'];
?>

bei javascript geb ich keine garantie für den syntax ;)

Pulse-Seeker 01.09.2005 22:11

die möglichkeit werd ich mal ausprobieren.


Alle Zeitangaben in WEZ +2. Es ist jetzt 12:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag