2013-04-17, 15:37:51
A very interesting siutation came up in a post in the "german corner" and needs some clearance.
See here: http://get-simple.info/forums/showthread...n=lastpost
The question was how to include a script in a component:
brings error: "You don't have permission to access /admin/components.php on this server."
works. So we have the question: what is the difference between "include" and "include_once" concerning the permissions?
Can somebody enlighten us?
See here: http://get-simple.info/forums/showthread...n=lastpost
The question was how to include a script in a component:
PHP Code:
<?php include('shoutbox/shoutbox.inc.php'); ?>
brings error: "You don't have permission to access /admin/components.php on this server."
PHP Code:
<?php include_once('shoutbox/shoutbox.inc.php'); ?>
works. So we have the question: what is the difference between "include" and "include_once" concerning the permissions?
Can somebody enlighten us?
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18