User Tools

Site Tools


uphp:functions:ini_set

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:ini_set [2017/05/09 10:07]
jeff
uphp:functions:ini_set [2019/06/12 05:42]
admin
Line 28: Line 28:
  
 <html>If the <b><span style="color:blue">key<span style="color:black"></b> does not exist it is added to the <b><span style="color:blue">section<span style="color:black"></b>, if it exists, otherwise the <b><span style="color:blue">section<span style="color:black"></b>, <b><span style="color:blue">key<span style="color:black"></b> and <b><span style="color:blue">value<span style="color:black"></b> are appended to the end of the file.</html> <html>If the <b><span style="color:blue">key<span style="color:black"></b> does not exist it is added to the <b><span style="color:blue">section<span style="color:black"></b>, if it exists, otherwise the <b><span style="color:blue">section<span style="color:black"></b>, <b><span style="color:blue">key<span style="color:black"></b> and <b><span style="color:blue">value<span style="color:black"></b> are appended to the end of the file.</html>
 +
 +=== Clearing a Key ===
 +
 +By specifying a blank ('') value for the key, the key and value will be erased from the ini file.
  
 ====Parameters==== ====Parameters====
Line 39: Line 43:
 <html><b><span style="color:blue">$value<span style="color:black"></b>:  The value to write (<b><span style="color:green">string<span style="color:black"></b>, <b><span style="color:green">int<span style="color:black"></b> or <b><span style="color:green">float<span style="color:black"></b>)</html> <html><b><span style="color:blue">$value<span style="color:black"></b>:  The value to write (<b><span style="color:green">string<span style="color:black"></b>, <b><span style="color:green">int<span style="color:black"></b> or <b><span style="color:green">float<span style="color:black"></b>)</html>
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 on success or 0 on failure <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 on success or 0 on failure
uphp/functions/ini_set.txt · Last modified: 2021/09/13 05:57 (external edit)