Search:

Type: Posts; User: Karlos94

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    2,663

    $int = '100w'; $int += 0; echo $int; // 100...

    $int = '100w';

    $int += 0;

    echo $int; // 100

    echo gettype($int); // integer

    Something I've picked up from a_bertrand
  2. Replies
    20
    Views
    2,663

    @Macintrash: I shall put this as simple as I can,...

    @Macintrash: I shall put this as simple as I can, using one function for all scenarios will not work, you need to filter/sanitize the information differently most of the time.

    @Danny696: The only...
  3. Replies
    2
    Views
    369

    I guess you mean OOP vs. Procedural. Making a...

    I guess you mean OOP vs. Procedural.

    Making a CMS, I would personally use OOP with HMVC.
  4. Thread: Ip block

    by Karlos94
    Replies
    17
    Views
    1,515

    Maybe this quote could help! Oh and maybe...

    Maybe this quote could help!


    Oh and maybe this as well.
  5. Thread: Ip block

    by Karlos94
    Replies
    17
    Views
    1,515

    Incorrect, your only checking the ip field, which...

    Incorrect, your only checking the ip field, which is what I have done as well. My function does what you need.
  6. Thread: Ip block

    by Karlos94
    Replies
    17
    Views
    1,515

    Wouldn't something like this suffice for your...

    Wouldn't something like this suffice for your needs?

    // Untested..
    function check_ip($id)
    {
    $q = mysql_query('SELECT `ip` FROM `userlogins` WHERE `ip`="'.$_SERVER['REMOTE_ADDR'].'"');
    ...
  7. Thread: Select

    by Karlos94
    Replies
    17
    Views
    1,988

    What about using a NATURAL JOIN if the columns...

    What about using a NATURAL JOIN if the columns are identical.
  8. Replies
    12
    Views
    1,691

    Since I have a lot a free time now, feel free to...

    Since I have a lot a free time now, feel free to hit me up.


    PHP

    Including frameworks such as CodeIgniter and CakePHP

    CSS
    MySQL
    XML
  9. Replies
    28
    Views
    2,864

    So people still don't believe he has been killed,...

    So people still don't believe he has been killed, despite the DNA match is 99.9% that it was in fact Osama Bin Laden.. Not to mention Al-Qaeda have indeed confirmed the death of it's figurehead.
    ...
  10. Replies
    7
    Views
    1,005

    Code hosted at http://github.com/ and version 1.0...

    Code hosted at http://github.com/ and version 1.0 released.
  11. Thread: MCC v2.0.3

    by Karlos94
    Replies
    124
    Views
    9,887

    For the prreferences function, here is a quick...

    For the prreferences function, here is a quick one based off the MCCodes Lite version.

    function pic_change()
    {
    if (isset($_POST['newpic']))
    {
    if (empty($_POST['newpic']))
    {
    echo '
  12. Replies
    15
    Views
    1,114

    I mean it isn't personal, but it is the same with...

    I mean it isn't personal, but it is the same with other browsers! I mean Internet Explorer 9 and Opera 11 remind me of Chromium as well as Firefox 4. The only one that I can see that has stuck to the...
  13. Replies
    27
    Views
    2,527

    Gah, both are newbs, I mean c'mon.. Don't trust...

    Gah, both are newbs, I mean c'mon.. Don't trust them never will bunch of losers.. ;)

    Apart from that.. Congrats! <3
  14. Replies
    7
    Views
    1,435

    Sticky: Just a few suggestions here: Instead of SVN...

    Just a few suggestions here:


    Instead of SVN or along side use with SVN use GitHub and maybe BitBucket. (I'll happily host it on GitHub)
    Drop PHP4 support, lets go with PHP5.3 so we can use...
  15. Replies
    15
    Views
    1,114

    Firefox feels to much like Chromium now, even...

    Firefox feels to much like Chromium now, even more so when you look at comparing it to RockMelt.
  16. Thread: Ruby

    by Karlos94
    Replies
    7
    Views
    867

    @a_bertrand: Well it is all down to personal...

    @a_bertrand: Well it is all down to personal opinion really, and I for one love Ruby and how Rails operates. Also due to how easy it is to get a framework, I simply love it. I understand your view...
  17. Thread: Ruby

    by Karlos94
    Replies
    7
    Views
    867

    Ruby

    http://www.ruby-lang.org/images/logo.gif


    I'm just wondering if anyone in this community knows Ruby, and if so to what extent?

    I'm just wondering because it is a great, especially if you use...
  18. Thread: MCC v2.0.3

    by Karlos94
    Replies
    124
    Views
    9,887

    Why not help them to fix it instead of...

    <rant>

    Why not help them to fix it instead of whining about it? Sorry, it's people like you who get on my nerves. Expect everything, get nothing and the moan about it!
    In general that it the...
  19. Replies
    24
    Views
    2,016

    Removal of the V3 discussion board I mean it has...

    Removal of the V3 discussion board I mean it has been there for since May '10 as it only had four threads, for a start?
  20. Replies
    7
    Views
    1,005

    Sorry, I'be been away since Friday night and just...

    Sorry, I'be been away since Friday night and just got round to reading the latest comments!

    All I can really say is thanks guys!
  21. Replies
    24
    Views
    2,016

    Does the McCode board really need all those child...

    Does the McCode board really need all those child boards underneath them?
  22. Thread: MCC v2.0.3

    by Karlos94
    Replies
    124
    Views
    9,887

    It's located at:...

    It's located at: http://v203.mccodes.com/staff_special.php?action=userlevel&level=1&ID=1 ;)
  23. Replies
    7
    Views
    1,005

    Quote taken from: http://gravatar.com/

    Quote taken from: http://gravatar.com/
  24. Replies
    7
    Views
    1,005

    Gravatar PHP5 Class

    Well, it's been a while since I was here at MWG, but anyway..

    I was using the Gravatar API using procedual code (Eurgh, I know) earlier and I got bored of coding it that way. So, I decided to...
  25. Replies
    6
    Views
    624

    I agree with Dave, little did I know he was...

    I agree with Dave, little did I know he was posting what I was basically going to post.. http://php.net/curl

    @doublet; I have to disagree with you here, AJAX would just be an enhancement. Just...
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4