File: example.php

Recommend this page to a friend!
  Classes of Ákos Nikházy  >  Simple Steganography  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example for both hide and retrieve text
Class: Simple Steganography
Store and retrieve text messages hidden in images
Author: By
Last change:
Date: 7 years ago
Size: 317 bytes



Class file image Download
include 'Simple.Stegonography.class.php';

$a = new Stego();

//This will put the text 'Test' in the example.png image
header('Content-Type: image/png');
imagepng($a -> stegoIt('Test','example.png',1000));

//This will get the text from example2.png
echo $a -> unStegoIt('example2.png',1000)


For more information send a message to info at phpclasses dot org.