Sponsored Content
Full Discussion: Default PHP Sites
Top Forums Web Development Default PHP Sites Post 302829307 by Corona688 on Thursday 4th of July 2013 01:27:47 PM
Old 07-04-2013
What if there really is a file named 'index'? What if there's a directory named 'index'? What happens when you have both an index.php and index.html, which wins, which loses?

You can use rewrite rules to change something without an extension into .php, but I don't know a way to make it know which one you really wanted.
 

5 More Discussions You Might Find Interesting

1. Programming

sites with the listings

Is anybody know sites with the listings of simple programs for Linux (in text mode) (0 Replies)
Discussion started by: Studenttt
0 Replies

2. Post Here to Contact Site Administrators and Moderators

Sites flash

The flash you have placed in the header of the site is really really cool.. But it makes your machine lag, and its really big for ppl connecting with low speeds.. And thinking that you know this already, why dont you just make it a bit smaller? (5 Replies)
Discussion started by: binary_w0lf
5 Replies

3. UNIX for Dummies Questions & Answers

exam prep sites ?

iam going to study for mcse , ccna and ocp in my next couple of month and i was looking for sites with package deals .... i came across hotcerts.com . anyone knows how good is their $85 all exams package and is it worth it ???? . looking for ur responses (0 Replies)
Discussion started by: kelipukal
0 Replies

4. Shell Programming and Scripting

Where are my sites hosted?

I have 5 public websites (2 different datacenters) 1. production datacenter 2. Backup datacenter. I have a global site selector which will load balance the site based on availability and load. I would like to have a script that can tell me exactly where my sites are in 2 columns. ... (2 Replies)
Discussion started by: kmaq7621
2 Replies

5. Red Hat

Web sites

Hi, I can't view web portal in my intranet from linux RHE, and neither to web application. My network configuration /etc/sysconfig/network-scripts/fcfg-eth0 is ok, what is happen?, can you help me please. (2 Replies)
Discussion started by: xochitl
2 Replies
INI_GET_ALL(3)								 1							    INI_GET_ALL(3)

ini_get_all - Gets all configuration options

SYNOPSIS
array ini_get_all ([string $extension], [bool $details = true]) DESCRIPTION
Returns all the registered configuration options. PARAMETERS
o $extension - An optional extension name. If set, the function return only options specific for that extension. o $details - Retrieve details settings or only the current value for each setting. Default is TRUE (retrieve details). RETURN VALUES
Returns an associative array with directive name as the array key. When $details is TRUE (default) the array will contain global_value (set in php.ini), local_value (perhaps set with ini_set(3) or .htac- cess), and access (the access level). When $details is FALSE the value will be the current value of the option. See the manual section for information on what access levels mean. Note It's possible for a directive to have multiple access levels, which is why access shows the appropriate bitmask values. CHANGELOG
+--------+------------------+ |Version | | | | | | | Description | | | | +--------+------------------+ | 5.3.0 | | | | | | | Added $details. | | | | +--------+------------------+ EXAMPLES
Example #1 ini_get_all(3) examples <?php print_r(ini_get_all("pcre")); print_r(ini_get_all()); ?> The above example will output something similar to: Array ( [pcre.backtrack_limit] => Array ( [global_value] => 100000 [local_value] => 100000 [access] => 7 ) [pcre.recursion_limit] => Array ( [global_value] => 100000 [local_value] => 100000 [access] => 7 ) ) Array ( [allow_call_time_pass_reference] => Array ( [global_value] => 0 [local_value] => 0 [access] => 6 ) [allow_url_fopen] => Array ( [global_value] => 1 [local_value] => 1 [access] => 4 ) ... ) Example #2 Disabling $details <?php print_r(ini_get_all("pcre", false)); // Added in PHP 5.3.0 print_r(ini_get_all(null, false)); // Added in PHP 5.3.0 ?> The above example will output something similar to: Array ( [pcre.backtrack_limit] => 100000 [pcre.recursion_limit] => 100000 ) Array ( [allow_call_time_pass_reference] => 0 [allow_url_fopen] => 1 ... ) SEE ALSO
"How to change configuration settings", ini_get(3), ini_restore(3), ini_set(3), get_loaded_extensions(3), phpinfo(3), ReflectionExten- sion::getINIEntries. PHP Documentation Group INI_GET_ALL(3)
All times are GMT -4. The time now is 06:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy