PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 6, 2022

[FIXED] How to recognize the CodeIgniter version of a php source?

 January 06, 2022     codeigniter, php     No comments   

Issue

How to recognize the CodeIgniter version of a php source?

/**<br>
 * CodeIgniter<br>
 *<br>
 * An open source application development framework for PHP<br>
 *<br>
 * This content is released under the MIT License (MIT)<br>
 *<br>
 * Copyright (c) 2014 - 2016, British Columbia Institute of Technology<br>
 *<br>
 * Permission is hereby granted, free of charge, to any person obtaining a copy<br>
 * of this software and associated documentation files (the "Software"), to deal<br>
 * in the Software without restriction, including without limitation the rights<br>
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br>
 * copies of the Software, and to permit persons to whom the Software is<br>
 * furnished to do so, subject to the following conditions:<br>
 *<br>
 * The above copyright notice and this permission notice shall be included in<br>
 * all copies or substantial portions of the Software.<br>
 *<br>
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.<br>
 *<br>
 * @package CodeIgniter<br>
 * @author  EllisLab Dev Team<br>
 * @copyright   Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)<br>
 * @copyright   Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)<br>
 * @license http://opensource.org/licenses/MIT  MIT License<br>
 * @link    https://codeigniter.com<br>
 * @since   Version 1.0.0  <---- THIS IS THE VERSION or WHAT??<br>
 * @filesource<br>
 */

Thankyou very match!


Solution

For see codeigniter version, you have to write this code

 <?php
      echo CI_VERSION;
 ?>
 

Or you can check the file system/core/CodeIgniter.php



Answered By - nafischonchol
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing