Login +

Documentation

SLS_Cookie::save

Since SillySmart 1.0.5

Description

Save current cookie
public bool save ( [ int $expire ] , [ string $path ] , [ string $domain ] );

Parameters

  • int $expire
    time (timestamp) the cookie expires
  • string $path
    the path on the server in which the cookie will be available on
  • string $domain
    the domain that the cookie is available to

Return

bool
if output exists prior to calling this function, setcookie() will return false, else true
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.