[eluser]riwakawd[/eluser]
[quote author="Tim Brownlaw" date="1400050363"]So have you actually TESTED This?????
Just negating the test is not checking it's working and I've just spent a few minutes actually testing this out...
Have you?
If you're running your own local server, you can change these in the php.ini file to test.
Well for session auto start your two test cases are
session.auto_start = 1
or
session.auto_start = 0
and to test...
echo (ini_get('session.auto_start') == 1) ? 'On' : 'Off';
Just make sure you restart your server each time you make a change.
I tried changing this in a test script using ini_set('session.auto_start','1'); and it wouldn't stick.
The ini_get only returned the value I had changed in my servers php.ini file
So it's likely I've not got that enabled as a setting I can override. I've not looked to check...
This looks like a "this is what you have and this is what it should be" deal... Just how are you advising folks to change their settings to suit your "suggested" settings if they don't match?
Cheers
Tim
[/quote]
I have got it all working now. You will see some below have ! below on some php area. In due time will be letting people know how to change it. At the moment just for me still few things to work out next few months. Step 3 which is next on list is front end database setup with pre built admin. I have a developer I hire to do freelance work but most of time like to try and do it my self.
Code:
<table class="table table-bordered">
<thead>
<tr>
<th class="align_left">PHP Settings</th>
<th>Current Settings</th>
<th>Required Settings</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>PHP Version:</td>
<td class="align_center"><?php echo phpversion(); ?></td>
<td class="align_center">5.1.6+</td>
<td><?php echo phpversion() ? '<span class="text-success"><i class="fa fa-check-circle"></i></span>' : '<span class="text-danger"><i class="fa fa-minus-circle"></i></span>'; ?></td>
</tr>
<tr>
<td>Register Globals:</td>
<td class="align_center"><?php echo (ini_get('register_globals')) ? 'On' : 'Off'; ?></td>
<td class="align_center">Off</td>
<td><?php echo ( ! ini_get('register_globals')) ? '<span class="text-success"><i class="fa fa-check-circle"></i></span>' : '<span class="text-danger"><i class="fa fa-minus-circle"></i></span>'; ?></td>
</tr>
<tr>
<td>Magic Quotes GPC:</td>
<td class="align_center"><?php echo (ini_get('magic_quotes_gpc')) ? 'On' : 'Off'; ?></td>
<td class="align_center">Off</td>
<td><?php echo ( ! ini_get('magic_quotes_gpc')) ? '<span class="text-success"><i class="fa fa-check-circle"></i></span>' : '<span class="text-danger"><i class="fa fa-minus-circle"></i></span>'; ?></td>
</tr>
<tr>
<td>File Uploads:</td>
<td class="align_center"><?php echo (ini_get('file_uploads')) ? 'On' : 'Off'; ?></td>
<td class="align_center">On</td>
<td><?php echo ( ini_get('file_uploads')) ? '<span class="text-success"><i class="fa fa-check-circle"></i></span>' : '<span class="text-danger"><i class="fa fa-minus-circle"></i></span>'; ?></td>
</tr>
<tr>
<td>Session Auto Start:</td>
<td class="align_center"><?php echo (ini_get('session_auto_start')) ? 'On' : 'Off'; ?></td>
<td class="align_center">Off</td>
<td><?php echo ( ! ini_get('session_auto_start')) ? '<span class="text-success"><i class="fa fa-check-circle"></i></span>' : '<span class="text-danger"><i class="fa fa-minus-circle"></i></span>'; ?></td>
</tr>
</tbody>
</table>