|
|
|
передача переменной 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&msg=32614367&tid=1479568]: |
0ms |
get settings: |
6ms |
get forum list: |
15ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
60ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 215ms |
| total: | 352ms |

| 0 / 0 |
