PHP Classes
elePHPant
Icontem

File: image_play.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of mithereal  >  Image CAPTCHA  >  image_play.php  >  Download  
File: image_play.php
Role: Example script
Content type: text/plain
Description: image captcha helper
Class: Image CAPTCHA
CAPTCHA validation using a fixed list of images
Author: By
Last change:
Date: 5 years ago
Size: 447 bytes
 

Contents

Class file image Download
<?php

include 'image_captcha.php';
$img = new captcha();
header('Content-type: audio/x-wav');
header('Content-Disposition: attachment; name="captcha.wav"');
header("Expires: Sun, 1 Jan 2000 12:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
$img->audio();
?>