# # ###### # ###### ####### ##### ####### ###### #######
# # # # # # # # # # # # # # #
# # # # # # # # # # # # # #
# # ###### # # # ##### # # # # # #####
# # # # # # # # # # # # # #
# # # # # # # # # # # # # # #
##### # # ####### ###### ####### ##### ####### ###### #######
**********************************************
* urldecode 1.0 is ©1997 Julien PERVILLE *
**********************************************
Hello cgi freaks :o)
Here is a little urldecoder, with sources in ANSI C for your Miga or your Unix workstation !!!
I've also supplied the Amiga® executable (was a great machine, isn't it?).
Just for fun, Amiga® users can look at the sample AREXX® script to see how to
use urldecode into these kind of scripts...
o How to install?
Just take your binary in the bin/ directory
- urldecode_AIX4_PPC for AIX users (PowerPC 604)
- urldecode_AMIGA_MC68030 for 030 Amigas users
- urldecode_SYSV_MC88100 for MC88100 SysV users
and rename it 'urldecode'
o I've not found a binary for my machine...
Go in the src/ drawer and <<make>> urldecode
o How to make my own working version of urldecode?
go into the src/ directory and edit the Makefile
then, simply type 'make'
if it does not work
'gcc -o urldecode urldecode.c' should be OK
o How to use it into my scripts?
For Un*x users, use urldecode on *sh scripts like this:
query_string_purged=`urldecode $QUERY_STRING`
.
.
.
echo "$query_string_purged\n"
For others languages, I let you guess :o)-
Notice: urldecode 1.0 is ©1997 Julien PERVILLE
To join me:
Em@il:
mailto:perv@mygale.org
mailto:perville@info.iuta.u-bordeaux.fr
SnailMail:
Julien PERVILLE
37 rue Castéja
F-33 000 BORDEAUX
FRANCE
tel: +0033 05 56 81 60 36
|