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


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts