Тест $_GET и $_POST
<html>
<head>
<meta charset="utf-8">
<title>Тест GET and POST</title>
</head>
<body>
<?php if (isset($_GET['test']) && !empty($_GET['test'])) { echo ' $_GET работает '; } ?>
<a href="<?php $_PHP_SELF ?>?test=get">Check $_GET</a>
<?php if (isset($_POST['test']) && !empty($_POST['test'])) { echo ' $_POST работает '; } ?>
<form action="<?php $_PHP_SELF ?>" method="POST">
Тестовая строка: <input type="text" name="test" value="value"/>
<input type="submit" />
</form>
</body>
Тест CURL
<?PHP $ch = curl_init('http://owlhost.net'); curl_exec($ch); // выполняем запрос curl $result = curl_exec($ch); curl_close($ch); echo $result; ?>
Тест crypt
<?PHP
<?php
echo '
SHA-256: ' . crypt('owlhost', 'owlhost') . '
';
?>