in reply to Problems Bleaching
What bleach does is to encode you script as binary and then convert the 0 and 1 to spaces and tabs so it appears invisible. It does this the first time you run the script so if you look at the script after it has been run once you should just see:
#!/usr/bin/perl use Acme::Bleach
ie a couple of lines and a lot of whitespace. When the code is run Acme::Bleach converts it back to plaintext and passes this to perl ie it is a source filter. You script should run on the command line and print the header and the message Test ie:
$./myscript.pl Content-type: text/html Test $
Provided this works then all should be well. The caveat is if for some reason Acme::Bleach is not available within your CGI environment. For security implications (ie lack of) see Unbleach.pl
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Problems Bleaching
by Anonymous Monk on Feb 13, 2003 at 14:33 UTC | |
by tachyon (Chancellor) on Feb 13, 2003 at 14:41 UTC | |
by RMGir (Prior) on Feb 13, 2003 at 14:42 UTC | |
by tachyon (Chancellor) on Feb 13, 2003 at 14:49 UTC |