Sponsored Content
Full Discussion: php.ini
Operating Systems Linux Ubuntu php.ini Post 302575041 by fpmurphy on Sunday 20th of November 2011 02:52:46 AM
Old 11-20-2011
The first is for when you want to use PHP from the command line, the second is for when you wish to use PHP in a browser.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Multi-booting Win2000 and FreeBSD with boot.ini

Actually, I'm going to be setting up my new hard drive to boot 3-4 OSes...so far I'm definite on Windows 2000 Advanced Server and FreeBSD 4.4, and I'm stuck between RedHat 7.2 and Mandrake 8.1 for my Linux choice...anyways.... I'm gonna be using boot.ini as the boot loader thing. I've already... (3 Replies)
Discussion started by: DownSouthMoe
3 Replies

2. Shell Programming and Scripting

reading data from .ini file

Hi, I have a sample data file that contains name-value pairs in it. For example: name1=value1 name2=value2 name3=value3 ... ... ... My concern is 1. How to get values of name1, name2, name3 using korn shell script? 2. I don't want to access each varible using $name1,$name2, $name3... (2 Replies)
Discussion started by: vinna
2 Replies

3. UNIX for Dummies Questions & Answers

Updating the ODBC.ini file

Hi, I want to access MS SQL Server database through Informatica which is an ETL tool installed on sun solaris Unix operating system. For me to access the MS SQL Server i studied that i need to update the odbc.ini file on Unix box. Could you please let me know how and where i can access this file... (1 Reply)
Discussion started by: Ariean
1 Replies

4. Web Development

about php.ini and mysql linux

I can't use mysql .How should i config the file of php.ini . the message: Fatal error: Call to undefined function mysql_errno() in /var/www/html/inc/dv_clssql.php on line 129 how should i do? please help me (2 Replies)
Discussion started by: fang_xiaoan
2 Replies

5. UNIX for Dummies Questions & Answers

Trying to show lines in INI files until the comment character (#)

I have a working directory on a server with over 100 INI files. For the most part, they are configured the same way. Each line will contain 1 or none variables listed from the first character in the line such as VariableName=0. Unfortunately there are comments everywhere using the... (4 Replies)
Discussion started by: hindesite
4 Replies

6. Shell Programming and Scripting

[NEED] Shoutcast Stream Ini Script

Hi there, my english is not the best but i try to tell what i want. i want a Shell Script with this i can creat a Shoutcast Stream and stop, start and restart it. I have found this Script: http://serversupportforum.de/forum/sonstige-serverdienste/10602-shoutcast-server-init-script.html When i... (1 Reply)
Discussion started by: Cannon
1 Replies

7. Shell Programming and Scripting

Trouble with sed and ini file parsing

hi people, i'm having a hard time trying to extract a list of vars delimited by section inside a ini file ... let's consider this ini file : ; config file DESC = "channel synchro TGG01" DMM_VER = DMM23 PATH_FIFO = /users/tgg00/fifo QRT = BTS01.TGG.01.2 MODE_TRACE... (5 Replies)
Discussion started by: odium74
5 Replies

8. UNIX for Dummies Questions & Answers

Append two lines of text to php.ini in the entire directory tree.e

I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file. I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
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)
All times are GMT -4. The time now is 05:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy