Jump to content

lilmer

Members
  • Posts

    133
  • Joined

  • Last visited

About lilmer

  • Birthday 10/07/1990

Profile Information

  • Gender
    Male
  • Location
    Somewhere here in the universe.
  • Interests
    I have interest in you, do you have interest on me?

Contact Methods

  • Yahoo
    elmergfruelda@yahoo.com

lilmer's Achievements

Regular Member

Regular Member (3/5)

1

Reputation

  1. 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.
  2. 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.
  3. 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.
  4. 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?
  5. Wow, I didn't know that. I thought it is just use for relationship. Thank you guys
  6. Exactly, sorry if my question is hard to understand. so none, it can be null, I can make a condition on client side on that.
  7. The main point is to get all the user.. and base on the event date it can be check user status, like sample image date 2016-07-05
  8. 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:
  9. 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>
  10. 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
  11. Yes Sir elseif, but on logic of getting `Pending`, `Incomplete` etc.. base on the array, is there other way?
  12. Is there a better way to do this? $p = 3; $a = 3; $b = 3; $arr = [$p,$a,$b]; if (in_array(0, $arr)) { return 'Pending'; } if ((in_array(2, $arr)) && !in_array(0, $arr)) { return 'Incomplete'; } if ((in_array(1, $arr)) && !in_array(0, $arr) && !in_array(1, $arr)) { return 'Approved'; } if (in_array(3, $arr) && !in_array(0, $arr) && !in_array(1, $arr) && !in_array(2, $arr)) { return 'Declined'; }
  13. I want to get something unique like MAC address of a client computer, that can determine each client uniqueness when visiting the site.
  14. Thank you for your response, I set it using codeigniter hooks, using PHP set_error_handler, register_shutdown_function for fatal erros.
  15. Is there away to get something unique on a client computer? I read about ActiveX but it is only works on IE. I need something that can work on other browsers also, maybe on PHP or on Javascript.
×
×
  • Create New...

Important Information

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.