Your SlideShare is downloading. ×
cookie. support by php
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

cookie. support by php

437
views

Published on

Presentation describe php functions for cookie support

Presentation describe php functions for cookie support

Published in: Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
437
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Язык PHP $_COOKIE Использование cookie в PHP Алексей Бованенко
  • 2. Введение • Cookie позволяют хранить данные на стороне пользователя
  • 3. Установка cookie • bool setcookie ( string $name [, string $value [, int $expire [, string $path [, string $domain [, bool $secure [, bool $httponly ]]]]]] )
  • 4. Пример • Установка cookie • setcookie(‘login’, ‘vasya’, time()+60*60*24*15); • Удаление cookie • setcookie(‘login’, ‘’, time()-60*60*24*15);
  • 5. Получение данных из cookie • $_COOKIE[‘value_name’]
  • 6. Конец Спасибо за внимание e-mail: a.bovanenko@gmail.com