Stass [S], on Friday, January 27, 2006 at 12:21 (+0600) wrote the
following:
S Can someone suggest an optimized algorythm of the random playlist?
S I can make it through array - but it is not good in my mind to rearrange
S the array after element delete...
if you know shuffle good algorythm such
Stass [S], on Thursday, January 26, 2006 at 16:54 (+0600) made these
points:
S s#ANYTHING#SOMETHING#g
$anything = html text;
s/\Q$anything/something/g;
--
How do you protect mail on web? I use http://www.2pu.net
[Bother, said Pooh as he entered the Badlands.]
--
To unsubscribe, e-mail:
Neville Hodder [NH], on Tuesday, July 19, 2005 at 14:54 (+0100) wrote
about:
NH How can I achieve a returned selected filename within a simple CGI
NH script?
you should read more about it on excelent webpage:
http://www.cs.tut.fi/~jkorpela/forms/file.html
--
How do you protect mail on web? I
TAO, NENGBING [AG/1000] [TN], on Wednesday, April 27, 2005 at 16:58
(-0500) wrote:
TN Is there a standard way to deal with special
TN characters like (r), (c) etc in a CGI form and store the data in
TN an Oracle database?
what about HTML escaping ? You store them in db normally, show to
TapasranjanMohapatra [T], on Wednesday, April 27, 2005 at 11:33
(+0530) has on mind:
T How do I set the path for CGI? If I do a print on $ENV{'PATH'},
T I get /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
that's ok.
#!/usr/bin/perl
$| = 1; #always use this
print Content-type:
TapasranjanMohapatra [T], on Monday, April 25, 2005 at 17:51 (+0530)
wrote:
T The directory and files have all permissions (777) recursively.
T I see the same problem when I do grep pattern ../directory/* also.
T Can someone tell me what may be the problem.
maybe your path is not well set up.
Hi all,
I have simple question, in my CGI script I have:
print $query-header(-type='image/jpg');
print my $image = im_new($param);
im_new() return image. Image shows, when I open URL
in opera, mozilla, but when I open it in Internet Explorer,
it opens open/save dialog. I expect same behavior
David Dorward [DD], on Thursday, February 10, 2005 at 09:41 (+)
wrote about:
print $query-header(-type='image/jpg');
DD This is wrong, the registered MIME type for JPEG images is image/jpeg
thanks a lot, problem solved! :)
--
...m8s, cu l8r, Brano.
[When the going gets tough, the tough
Paul Archer [PA], on Friday, February 4, 2005 at 08:14 (-0600 (CST))
thinks about:
I think he means that he wants his perl to generate HTML containing PHP.
PA Understood. My point was more along the lines of: What do you really want
PA to do, and why don't you state that clearly, instead of
Hi all,
My friend is making website in PHP, but my scripts are in Perl, for
example user write some text, and I want for example print it
uppercase (I know, bad example, but I want/have to do it - something
different and more complex - in my case via Perl).
So I'm thinking how to do it best.
Sean Davis [SD], on Tuesday, November 30, 2004 at 05:55 (-0500) typed:
SD Perhaps you should tell us exactly what you want to do. For CGI, many
SD cgi application environments build in a post-processing hook that is
SD called right before the HTML is dumped to the browser. However, one
SD still
Robert [R], on Tuesday, November 30, 2004 at 09:15 (-0500) contributed
this to our collective wisdom:
R I have seen in a few scripts now, including some of the articles that Mr.
R Schwartz has written. I have read it does something with the buffers but on
R a more technical level what is that?
Marek Kilimajer [MK], on Tuesday, November 30, 2004 at 15:59 (+0100)
wrote:
MK Just my idea, not sure if it will work: use urlrewriting to catch all
MK requests with one script, in that script read the original request, call
MK it and catch it's output. hope you understand me :)
no, I don't.
hi all,
is there any possibility, how to easy and fast install some script,
which changes perl script output ? For cleaner explanation:
I want do script which takes *any* (perl,cgi site) output, parse it for
mails ([EMAIL PROTECTED]) and all occurencies changes to [2g]-at-[2g]_us
for example. I
Sean Davis [SD], on Monday, November 29, 2004 at 17:45 (-0500) has on
mind:
SD Probably the simplest way is to save all your output into a variable, say
SD $html, rather than printing directly, as you would typically. Then, make a
SD simple function that displays $html and performs any filtering
Hi all,
I am looking for easy encoding-decoding function, which takes
bytes 0x00 - 0xff and encode them to [a-z0-9-_] characters and vice versa.
I looked at MIME, UUE, XXE, but all of them uses neither not allowed
chars, or they are case sensitive. I need only characters, which I can
use in URL,
Hi all,
I am thinking about using this module, but I found many similar (for
example GEO::IPfree and so on). I have question - which module is
good in its free version ?
Thanks.
-=x=-
Skontrolované antivírovým programom NOD32
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Cat [C], on Thursday, November 4, 2004 at 15:35 (+1100) made these
points:
C So, I am not sure that it would be a great idea to call a
C subroutined directly from a fixed html page even if it can be
C doneso how else would I call my headers. footers etc using
C perl. Tis the question at the
Hi all,
I can't find $subj$, exists something like that ? I searched in ppm,
and I found only Apache-Request-Redirect [0.05].
thanks a lot
/brano
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi pals,
I found one simple, for me very interesting page, tak a minute look
to www.kodytek.net (see source XHTML)
It is simple (?) xhtml + css site, I like source and design of it very
much.
Please tell me which perl modules should I use for creating such a
site. I think about using CGI +
Bob Showalter [BS], on Friday, September 10, 2004 at 10:33 (-0400)
wrote these comments:
I want print all items into table, table should have 3 columns.
I don't know how to do it.
BS What you have prints one row with two columns. It looks like perhaps you
BS want two rows with three columns in
Hi CGIers!
I have small question about putting variables into CGI script, which
produces table, here is snip of code:
use CGI qw(:standard);
#...
open FH, items.txt or die Can't open $!;
my @items = sort FH;
print table(
{-border=undef},
caption('Choose your favourite brand:'),
Hi all,
I am really new to CGI, my 1st question is, which Perl modules should I
use for creating XHTML documents ? Write me, which one are good, where
I can read more about this...
Thanks.
/Brano
-=x=-
Skontrolované antivírovým programom NOD32
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
23 matches
Mail list logo