Home »
General »
PHP discussions »
java script to php (Transfer variable value from java script to php in a php file)
java script to php [message #159578] |
Thu, 11 June 2009 16:42 |
aajkaal
Messages: 2 Registered: June 2009
Karma: 0
|
Junior Member |
|
|
1 <script language='javascript'>
2 var strUsername;
3 var objNetwork;
4 objNetwork= new ActiveXObject("WScript.Network");
5 strUsername= objNetwork.Username;
6 strUsername= strUsername.toLowerCase();
7 document.write(strUsername);
8 </script>";
9
10 <?php
11
12 echo $strUsername;
I want to use strUsername (not just display) in the php code. How can I accomplish it
Regards,
aajkaal
|
|
|
|
|
Goto Forum:
Current Time: Tue Dec 03 17:01:19 GMT 2024
Total time taken to generate the page: 0.02494 seconds