• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it important???

#1
[eluser]anggie[/eluser]
I just wanna know answer to this simple question...

Is it important to write :

Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

I know what is it for, but when i add it to my controller, it show me a PHP error message :

Code:
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at E:\Dokumenku\xampp\htdocs\CodeIgniter\system\application\controllers\admin.php:3)

Filename: libraries/Session.php

Line Number: 315

Sorry...I am newbie...could you suggest any help??
Thanks...


Messages In This Thread
Is it important??? - by El Forum - 08-30-2008, 09:37 AM
Is it important??? - by El Forum - 08-30-2008, 11:31 AM
Is it important??? - by El Forum - 08-30-2008, 12:19 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.