|
передача переменной js в php
|
|||
---|---|---|---|
#18+
Как передать переменную из js в php. ... |
|||
:
Нравится:
Не нравится:
|
|||
21.07.2004, 12:00 |
|
передача переменной js в php
|
|||
---|---|---|---|
#18+
vot te paru primerov 1) GET var v = 'test'; document.location = 'http://example.com/test.php?var='+v; 2) POST <form id="form1" action="http://example.com/test.php" method="POST"> <input type="hidden" name="var" id="var"> </form> <script> var v = 'test'; document.getElementById('var').value = v; document.getElementById('form1').submit(); </script> ... |
|||
:
Нравится:
Не нравится:
|
|||
21.07.2004, 12:08 |
|
|
start [/forum/topic.php?fid=23&gotonew=1&tid=1479568]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
134ms |
get topic data: |
11ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
others: | 12ms |
total: | 236ms |
0 / 0 |