PHP Classes
elePHPant
Icontem

File: send.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jason Browatzke  >  URL Encoder  >  send.php  >  Download  
File: send.php
Role: Example script
Content type: text/plain
Description: Main class
Class: URL Encoder
Encode data to pass securely between two pages
Author: By
Last change: Change in workability
Date: 10 years ago
Size: 287 bytes
 

Contents

Class file image Download
<?

include('class.get_crypt.php');

$vals['Var1'] = 'Value 1';
$vals['Var2'] = 'Value 2';
$vals['Var3'] = 'Admin';
$vals['Var4'] = 'nimdA';

$cry = new get_crypt(); // Encoded data is good for an hour

$enc = $cry->encode($vals);

header("Location: rec.php?data=$enc");
?>