Search:

Type: Posts; User: Scott McCollough; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds; generated 20 minute(s) ago.

  1. Re: Correctly rotate mobile phone pictures

    None of the built-in tools read EXIF. The only way to read it is a tedious process of reading byte by byte, and looking up a long list of codes, counting varying byte sizes, and other brain teasers.
  2. Re: Correctly rotate mobile phone pictures

    Thanks Bruce, but not really what I was hoping for. I wouldn't know ahead of time what images need to be rotated and which don't.
  3. Correctly rotate mobile phone pictures

    Preface: This is for a non-Miva Merchant website. Unless I can add their source code into my own project, referencing modules, add-ons, or MM built-in functionality are not workable options.

    A...
  4. Replies
    11
    Views
    306

    Re: MivaScript equivalent of print_r?

    Bruce,

    I like this output, but I have a couple comments.
    1) It would be amazing if it was recursive. I tried it a structure within a structure and it spaces nicely, but it would be cool if the...
  5. Re: Is there a way to get the dimensions of a pre-existing image?

    Thanks, Burch.

    In looking at the LSK, it seems you're doing exactly what I plotted out, but through a number of function calls.

    However, I'm building this for a non-Merchant project so I will...
  6. Is there a way to get the dimensions of a pre-existing image?

    The title says it all. Basically, is there a simple way to get the height and width of an existing image?

    MivaScript has gdImageSX and gdImageSY, but they don't work on saved image files; they...
  7. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    Hi Rick

    Has there been any further news about this update? I finally have a working php module I can drop in, but I'd rather not need to do a bunch of re-configuring if I can help it.

    Thanks
  8. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    I know you guys are getting ready for the expo, but are there any updates to extending this change, or white-listing Miva Empresa users?

    Thanks,

    /Scott Mc
  9. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    donb,

    Thanks for posting that. I was thinking about going that route also, but unfortunately about 80% of my transactions are subscription based. So for all the one-time sales, I could use the...
  10. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    Year? How about month? That deadline is just a hair over a month away. If MivaMerchant doesn't get a new engine out quickly, there are going to be a LOT of merchants scrambling to find a replacement....
  11. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    Don,

    Can you post a link to where you got this information? I don't see an email regarding this, and in my web searching for an answer, I've seen dates that this switch-over will happen anywhere...
  12. Re: HTTP protocol level for MvCALL - 1.0 or 1.1

    I'm in the same boat... I have a custom built website that uses Paypal IPN for member fees.

    Keep us updated with how the negotiations the PayPal go.
  13. Re: Provision.xml implemented in MM 4.x?

    In 4.x there wasn't a provide.xml, but there was something similar; provide.dat if I recall. Really ugly to work with, but so long as it's supported in your clients version it might work.
  14. Replies
    1
    Views
    409

    Diff Engine?

    Has anyone worked on / thought about / designed a difference engine using MivaScript?

    Specifically, I'm creating a CMS where members add content. But someone will validate all content before...
  15. Replies
    8
    Views
    1,002

    Re: Easy way to read a cookie contents

    Would you believe all of the above?

    I did a lot of testing of cookies a few months ago, so while I know a lot about this, it's been a while so I may be suffering from post-trauma bad memory.

    1....
  16. Replies
    8
    Views
    1,002

    Re: Easy way to read a cookie contents

    Yes, you need to create a loop to iterate through s.http_cookie with gettoken().

    The basic pseudo-code would be

    l.pos = 1
    l.cookie = gettoken( s.http_cookie, ';', l.pos )
    while len( l.cookie...
  17. Re: Is there a cleaner way to do this

    Alternate:


    <a href="{ '/profile.mvc?id=' $ g.query[g.rowid]:profile_id }"><MvEVAL EXPR="{ g.query[g.rowid]:profile_name }"></a>


    Pretty much anywhere HTML has a quoted value inside a tag, if...
  18. Re: Mivascript usage beyond Miva Merchant

    To me, I'd be happy if Miva Merchant reached out to help write/create/endorse expansion libraries for the engine. I know that was a big thing when the VM version came out in that external libraries...
  19. Re: Mivascript usage beyond Miva Merchant

    I personally look for excuses to write mivascript. I write it for my 9-5 *and* for my every-other-waking-moment job.

    For my normal gig, I've developed a task tracker, log parsers, a drop down...
  20. New California Laws Taking Effect Jan 2014

    http://www.politico.com/story/2013/10/california-internet-privacy-policy-97964.html

    There are a few laws coming down the pike that are going into effect on Jan 2014. The one that would most likely...
  21. Didn't MivaScript used to do Short circuit evaluation?

    http://en.wikipedia.org/wiki/Short-circuit_evaluation

    I though that MivaScript used to do short-circuit evaluation. In other words, given an IF statement, it will only evaluate up to the point...
  22. Replies
    0
    Views
    477

    Random number generator max?

    Is there a maximum to the random number generator in MivaScript? I ask as I'm building a code generating program and I need a sufficiently high value to start as the beginning of the string.

    Given...
  23. Replies
    4
    Views
    815

    Re: Getting content-type of a file?

    file_read( 'my_file.txt', 'DATA', l.whole_file )
    if
    isprint( glosub( glosub( l.whole_file, asciichar(10), '' ), asciichar(13), '' ) )
    then
    eval encodeentities( l.whole_file )

    Basically read...
  24. Replies
    1
    Views
    622

    Re: miva_output_header problem

    Here is the code I use for my mod_rewrite util:


    <MvASSIGN NAME = "l.ok" VALUE = "{ miva_output_header( 'Status', '302' ) }">
    <MvASSIGN NAME = "l.null" VALUE = "{ miva_output_header(...
  25. Replies
    4
    Views
    660

    Re: Downloadable docs?

    Is there a more recent MivaScript guide available for download? The PDF linked to on that same page still has the red version of the swirl blades it's so old.

    The page also links to the mivascript...

Results 1 to 25 of 163

Page 1 of 7 1 2 3 4