Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
180
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None
  1. $scope.convertMd5 = function (string) { // retorna string em md5
  2. var sl;
  3. $http({
  4. method: 'POST',
  5. url: '../assets/php/client/Users.php',
  6. data: {ref: 'convert-md5', str: string},
  7. dataType: 'html',
  8. }).success(function (data) {
  9. sl = data;
  10. return sl;
  11. });
  12. }
Advertisement
RAW Paste Data Copied
Advertisement