Re: when javascript is disabled in browser

2011-03-17 Thread J Alejandro Ceballos Z
Use Javascript disabled Atentamente, J. Alejandro Ceballos Z. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

SUMMARY: Problem uploading large files (broken storing)

2010-03-07 Thread J Alejandro Ceballos Z
problem solutioned. Atentamente, J. Alejandro Ceballos Z. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Problem uploading large files (broken storing)

2010-03-01 Thread J Alejandro Ceballos Z
ram('video_filename') || 0; my $str_buffer; if (open (hFILE, ">$str_STOREDIR/$str_filename")) { binmode hFILE; binmode $file_file; while (read($file_file,$str_buffer,1024)) { print hFILE $str_buffer; } close (hFILE); } A

Dumping vars from CGI with Data::Dumper (2)

2009-12-30 Thread J Alejandro Ceballos Z
at the last post, it is print Dumper(param); (without the @) -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Storing a file from a cgi parameter

2009-06-21 Thread J Alejandro Ceballos Z
tion about what I am doing wrong or what should I do in order to make it work? I suggest that you try the CGI::UploadEasy module. http://search.cpan.org/dist/CGI-UploadEasy/ Atentamente, J. Alejandro Ceballos Z.

Storing a file from a cgi parameter

2009-06-16 Thread J Alejandro Ceballos Z
binmode hFILE; while (read($file_file,$str_buffer,1024)) { print hFILE $str_buffer; } close (hFILE); } Atentamente, J. Alejandro Ceballos Z. w: http://alejandro.ceballos.info e: bu...@alejandro.ceballos.info m: +52 (33) 1411.6079 -- To

Looping Dates.

2008-01-20 Thread J Alejandro Ceballos Z
d-time-functions.html J. Alejandro Ceballos Z.

Re: Dumping all vars

2006-10-05 Thread J. Alejandro Ceballos Z. -JOAL-
later dissapear. Thats why I planned a var dump. Part of the CGI module: http://search.cpan.org/~lds/CGI.pm-3.25/CGI.pm#FETCHING_THE_NAMES_OF_ALL_THE_PARAMETERS_PASSED_TO_YOUR_SCRIPT%3A -- Atentamente, ,_, (O,O) J. Alej

Dumping all vars

2006-10-03 Thread J. Alejandro Ceballos Z. -JOAL-
) J. Alejandro Ceballos Z. [EMAIL PROTECTED] ( ) -"-"- http://alejandro.ceballos.infomovil: (33) 3849-8936 -- To unsubscri

RE: Convert utf-8 XML Document to ISO format

2006-08-07 Thread J. Alejandro Ceballos Z. -JOAL-
do inverse convertion. -- Atentamente, ,_, (O,O) J. Alejandro Ceballos Z. [EMA

Out of memory while Inserting

2006-08-03 Thread J. Alejandro Ceballos Z. -JOAL-
finish". If it is at the end... the programs first become out of memory. I tried using a sleep command, but it is not working. Any idea about how to prevent that "out of memory". Or maybe is another kind of error? -- ,_,

Re: How do I send a HTTP/1.1 202 (Accepted)

2006-08-03 Thread J. Alejandro Ceballos Z. -JOAL-
at exactly would I do, this?: print header('text/html','202 Accepted'); Thanks ,_,

Problems with CGI and mod_perl

2006-06-09 Thread J. Alejandro Ceballos Z. -JOAL-
I am running ubuntu on my pc and I installed the package mod_perl ... Did you installed directly (perl Makefile.PL and so on...) or used the cpan command (mihost# sudo cpan ) ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maybe off-topic. Detecting code used

2006-04-25 Thread J. Alejandro Ceballos Z. -JOAL-
, ,_, (O,O) J. Alejandro Ceballos Z. [EMAIL PROTECTED] ( ) -"-"- http://alejandro.ceballos.infomovil: (33) 3849-8936 -- To unsu

Just to know why ?: is not working here

2005-06-13 Thread J. Alejandro Ceballos Z.
gi_this->redirect(-uri=>$str_redirecto); } # # end of cgi works fine. ($cgi_this is my CGI object) Why is this? TIA, J. Alejandro Ceballos Z. | ---+-- http://alejandro.ceballos.info | [EMAIL PROTECTED] | -- To

Re: One line file as an array (Form included)

2004-11-26 Thread J. Alejandro Ceballos Z.
Password: -- Saludos, J. Alejandro Ceballos Z. | ---+-- http://alejandro.ceballos.info | [EMAIL PROTECTED] | ---+

One line file as an array

2004-11-25 Thread J. Alejandro Ceballos Z.
? use CGI; my $cgi_this = new CGI; my $str_file = $cgi_this->param('file'); $str_file =~ s/\s+/ /gs; my @arr_sqlqueries = split (/;/, $str_file); - I hope is not an other B&B (basic and blind) error - Saludos, J. Ale

Partial interpolation over pattern sustitution

2004-08-17 Thread J. Alejandro Ceballos Z.
hen the matches contains regex characters, and they try to be evaluated (ex. '|+--..' must be interpeted like '\|\+--\.\.'). Is the only solution implement a pre-transform regex characters? Any better (and fine) solution? TIA, -- Sa

A cookie is not stored

2004-05-04 Thread J. Alejandro Ceballos Z.
cookie(-name=>'session', -value=>$value2); # print $cgi_this->redirect(-uri=>$returnpage); # print $cgi_this->header(-cookie =>[$cook_admin,$cook_session]); print $cgi_this->header(-cookie =>[$cook_admin,$cook_session], -location=>$returnpage); -- Saludos,

Sending a parameter to a subroutine

2004-04-13 Thread J. Alejandro Ceballos Z.
dmin_login = 'my value') :: 1 ERROR: 1 1064 (You have an error in your SQL syntax near '1 ' at line 1) Where it comes the '1'? I must use pointers or similar? -- saludos, J. Alejandro Ceballos Z. | ---+

