(c) Larry Ewing, Simon Budig, Garrett LeSage
� 1994 �.

������� ����������� � ��������������� �����������

������ | ����� | � ������� | ��������� ��������� | ����������� ��� | �������� ���/AMICT
���������� | ���������� | ������� ������� | ������-��������� | �������� � ��������� ������
�������������� ������� | ���������� | ����� �������� | ���������� ����������

���� ������

�������� ������ ������ � HTML �������, ��������� �������� PHP. ������� �������� ��������� � �������� Cookies, �������� ��������� � �������������� ������� header. ��������� �������� ���������� � Web-�������, �������� � �.�. ����� ���������������� ����������.

�������� ������

 #   ������� 
1 �������� ������ cookie_view.php, ������� ������������� cookie � ������ "mycookie", ��������� "my value" � �������� ����� - 1 ��� � ������� ���������. ���� cookie-����� � ������ "mycookie" ��� ����������, �� ���������� ������� ��������
2 ������� ���� info.php. ��������� ���������� ��������� SERVER_NAME � HTTP_USER_AGENT (������ ����� $_SERVER) ������� ��� Web-������� � ������ ��������
3 ������� ���� form_1.html � ������, � ������� ��� ���� ��� ����� ������ (��� <textarea>). �������� ������ form_1.php ��� ����������� ������, ���������� �������������. ����� �� ������� ���� ������������ ����� ������, �� ������� - �������
4 ������� ���� form_2.html � ������, ������� �������� ���� (��� <select>) ��� ������ ��� ������ (������ ��� ����������). �������� ������ form_2.php, ������� ������� ����� ������������
5 �������� ������ hello.php, ������� ������� �� ����� ������ "����� ����������". ������� ���� index.php � �������� public_html, ���, � ������� ������� header � ��������� Location, ������� ��������������� �� ���� hello.php

�������� ������ ������

������� ��������� ���������, ���� ��� ��������� ���������, ��������� ������������� ����������� �������, ����� �������� ����������� �������