In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> prashan kukde menulis pada tgl 06 December 2001 Thursday 04:27 am sbb:
> :: Hi,
> :: I am trying to read data from the form's text field
> :: using PERL script. Following is the perl code I am
> :: using,
> :: $cgiobject = new CGI;
>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> I am developing a community calendar for a local youth group. I want
> to be able to enter information into my 'calendar' web page; and have
> that information be saved in a file for later retrieval and placement
> into the 'calendar'
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Michael
Kelly) wrote:
> > I need to automate a function that hits a site that pops up a login and
> > password box from apaches htaccess. I have my own login and password. How do
> > I
> > post my login and password to bypass the popup window?
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (George Marselis) wrote:
> >I would imagine you're doing this to build some sort of FAQ or
> >document? :-)
> >
> > Casey West
>yes, i am. the CGI books/FAQs i've read, don't deal with bugs very in
> depth. they just mention the 500 inte
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (George Marselis) wrote:
> i'm trying to compile a top ten of why your forms break, i.e. you try to
> press a submit button but it doesn't work.
> any ideas?
i've already compiled most of them in the CGI Troubleshooting Guide
referenced in the
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Zaka rias) wrote:
> if some users come into my site, that script will
> catch the user ip and write it to iplog.txt file
why not simply look in the access log? it should already
have that information.
--
brian d foy <[EMAIL PROTECTED]> - Perl
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> Today my client asked if there was a
> way to track FTP sessions. Since they don't have a standard client for FTP
> sessions, I told him I didn't know of any way in Perl (note: the server logs
> are too big and not available for us to
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Donavon Pfeiffer) wrote:
> Is this a legitimate regex for substituting hex cahrs in a string (I'm
> leaving the replacement string out as I know it's right):
> $letter=~s/%[a-fA-F0-9][a-fA-f0-9]/(pack function)/eg;
just use CGI.pm and you don'
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Angelo Bettati) wrote:
> I'd like to know if there is a way to deny the access to All (except the
> owner of the machine) inside the directory "htdocs" of Apache in which it's
> possible to put even reserved files.doc
change the directory permi
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> --- Brian Jackson <[EMAIL PROTECTED]> wrote:
> > We need to capture data from a website that happens to be a text file.
> > Currently we have to manually save the data via the browser, then
> > manually move the txt data and process it.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Prashant Kukde wrote:
> > I want to load my perl/ CGI script on production server. But, I dont know
> > the root path...
> > Is there anyway to get it using perl script or CGI script ??
> if you're running apache, you can get the doc
In article <002c01c15be0$ace0cc60$a000330a@watertown>,
[EMAIL PROTECTED] (Matthew Mangione) wrote:
> hey im really new to Perl and HTML and so far I've only learned the
> basics of the Perl language. I have been aquainted with C++ however
> and the language is coming to me pretty easily. My jo
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Greg Froese) wrote:
> thanks for all the help with this. I actually did mean HTML Links as I am
> looking to parse out specific links from an HTML file. I'm not only
> concerned with "HTTP" link () but also other HTML flags. Right
> now I'
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brett W. McCoy) wrote:
> On Tue, 16 Oct 2001 [EMAIL PROTECTED] wrote:
> > I need to parse out all http links stored in a local file.
> > How would I go about doing this?
> > which modules would I need to use?
> Take a look at HTML::Parser, w
In article <017501c155cb$0c286320$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Chuck) wrote:
> I am having a hell of a time getting something to work;
> my $cmd = "/bin/ssh -l cci $host \"df -b | grep root | grep -v grep\"";
> @results = `$cmd`;
have you tried Net::SSH?
http://search.cpan.org/s
In article <012301c155a0$8ada3890$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Chuck) wrote:
> my $dh = DirHandle->new($dir);
> return sort
>grep { }
>map { "$dir/$_" }
>grep { !/^\./}
>$dh->read();
> Wher
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> In a message dated 10/8/01 12:06:09 PM Eastern Daylight Time,
> [EMAIL PROTECTED] writes:
> You know, there's another way to avoid that mistake if you're willing to
> change your style a little bit. In all logical tests, put the varia
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brett W. McCoy) wrote:
> On Fri, 12 Oct 2001, Carl Franks wrote:
> > if (condition) {
> > print "Location:page.html\n\n";
> > } else {
> > print "Content-type: text/html\n\n";
> > print "...html...";
> > }
> > }
> BTW, for a Location hea
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Walt Sanders) wrote:
> In the old days of FORTRAN II (!) for example, we just said "go to line #",
> which would be a last statement at the end of the program. Now with no "go
> to" statement, how do you just quit?
well, there is a goto, but
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brett W. McCoy) wrote:
> On Wed, 10 Oct 2001, Michael Kelly wrote:
>
> > print "Content-type: text/html\n";
> > print "Location: http://www.mysite.com/page.html\n\n";;
> This is incorrect also, because the "Location: ...\n\n" is an http heade
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brett W. McCoy) wrote:
> print "Location: $url\n\n";
>
> This must be the only header sent to the browser. It won't work if http
> headers have already been sent.
that's a bit misleading. as with any CGI script, there is only
one header. i
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Gary L. Armstrong) wrote:
> Sure, Perl's a language but I'm used to muttering in ksh, so I also forget
> the newlines on the ends of my print statements, hehehe. I thought my prog
> was broken a few times, turns out the one-word output was immed
In article <977EA50D7F5AD51182AB0002B33B44133CA70F@UK07EX242>,
[EMAIL PROTECTED] (Garry Grierson) wrote:
> The following code runs very slowly compared to similar routines running on
> the same type of systems.
profile your code to find the slow spots:
http://www.ddj.com/columns/perl/2001/
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shannon Murdoch) wrote:
> > From: [EMAIL PROTECTED] (Kevin Meltzer)
> > my @codes = split(/\s+/,$all_codes);
> Worked like a charm. While we're on the topic of deletion/exclusion of
> string elements when brought in to an array, how do I kill
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Bill Jones)
wrote:
> RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon[OR]
you're generous. i just F them outright.
--
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubl
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shannon Murdoch) wrote:
> Brian's
*ahem* - brian.
> print join ' ', split //, $input;
>
> doesn't actually change $input's content however.
if that is what you wanted then you just need to fill in the
details:
$input = join ' ',
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shannon Murdoch) wrote:
> > $x = join ' ', split //, $x;
>
> That looks like a very compact way of doing it, Brian- is it possible to get
> a bit of a rundown of how it works?
start from the right and work your way left. ;)
--
brian d foy <[E
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shannon Murdoch) wrote:
> I'm trying to get a string (held in a variable) to have all it's characters
> spaced apart by a ' ' space.
>
> ie. $input's content changes from '1234' to '1 2 3 4'
$x = join ' ', split //, $x;
--
brian d foy <[EMA
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Wagner Garcia Campagner) wrote:
> Is there a way for me to format $var to became 34,56 instead of 34.56 ???
change the decimal point to a comma.
$var =~ s/\./,/;
--
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - h
29 matches
Mail list logo