Re: LWP get with no cache (code)

2004-01-23 Thread J. Alejandro Ceballos Z.
> &ReadInput(*cInput); >Eeek! "use CGI". "use CGI". "use CGI". Not this stuff. > I didn't read any further. My mind rejects CGI scripts that are > written this poorly. If you see CGI.pm, ReadInput and

Re: LWP get with no cache (code)

2004-01-22 Thread J. Alejandro Ceballos Z.
onvert spaces $cData[$nParam] =~ s/\+/ /g; # Separate key and value to later re-convert special chars ($cKey, $cValue) = split(/=/,$cData[$nParam],2); $cKey =~ s/%(..)/pack("c",hex($1))/ge; $cValue =~ s/%(..)/pack("c",hex($1))/ge; # Associate key and value i

LWP get with no cache

2004-01-22 Thread J. Alejandro Ceballos Z.
cache? Like a pragma no-cache or similar? TIA J. Alejandro Ceballos Z. | ---+--- http://alejandro.ceballos.info | [EMAIL PROTECTED] | "A menudo la razón comete errores ---+ pero nunca lo h

Re: Special characters

2003-12-28 Thread J. Alejandro Ceballos Z.
ween browsers. -- saludos, J. Alejandro Ceballos Z. | ---+--- http://alejandro.ceballos.info | [EMAIL PROTECTED] | "A menudo la razón ---+ comete errores,

Re: special characters

2003-12-24 Thread J. Alejandro Ceballos Z.
or your help. Teddy, teddy.fcc.ro [EMAIL PROTECTED] -- saludos, J. Alejandro Ceballos Z. | ---+--- http://alejandro.ceballos.info | [EMAIL PROTECTED] | "A menudo la razón ---

Re: Only working with parameters

2003-10-31 Thread J. Alejandro Ceballos Z.
The links are real, and the message sent is "Premature end of scripts headers", like if I tryied to print something before sending the header, but I reviewed my code and only at last I send a print message, validated for any kind of call: It looks something like: if ($bExternal) { print "Lo

Only working with parameters

2003-10-31 Thread J. Alejandro Ceballos Z.
I created a CGI that returns an txt code (to display a banner), but what it looks strange to me is that if I call it with only one parameter (type of code to return, and associated variable) it works fine, but if I use an other parameter, it sends me an error message. This works fine: http://w

importing data from first program

2003-01-28 Thread J. Alejandro Ceballos Z.
I have 2 perl programs The first one is using strict, are two variables have a value, but in a procedure it calls a second program, and I want to load the value of the previous variables, but I can't. See example -- program 1: #!/usr/perl # program1.pl use strict; require ("program2.pl"); my

Re: Running a Perl program countinuously

2002-11-18 Thread J. Alejandro Ceballos Z.
Octavian Rasnita wrote: Hi all, I want to make a Perl program that runs permanently without stopping. How can I do this? via shell loop> while true do the program done -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Mailing truncated lines

2002-11-16 Thread J. Alejandro Ceballos Z.
I am running -via cron- a program that catch a webpage and send me the result as a mail. It is something like that: use LWP::Simple; $cResult = get('http://www.some.sit/cgi-bin/status.pl?condition=true'); open (MAIL, "/usr/lib/sendmail -s /"test/" [EMAIL PROTECTED]"); print MAIL "To: me <[EMAIL