Login   Register  
PHP Classes
elePHPant
Icontem

File: example/example2/webService.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of amir hoseinian  >  Securify  >  example/example2/webService.php  >  Download  
File: example/example2/webService.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Securify
Generate passwords replacing random characters
Author: By
Last change:
Date: 2 years ago
Size: 269 bytes
 

Contents

Class file image Download
<?php 
//it`s a web service that get string in json format and securify it

if(isset($_POST['data'])){
    
$request json_decode($_POST['data']);
    require_once(
"../../Securify.php");
    
$securify = new Securify;

    echo 
$securify(
        
$request->string,
        
$request->lvl
    
);
}