Announcement

Collapse
No announcement yet.

MivaScript.com updated to 5.32 -- Includes Redis

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MivaScript.com updated to 5.32 -- Includes Redis

    MivaScript.com has been updated. to 5.32. New topic added for the Redis functionality.
    • V 5.32
    • file_set_time()
    • crypto_next_error()
    • crypto_next_error()
    • crypto_clear_error()
    • crypto_evp_sign()
    • crypto_evp_verify()
    • evp_pkey_load_pubkey_x509()
    • crypto_last_error() updated.
    • trim(), ltrim(), rtrim() updated for arrays.
    • MvCALL: added content "application/json"
    • evp_pkey_load_mem() updated.
    • Redis: Added support for Redis

    Ray Yates
    "If I have seen further, it is by standing on the shoulders of giants."
    --- Sir Isaac Newton

    #2
    Nice work, Ray, thanks.

    For using redis from Miva, your example uses port number 6379. Is that a standard or required port number?
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      That is the default port for redis. You can change the configuration to any port you want and then pass that port number to redis_connect.
      David Carver
      Miva, Inc. | Software Developer

      Comment


        #4
        Reposting here from another thread - wondering if this is doable?
        ===============

        Ok - next question.... when trying to compile using the examples at mivascript.com I get:

        CE_167: Function name 'redis_connect' not defined nor recognized as an external function.
        CE_167: Function name 'redis_last_error' not defined nor recognized as an external function.
        CE_167: Function name 'redis_incr' not defined nor recognized as an external function.
        CE_167: Function name 'redis_get' not defined nor recognized as an external function.
        CE_167: Function name 'redis_disconnect' not defined nor recognized as an external function.

        Is there a newer mvc to handle this? I am running 5.32
        William Gilligan - Orange Marmalade, Inc.
        www.OrangeMarmaladeinc.com

        Comment

        Working...
        X