some Javascript functions with PHP

From: Date: Thu, 16 May 2002 13:44:42 +0000
Subject: some Javascript functions with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97926@lists.php.net to get a copy of this message
I use: print('<SCRIPT LANGUAGE="JavaScript">'); print('document.write("Code Name: "+navigator.appCodeName+"<BR>");'); print('</SCRIPT>'); How is possible to keep this info to a MySQL database with PHP? I think is not possible becouse PHP runs first. Also how is possible to get with PHP info like this (browser type ecc) and user's IP address without Javascript? Or use Javascript and then run a php script to write it to the MySQL database? Thanks Prodromos Savaidis

« previous php.general (#97926) next »