Staff Pin System.

Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38
  1. #26
    I (L) Willem Spot Ify is offline
    MemberRank
    Jun 2012 Join Date
    The NetherlandsLocation
    294Posts

    Re: Staff Pin System.

    Woops tapatalk bug.

    But why not making a dicyonary (array in php dicyonary in .net xd) with the usernames of all staffs so you dont have any mysql query??

    Dont get why peaple use so much querys i have there in my cms recache staffpage, recache news, login ,register, bancheck client,bancheck login, auth ticket

    The recach of the news is manually and staffpage recach can only ve done one time in the 45 minuts (only when someone enters the page)

    So why not a dictonairy?
    That is much much better stop using mysql for evrything lol. Yeahh and then crying as mysql is using much memory lol.

    Hhh just cache shit :p
    I give tomorrow a simple sample
    Last edited by Spot Ify; 21-07-14 at 04:19 AM.

  2. #27
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Staff Pin System.

    @Lewislol All staff don't have the same key if you are referring to the original thread, you just have to change it for each user.

  3. #28
    Freak Mextur is offline
    MemberRank
    Mar 2012 Join Date
    216Posts

    Re: Staff Pin System.

    I don't realy get the point for this feature.

  4. #29
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Staff Pin System.

    Quote Originally Posted by Mextur View Post
    I don't realy get the point for this feature.
    It's just extra security, so if a staff account gets hacked, they also have to know the staff members pin.

  5. #30
    Banned AliDABOSS is offline
    BannedRank
    Apr 2013 Join Date
    EnglandLocation
    48Posts

    Re: Staff Pin System.

    Don't like the way you coded this, what's the point of connecting to mysql when the CMS already does that?

    if you're using RevCMS, you should use $a = $engine->query("");
    etc..

  6. #31
    Novice RichBro123 is offline
    MemberRank
    Jul 2014 Join Date
    London, UnitedLocation
    4Posts

    Re: Staff Pin System.

    It is a failing matter why do you need spk.php

  7. #32
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Staff Pin System.

    Quote Originally Posted by RichBro123 View Post
    It is a failing matter why do you need spk.php
    It's just to process the users input, so it is safer than putting it all in the client.

  8. #33
    Banned AliDABOSS is offline
    BannedRank
    Apr 2013 Join Date
    EnglandLocation
    48Posts

    Re: Staff Pin System.

    First here is my response...
    Why are you reconnecting to the database? When using a CMS, it's normally connected itself, so you don't need to connect it.
    Re-connecting would have to kill the current database session = which would take longer for a reply.
    ------
    You should always filter your $_POST / $_GET variables, because that's just for extra security, specially if you're releasing it on RaGEZONE or another forum (to public). You could have made this better.

  9. #34
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Staff Pin System.

    Quote Originally Posted by AliDABOSS View Post
    First here is my response...
    Why are you reconnecting to the database? When using a CMS, it's normally connected itself, so you don't need to connect it.
    Re-connecting would have to kill the current database session = which would take longer for a reply.
    ------
    You should always filter your $_POST / $_GET variables, because that's just for extra security, specially if you're releasing it on RaGEZONE or another forum (to public). You could have made this better.
    The data is filtered, like this, strip_tags(stripslashes(mysql_real_escape_string($_POST["first"])));

  10. #35
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,080Posts

    Re: Staff Pin System.

    I'm developing one for a private cms: 4 letter PIN for Client/6 letter PIN for Housekeeping.
    Anyway, nice release!

  11. #36
    Account Upgraded | Title Enabled! UartigZone is offline
    MemberRank
    Dec 2013 Join Date
    LoserlandLocation
    441Posts

    Re: Staff Pin System.

    Why does it ban my Proxy IP everytime i use this? Gold Tree Emulator ban the IP from Anti-DDoS.... And its not enable in server settings?

  12. #37
    Valued Member Nicolajhansen97 is offline
    MemberRank
    Dec 2013 Join Date
    DenmarkLocation
    133Posts

    Re: Staff Pin System.

    Quote Originally Posted by UartigZone View Post
    Why does it ban my Proxy IP everytime i use this? Gold Tree Emulator ban the IP from Anti-DDoS.... And its not enable in server settings?
    I just tested it on my Phoenix Emulator and ''GTE''

    It works for both for me, so you maked a mistake.

  13. #38
    Account Upgraded | Title Enabled! UartigZone is offline
    MemberRank
    Dec 2013 Join Date
    LoserlandLocation
    441Posts

    Re: Staff Pin System.

    Quote Originally Posted by Nicolajhansen97 View Post
    I just tested it on my Phoenix Emulator and ''GTE''

    It works for both for me, so you maked a mistake.
    Yeah. Can you please upload your Staff Pin, if you have it? If you want, so i can see the mistake.



Page 2 of 2 FirstFirst 12

Advertisement