Difference between revisions of "PHP 4"
From Ilianko
(Created page with "== GET == <?php print_r($_GET) ?> *http://localhost/?user=Ivan *http://localhost/?user=Ivan&game=7 == POST == <code><pre> <? print_r($_POST) ?> <form method=POST>...") |
|||
| Line 21: | Line 21: | ||
</form> | </form> | ||
</pre></code> | </pre></code> | ||
| + | |||
| + | == COOKIE== | ||
| + | |||
| + | <?php | ||
| + | |||
| + | setcookie("TestCookie", $value); | ||
Revision as of 13:53, 20 October 2013
GET
<?php print_r($_GET) ?>
POST
<?
print_r($_POST)
?>
<form method=POST>
<input type=text name=user>
<input type=submit name=button value="natisni">
</form>
COOKIE
<?php
setcookie("TestCookie", $value);