PHP code example of lzy / hidemessage
1. Go to this page and download the library: Download lzy/hidemessage library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lzy / hidemessage example snippets
/**
* 写入内容
* @param string $img_path 图片位置
* @param string $new_img_path 新图片位置
* @param string $content 写入内容
* @param boolean $ole_delete 是否删除原图
* @throws \Exception
*/
ImgHide::writeMessage($img_path, $new_img_path, $content, $ole_delete=false);