|
From: | Flavio Torres |
Subject: | Re: [shell-script] Acentos e caracteres especiais em CGI método POST |
Date: | Sun, 01 Mar 2009 19:56:36 -0300 |
User-agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kurt Kraut wrote: > > E o script grava.sh: > > #!/bin/bash > VAR=$(sed -n 1p) > echo "$VAR" >> /tmp/bruto.txt > > Eu implementaria o grava.sh... #!/bin/bash echo "content-type: text/html" echo echo echo "" VAR=$(sed -n 1p) echo $VAR >> /tmp/bruto.txt echo "</body>" echo "</html>" Verifique que o /tmp/bruto.txt tenha permissao de escrita para o owner do servidor web. []'s - -- /*---------------------------------------------------*/ /* * Flavio Torres - Administrador de Sistemas*/ /* /_\ */int y,z;main(x){x=(x>0?-9:x);z=((z=(x+5) /* o. .o */)>0?z:-z);printf(!x&&++y?"\n":z?z>y%3+y/ /* ((Y)) */3?" ":x<-5?"/":"\\":y?"|":"*");y-9?main( /* ()) (() */++x):puts(" _|_|_")&&puts(" \\___/");} /* ()^() A party animal isn't just for Christmas.*/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) iEYEARECAAYFAkmrEqQACgkQNRQApncg295yrwCfTWEtaaU9qjTVkrNIAYh98hxf eoEAn10mhcSzZOx4ToG03WgXF2I+3rHQ =dGRO -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |