As I describe on this, "on my IIS site when I don't allow folder to be access on web.config it will automatically show codeigniter 404 page as it should be," its 404 page by CI, not an apache 404. But on linux accessing folder is forbidden because of default index.html on every forbidden folder.
Hello, I'm just confuse on the way apache and iis react on codeigniter framework accessing folder.
on my IIS site when I don't allow folder to be access on web.config it will automatically show codeigniter 404 page as it should be, but on apache its not, its like I have to set 404 on .htaccess by that it will show apache 404 not on framework side.
How do I set that accessing not allowed folder on apache will show framework 404.
Nope, its not a usual page ads thats keeps on triggering every time you exit a site. This is for specific user and by user level, and once you agree to terms it will not pop again.
Hello, I want to add a process that will trigger a show of advertisement or opening a new tab when the user close a the tab or browser.
$(window).bind("beforeunload", function(e) {
window.open(URL+'ads', '_blank');
return 'You are closing the browser';
});
The window.open and the return message is both not working. I tried also other possibilities but window.open is not working. Anyone knows about this?
I've got two tables
user table - id
- username
- fname
- lname
- group_id
event Table
- id
- user_id
- event_time
- event_date
- event ('Arrival','Departure','Break',etc..) My problem is getting all user by group and joining other table even date, but it should be base on 'event_date' I use `LEFT JOIN` and `LEFT OUTER JOIN` but because I have to specify the `event_date` not all user can be shown because some are absent. I made this
SELECt * FROM
user as u
LEFT OUTER JOIN event as e
ON u.id = e.user_id
WHERE
u.group_id = 6
AND ( e.event_date = '2016-07-05' AND e.event = 'Arrival' )
GROUP BY u.id
but it only show the user who has an event on the date specified. I tried to make an VIEW table but it still has the condition base on event_date.
Although I made this on PHP by condition but it takes time to load as I select event on every user. is there a way to get it using SQL?
it should be like this:
I have tried to use this rule but ai'nt working as others as well.. is the issue with ?aggrement.. as it identify it as Get request.
<rule>
<match url="http://sub.domain.com/index.php?aggrement" />
<action type="Rewrite" url="http://sub.domain.com/index.php/aggrement" />
</rule>
I've got a URL
http://sub.domain.com/index.php?aggrement
I am having a problem trying to change this to through IIS rewrite
http://sub.domain.com/index.php/aggrement
or
http://sub.domain.com/aggrement
and another question throught chaging.. is this can be rewrite without redirecting and load the controller directly " aggrement controller"
I'm using codeigniter 3 as php framework.
Thank you
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.