Skip to main content

No direct script access allowed

October 15, 2011 by nyubie

nyubie's picture

gmn cara menggunakan

if ( ! defined('BASEPATH')) exit('No direct script access allowed');

saya sudah pasang dicontroller+model saya, tetapi ketika saya ketik alamat
http://localhost/LATIHAN/index.php/mencoba_basepath
dibrowser..knpa webnya tetap mau ke buka
mohon pencerahannya..terimakasih

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

terimakasih pencerahannya

October 17, 2011 by nyubie, 9 hours 50 min ago
Comment: 9175

nyubie's picture

terimakasih pencerahannya mas..saya kira apapun yang diketikan dari address bar web browser akan error..

CMIIW

October 16, 2011 by predhtz, 1 day 8 hours ago
Comment: 9173

predhtz's picture

Bukankah memang seharusnya ketika akses dengan url

http://localhost/LATIHAN/index.php/mencoba_basepath

webnya harus terbuka?

kecuali url diakses pake

http://localhost/LATIHAN/application/controllers/mencoba_basepath

itu yang seharusnya ngga bisa dibuka....

Premium Drupal Themes by Adaptivethemes