01-18-2012
I'm not sure what to tell you that the examples don't. Ask more specific questions and I'll give more specific answers.
7 More Discussions You Might Find Interesting
1. Linux
Hi ,
where can i get free source code for LINUX commands , OS , system calls etc.
Thanks
Naren (2 Replies)
Discussion started by: naren_chella
2 Replies
2. SuSE
I've been usuing Suse 9.1 & 10 on 2 different machines for a while and have so far relied on ready compiled versions of programs in RPMs in order to install them.
I'm unclear what is envolved in compiling from the source code myself. I did a general google on the topic and found some unclear... (3 Replies)
Discussion started by: Mark Ward
3 Replies
3. Shell Programming and Scripting
Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies
4. Programming
Hi Frndz,
I am new to the makefile generation.
I have a source code which contains makefiles in each sub-directories.
Previously we have used the entire source code in Dtbuild environment to get the executables. Now have to change the current Dtbuild environment to Linux build... (1 Reply)
Discussion started by: korraag
1 Replies
5. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
6. Linux
Hi,
I have created my VM lab on redhat linux, but giving me error after updating new yum repository, its asking me for subscription. I want want switch my redhat linux lab from VM, which linux open source will be best to perform admin commands and tasks??
If possible , please provide iso file... (2 Replies)
Discussion started by: Nats
2 Replies
7. UNIX for Advanced & Expert Users
Hello guys,
I need an open source tool that can list all the softwares installed in my unix/linux servers, the tool should list all the softwares installed and the current version, grouped by the hostname, anybody know any solution for this specific problem?
Thanks guys, have a good day! (7 Replies)
Discussion started by: denisloide
7 Replies
LEARN ABOUT PHP
session_set_cookie_params
SESSION_SET_COOKIE_PARAMS(3) 1 SESSION_SET_COOKIE_PARAMS(3)
session_set_cookie_params - Set the session cookie parameters
SYNOPSIS
void session_set_cookie_params (int $lifetime, [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])
DESCRIPTION
Set cookie parameters defined in the php.ini file. The effect of this function only lasts for the duration of the script. Thus, you need
to call session_set_cookie_params(3) for every request and before session_start(3) is called.
This function updates the runtime ini values of the corresponding PHP ini configuration keys which can be retrieved with the ini_get(3).
PARAMETERS
o $lifetime
-Lifetime of the session cookie, defined in seconds.
o $path
-Path on the domain where the cookie will work. Use a single slash ('/') for all paths on the domain.
o $domain
- Cookie domain, for example 'www.php.net'. To make cookies visible on all subdomains then the domain must be prefixed with a dot
like '.php.net'.
o $secure
- If TRUE cookie will only be sent over secure connections.
o $httponly
- If set to TRUE then PHP will attempt to send the httponly flag when setting the session cookie.
RETURN VALUES
No value is returned.
CHANGELOG
+--------+-------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+-------------------------------------+
| 5.2.0 | |
| | |
| | The $httponly parameter was added. |
| | |
+--------+-------------------------------------+
SEE ALSO
session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.cookie_secure, session.cookie_httponly, ses-
sion_get_cookie_params(3).
PHP Documentation Group SESSION_SET_COOKIE_PARAMS(3)