SuperCard Shell Essentials

 

php via shell

Page history last edited by John Johnston 3 yrs ago

php via shell

You can use php via shell

 

Example 1: this script creates an md5 hash of a string:

 

function md5 thestring
return shell(merge("php -r `echo md5('[[thestring]]');`"))
end md5

so put md5 ("mypassword") will return 34819d7beeabb9260a5c854bc85b3e44

Comments (0)

You don't have permission to comment on this page.