Welcome Guest, Not a member yet? Register   Sign In
File Helper
#1

[eluser]j4zzyh4ck3r[/eluser]
Code:
public function test()
        {
            $this->_data['online'] = read_file(base_url() . 'assets/data/online.txt');
            echo ($this->_data['online']) ? $this->_data['online'] : 'FALSE';
        }

Is there anything wrong with that code ? Because I tried to echo the path and add it as url, the file is shown... Thanks


Messages In This Thread
File Helper - by El Forum - 04-18-2011, 06:47 PM
File Helper - by El Forum - 04-22-2011, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB