>
> Well what was happening was this
>
> $escmode=0;
> [- Execute("") -]
>
> and it turned out that within the component $escmode was not zero. I
> managed to get round it easily enough, by setting $escmode in the
component.
> But it's odd it didn't seem to get passed. Maybe it's just me! :
> Using the following code ( EPL 1.3.1 ) :
>
> .
>
> my $fh = new FileHandle( $fdat{filename}, 'r');
>
> $req_rec->content_type( 'binary/octet-stream' );
> $req_rec->header_out( 'Content-Disposition', "inline;
> filename=$fdat{filename};" );
> $req_rec->send_http_header;
>
> $req
>
> open(MEM,'/proc/meminfo');
> while () {
> $tmp = ;
Set optRawInput or escape the as \ because otherwise Embperl
treats it as HTML tag and not as filehandle. See the Faq escaping/unescaping
for more infos
Gerald
-
To unsu
Using the following code ( EPL 1.3.1 ) :
.
my $fh = new FileHandle( $fdat{filename}, 'r');
$req_rec->content_type( 'binary/octet-stream' );
$req_rec->header_out( 'Content-Disposition', "inline;
filename=$fdat{filename};" );
$req_rec->send_http_header;
$req_rec->send_fd( $fh );
check out:
http://perl.apache.org/embperl/Embperl.pod.11.html#1_Remove_the_HTML_tags_Now_it_
also, see inline comment below.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Bjoern wrote:
> Hi all,
>
> i want to try the following action in HTML document parsed by EMBPERL
> 1.2.1 :
>
> [-
>
>
Hi all,
i want to try the following action in HTML document parsed by EMBPERL
1.2.1 :
[-
open(MEM,'/proc/meminfo');
while () {
$tmp = ;
};
close(MEM);
-]
But my apache process doesn`t do any answer when i send this page.
It takes t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 5:25 AM +0200 3/26/01, Gerald Richter wrote:
> > I'd have to think about what that would mean in a wysiwyg or
>> syntax-sensitive editor. I guess you'd just tell it to treat them as
>> two separate tags--you wouldn't get balancing feedback, but
> > namely that my characters are being escaped; for example & is being
> converted in to &.
> > In normal embperl I'm able to turn this off with a simple $escmode=0,
but
> this doesn't seem
> > to have any effect under AuthCookie.
>
> This should work under AuthCookie as well. Try to read back
> I wrote an embperl script that uploads a file to a web
> server. It works fine on Linux and Macs but not on
> Windows. When I upload a file from a browser using
> Windows 95/98, the file is uploaded to the web server
> but it has 0 bytes in it.
> Here is part of the script that checks a file fro
On Thu, Mar 22, 2001 at 11:27:28PM +0200, Aivo Kalu wrote:
> #dump -nv /usr/local/apache/bin/httpd | grep ap_get_client_block
> [621] 0x20013f74.data EXP DS Ldef[noIMid]
> ap_get_client_block
>
> ap_get_client_block is one of missing symbols, make test failed for.
>
> A
I wrote an embperl script that uploads a file to a web
server. It works fine on Linux and Macs but not on
Windows. When I upload a file from a browser using
Windows 95/98, the file is uploaded to the web server
but it has 0 bytes in it.
Here is part of the script that checks a file from
Windows.
11 matches
Mail list logo