DISQUS

Technosailor: Alpha Payment System Completed

  • Bald Man · 3 years ago
    So, is that the "top secret" project? Sounds real nice.
  • Aaron · 3 years ago
    Yep, it's coming along. :-)
  • Jesse · 3 years ago
    That would explain the mysterious "PHPing b5media" I see as your away message every time I see you on gmail talk.

    That's a pretty slick setup you're working on, I just wanted to remind you to make sure to put that php call we talked about to automatically add two zeros to all of my payments
  • Aaron Brazell · 3 years ago
    That would be the project. And This build of PHP doesn't have that function! ;)
  • Bald Man · 3 years ago
    Jesse,
    You need to be more specific on whether those two zero's belong before or after the decimal.
  • Jesse · 3 years ago

    <php>
    < ?php if (!is_jesse()) { ?>
    < ?php add_two_zeros(oo); ?>
    < ?php } elseif (is_other_blogger()) { ?>
    < ?php remove_two_digits(); ?>
    < ?php } ?>
    </php>

    --

    what are the chances that would work?

    what are the chances that's remotely close to proper php?

  • jayvee f. · 3 years ago
    hey this is really neat aaron. glad youre working on something like this to make payments faster. :)
  • Jonic · 3 years ago
    &lt;?
    php if (is_jesse($blogger)) {
    add_two_zeros();
    } else {
    remove_two_digits();
    }
    ?&gt;

    What you told it to do before ("if (!is_jesse())") was going to add two zeros to any blogger that wasn't Jesse!

    That's assuming that the function is_jesse took the returned true if the blogger is Jesse and false in any other case, which would of course be the right way to do it.

    The elseif was also unnecessary too because if the blogger not Jesse then it automatically "is_other_blogger" :)

    Anway, sounds great so far Aaron... I guess us lowly bloggers will never get to see it, but it'll save a huge chunk of time on the CE end I'm sure... Nice work! :)
  • Jesse · 3 years ago
    you see, that's why you're a coder and I am not. I'm still mostly clueless in php
  • Jonic · 3 years ago
    I wouldn't really call myself that much of a PHP developer these days... It's been ages since I properly tackled anything... I could never make anything like this wonderful app Aaron's made...