24/7 Support: 800.608.6482

Get Started

Developer Docs

Mivascript Fucntion Reference

Below are the native built in functions available to any Mivascript or Miva template page. Click on any function for usage examples and parameter definitions. Also visit www.mivascript.com for more details.

abs
acos
asciichar
asciivalue
asin
atan
atan2
bf_decrypt
bf_encrypt
ceil
cos
cosh
crypto_base64_decode
crypto_base64_encode
crypto_cipher_block_size
crypto_cipher_iv_length
crypto_cipher_key_length
crypto_cipher_mode
crypto_digest_block_size
crypto_digest_size
crypto_evp_decrypt
crypto_evp_digest
crypto_evp_encrypt
crypto_evp_hmac
crypto_hmac_md5
crypto_hmac_sha1
crypto_hmac_sha256
crypto_last_error
crypto_last_ssl_error
crypto_library_version
crypto_md5
crypto_pbkdf1
crypto_pbkdf2
crypto_rand_bytes
crypto_rand_set_rand_engine
crypto_sha1
crypto_sha256
crypto_xor
decodeattribute
decodeentities
dir
encodeattribute
encodeentities
exp
fchmod
fcopy
fdelete
fexists
file_append
file_create
file_read
file_read_bytes
file_touch
fisdir
floor
fmkdir
fmod
fmode
frename
fscopy
fsize
fsrename
fsymlink
ftime
glosub
glosub_array
How To Guides | Google Shopping
indexof
indexofi
indexofl
indexofli
int
isalnum
isalpha
isascii
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
keyword_extract
keyword_extract_merge
keyword_extract_merge_init
keyword_extract_merge_results
keyword_in
len
len_var
log
log10
ltrim
makesessionid
miva_array_binarysearch
miva_array_clear
miva_array_collapse
miva_array_copy
miva_array_copy_ref
miva_array_delete
miva_array_deserialize
miva_array_elements
miva_array_filter
miva_array_filter_ref
miva_array_find
miva_array_insert
miva_array_insert_ref
miva_array_insert_var
miva_array_max
miva_array_merge
miva_array_merge_ref
miva_array_min
miva_array_next
miva_array_pop
miva_array_pop_ref
miva_array_previous
miva_array_search
miva_array_serialize
miva_array_shift
miva_array_shift_ref
miva_array_sort
miva_async_sleep
miva_cdata_encode
miva_closelog
miva_csv_encode
miva_element_exists
miva_getvarlist
miva_hex_decode
miva_hex_encode
miva_html_strip
miva_ieee754_normalize
miva_lockfile
miva_member_exists
miva_openlog
miva_output_flush
miva_output_header
miva_setdefaultdatabase
miva_setdefaultlanguage
miva_setlogmask
miva_setprocessname
miva_sleep
miva_struct_members
miva_struct_merge_ref
miva_template_compile
miva_template_compile_dump
miva_template_compile_itemlist
miva_variable_value
miva_writelog
mktime_t
padl
padr
power
random
rnd
rsa_free
rsa_generate_keypair
rsa_generate_keypair_mem
rsa_generate_keypair_mem_cipher
rsa_load_privatekey
rsa_load_privatekey_engine
rsa_load_privatekey_mem
rsa_load_publickey
rsa_load_publickey_engine
rsa_load_publickey_mem
rsa_private_decrypt
rsa_private_encrypt
rsa_public_decrypt
rsa_public_encrypt
rsa_save_privatekey
rsa_save_privatekey_mem
rsa_save_privatekey_mem_cipher
rsa_sign
rsa_verify
rtrim
schmod
scopy
sdelete
sexists
sfcopy
sfrename
sin
sinh
sisdir
smkdir
smode
sqrt
srandom
srename
ssize
ssymlink
stime
How To Guides | Subscription Management
substring
substring_var
tan
tanh
tar_create
tar_directory
tar_extract
timezone
time_t_dayofmonth
time_t_dayofweek
time_t_dayofyear
time_t_hour
time_t_min
time_t_month
time_t_sec
time_t_year
tokenize
tolower
toupper
trim
wdownload
wget
x509_create
x509_free
x509_load
x509_rsa_publickey
x509_verify
xml_parse
xml_parse_error
xml_parse_section
xml_parse_section_getstate
xml_parse_section_init
xml_parse_section_setstate
xml_parse_set_colon_replacement
xml_parse_var

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2016 Miva, Inc - All Rights Reserved

Back To The Top