note 128098 added to function.ini-set
| From: | aaly28623 at gmail dot com | Date: | Sun, 08 Jan 2023 00:14:38 +0000 |
| Subject: | note 128098 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220051@lists.php.net to get a copy of this message | ||
To set the allow_url_include directive to On for a single PHP file, you can use the ini_set()
function in your PHP code. This function allows you to override a configuration setting for the
duration of the script execution.
Here is an example of how to use ini_set() to set allow_url_include to On for a single PHP file:
<?php
// set allow_url_include to On
ini_set('allow_url_include', 'On');
// your code here
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 41.42.168.162)
----
Manual Page -- https://php.net/manual/en/function.ini-set.php
Edit -- https://main.php.net/note/edit/128098
Del: integrated -- https://main.php.net/note/delete/128098/integrated
Del: useless -- https://main.php.net/note/delete/128098/useless
Del: bad code -- https://main.php.net/note/delete/128098/bad+code
Del: spam -- https://main.php.net/note/delete/128098/spam
Del: non-english -- https://main.php.net/note/delete/128098/non-english
Del: in docs -- https://main.php.net/note/delete/128098/in+docs
Del: other reasons-- https://main.php.net/note/delete/128098
Reject -- https://main.php.net/note/reject/128098
Search -- https://main.php.net/manage/user-notes.php