I'm currently using this code to generate an hyperlink in an .xls file from an intranet server.
This .xls file is an order I submit by email to one of my supplier.
/* WEBSERVER1 */
$ORDER=$_GET['ORDER'];
$EZAB=$_GET['EZAB'];
$IP=$_GET['IP'];
$ARRAY = array(
"ORDER" => $ORDER,
"EZAB" => $EZAB,
"IP" => $IP);
$SERIAL=serialize($ARRAY);
$q=base64_encode($SERIAL);
$URL="http://mywebsite/?q=".$q
$EXCELHYPERLINK='=hyperlink("'.$URL.'")';
I want my supplier to click on the link in the .xls file to confirm the order has been processed, instead of replying to the original email.
The intranet server not being accessible from the outside world, the link is pointing on a webserver hosting the following code.
/* WEBSERVER2 */
$q=$_GET['q'];
$SERIAL=base64_decode($q);
$ARRAY=unserialize($SERIAL);
// Do something...
I would rather prefer not to use database.
Do you have any thought on how i can make the content of the "$KEY" not that easy to find out?