Reply to Owen:
I'm the client. The cgi script is on the 3rd party's server. I'm just
creating a form that will post a file.
Reply to David & Sean:
https://somedomain.com/abc123/cgi-bin/
thescript.cgi" enctype="multipart/form-data">
am I completely on the wrong track?
Thank you for all your h
On Tue, Jun 3, 2008 at 1:00 PM, <[EMAIL PROTECTED]> wrote:
> Ok, I'm uploading a file to a 3rd party. The file is being uploaded to
> an https site with a cgi extension. The 3rd party finally provided me
> with a snippet of their Perl code. They see the attempt coming
> through, but there is no da
On 3 Jun 2008, at 18:00, [EMAIL PROTECTED] wrote:
Ok, I'm uploading a file to a 3rd party. The file is being uploaded to
an https site with a cgi extension. The 3rd party finally provided me
with a snippet of their Perl code. They see the attempt coming
through, but there is no data. I understa
> Ok, I'm uploading a file to a 3rd party. The file is being uploaded to
> an https site with a cgi extension. The 3rd party finally provided me
> with a snippet of their Perl code. They see the attempt coming
> through, but there is no data. I understand how all this works... i
> think there's jus
Ward P Fontenot wrote:
Hi, I have a working DBI::Oracle script that I am now trying to get
CGI.pm to HTML-ize the output of, My problem is in the table statement
how can I get the output of the while statement to be in the table? I
have just about beat myself silly trying to figure this out.
SCRIPT
Shaun Fryer wrote:
On Mon, Jan 03, 2005 at 04:06:42PM -0600, [EMAIL PROTECTED] wrote:
Hi, I have a working DBI::Oracle script that I am now trying to get
CGI.pm to HTML-ize the output of, My problem is in the table statement
how can I get the output of the while statement to be in the table? I
have
On Mon, Jan 03, 2005 at 04:06:42PM -0600, [EMAIL PROTECTED] wrote:
> Hi, I have a working DBI::Oracle script that I am now trying to get
> CGI.pm to HTML-ize the output of, My problem is in the table statement
> how can I get the output of the while statement to be in the table? I
> have just about
On Mon, 3 Jan 2005 16:06:42 -0600, [EMAIL PROTECTED]
>
> while (@row = $sth->fetchrow_array())
> {
> Tr( td( [EMAIL PROTECTED] ));
> }
>
> );
>
> $sth->finish();
There are a couple of things going on here...fetchrow_array returns a
normal array--
Thanks, that fixed it once I changed the
us CGI qw(:standard escapeHTML);
to
use CGI qw/:standard *table/;
-Original Message-
From: Shaun Fryer [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 3:18 PM
To: Fontenot, Ward P.
Subject: Re: Simple table question?
On Mon, Jan 03
On Thursday, Nov 6, 2003, at 18:10 US/Pacific, Andrew Gaffney wrote:
[..]
...
substituting 'leftframe' for the name of the left frame and
'yourscriptlocation.pl' for the URL of your script.
neet solution there, I hadn't thought about arming the 'onClick'.
but why not have the form line simple so
drieux wrote:
On Thursday, Nov 6, 2003, at 16:42 US/Pacific, Andrew Gaffney wrote:
Jack wrote:
[..]
When
the user clicks on the Submit button on my form, I'd
like to call a CGI script and
redirect its output to the left frame. Could anyone
please tell me how I can do this?
In the right frame
On Thursday, Nov 6, 2003, at 16:42 US/Pacific, Andrew Gaffney wrote:
Jack wrote:
[..]
When
the user clicks on the Submit button on my form, I'd
like to call a CGI script and
redirect its output to the left frame. Could anyone
please tell me how I can do this?
In the right frame, put this:
...
Jack wrote:
Hello,
I'm trying to redirect the output of my CGI (written
in Perl) to another frame,
but I'm not exactly sure how to do this. i.e. I have
two frames on my page
one on the right and one on the left. There is a form
on the right frame. When
the user clicks on the Submit button on my
> HINT: `perdoc -f time` & `perl -f localtime`
Sorry, the above should read...
HINT: `perldoc -f time` & `perldoc -f localtime`
--
=
Shaun Fryer
=
http://sourcery.ca/
ph: 905-529-0591
=
Science is like sex: occasionally something u
> In my perl CGI script, I'm trying to extract the PID
> that corresponds to it.
> How do I do this? I'm also trying to extract the
> timestamp.
> How come it's not possible to do something like:
>
> print "";
> print `time`;
> print "";
read `perldoc perlvar`
You will find the following entry
On Monday, Jun 9, 2003, at 13:05 US/Pacific, steve ryan wrote:
[..]
So... i do my hex to ascii translation first, and the character replace
second.
so simple.
AARRRGH! :)
Huzzah!
Welcome on the BigBus!!! Those who have headBashed in public that
DuhMoment
There is always this ungainly probl
PROTECTED]>
Sent: Monday, June 09, 2003 12:07 AM
Subject: RE: Simple character replace problem
> Talk about a confusing-looking hack, but this one seemed to work to take
> care of the hex values.
>
> $value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g;
>
>
> Scot R.
Also,
Maybe you may want to try using CGI.pm to get query
strings.
==
use strict;
use CGI;
my $cgiObject = new CGI;
my @params = $cgiObject->params();
foreach my $paramKey (@params){
print "Param: $paramKey = " .
$cgiObject->param($paramKey);
}
==
That may h
On Sunday, Jun 8, 2003, at 15:38 US/Pacific, steve ryan wrote:
[..]
The problem is -
1. My "+" symbols are not being replaced (i.e. the spaces in the form)
2. My HEX/Ascii conversion isn't working (i.e. i am getting things
like %2C)
[..]
steve,
First off, I do so try to avoid using "\n" and "\
Talk about a confusing-looking hack, but this one seemed to work to take
care of the hex values.
$value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g;
Scot R.
inSite
-Original Message-
From: steve ryan [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 5:38 PM
To: [EMAIL PROTECTE
mark sony wrote:
> Hi
>
> Can anyone tell me what does $. in perl mean ?
> And also anyplace I will get references about these in quick time ie.
> a handbook type ?
All the special variables are documented in
perldoc perlvar
$. keeps track of the input line number, similar to awk's NR
--
In a message dated 3/20/2003 12:35:02 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
> Hi
>
> Can anyone tell me what does $. in perl mean ?
> And also anyplace I will get references about these in quick time
> ie. a handbook type ?
>
It is an alternitive for $INPUT_LINE_NUMBER. All the
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Rafal Pocztarski)
wrote:
> You could write something like this:
>
> print join "\t", @params{'q001'..'q100'};
or for a slightly better golf score
print "$params{$_}\t" for sort keys %params;
# that is the correct idiom, right?
> i
pAuLyOYo wrote:
>
> I did download CGI.pm but, is a version for UNIX, i
> use Windows, is there a version for windows
What do you mean for Unix? There is only one version of CGI.pm, it's
been tested under Linux, Solaris, OpenBSD, HPUX, Darwin, MacOS, SunOS,
Irix and Win32 and works on a lot
I did download CGI.pm but, is a version for UNIX, i
use Windows, is there a version for windows
thanks...
paul
=
@paul {$yoyo}
-
I like yoyos. They go up and down. Yoyos are controlled by centrifical force which
keep them spinning. It is a known fact
pAuLyOYo wrote:
>
> Hey~
> I've been trying to made a simple guestbook, i
> copyed the whole code from "Learning Pearl"(O'Reillys
> book) i uploaded to tripod and didn't work
> show me this:
Besides of spelling mistakes which Mel Matsuoka has already told you
about, it looks like for some st
At 06:44 PM 10/23/2001 -0700, pAuLyOYo wrote:
>Hey~
>I've been trying to made a simple guestbook, i
>copyed the whole code from "Learning Pearl"(O'Reillys
>book) i uploaded to tripod and didn't work
>show me this:
>
>..
>It looks like there was an error:
>Your script produced this err
i changed. keep brings the same error...
steven mckean <[EMAIL PROTECTED]> wrote: pAuLyOYo wrote: Hey~
I've been trying to made a simple guestbook, i
copyed the whole code from "Learning Pearl"(O'Reillys
book) i uploaded to tripod and didn't work
show me this:
..
It looks lik
there is no changes... shows me the same error!
thanks anyway...
tom poe <[EMAIL PROTECTED]> wrote: On Tuesday 23 October 2001 18:44, you wrote:
> Hey~
> I've been trying to made a simple guestbook, i
> copyed the whole code from "Learning Pearl"(O'Reillys
> book) i uploaded to tripod and didn
Thanks guys! You're 2 minutes of wisdom has brought my 100+ line script
down to 20 or so =)
Thanks for your continued support of this newsgroup and its users!
-Shannon Murdoch
> You could write something like this:
>
> print join "\t", @params{'q001'..'q100'};
>
> instead of:
>
> print "$p
On Tue, 16 Oct 2001, Shannon Murdoch wrote:
> So the script halves in size and now becomes:
> print OUTFILE
> "$entrynumber\t$params{q1_1}\t$params{q1_2}\t$params{q1_3}\t$params{q1_4}\t$
> params{q1_5}\t$params{q1_6}\t$params{q1_7}\t$params{q1_8}\t$params{q1_9}\t$p
> arams{q1_10}\t$params{q1_11}
Shannon Murdoch wrote:
> print OUTFILE
> "$entrynumber\t$params{q1_1}\t$params{q1_2}\t$params{q1_3}\t$params{q1_4}\t$
> params{q1_5}\t$params{q1_6}\t$params{q1_7}\t$params{q1_8}\t$params{q1_9}\t$p
> arams{q1_10}\t$params{q1_11}\t$params{q1_12}\t$params{q1_13}\t$params{q1_14}
> \t$params{q1_15}\t$
So the script halves in size and now becomes:
---
#!/usr/bin/perl -w
use CGI qw(:standard);
my $cgi = new CGI;
my %params = $cgi->Vars;
open(COUNTER,"entrycount.txt");
while(){
$entrynumber = $_; ###get previous entry number
last;
}
close(COUNTER);
op
Thanks Brett, that's very handy to know!
Cheers,
-Shannon
> From: "Brett W. McCoy" <[EMAIL PROTECTED]>
> Date: Mon, 15 Oct 2001 23:53:56 -0400 (EDT)
> To: Shannon Murdoch <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: Re: (simple) c
On Tue, 16 Oct 2001, Shannon Murdoch wrote:
> So far my script puts every form item in to it's own variable, and calls
> upon that variable when it is writing the tab-delimited file (which will be
> used in Exel or SPSS etc for data analysis.
>
> Is there an easier way to do this than I have?
Yo
off Ball"<[EMAIL PROTECTED]>
Date: Sat Sep 29 15:25:49 PDT 2001
Subject: Re: Simple CGI Question
>>>>> "Geoff" == Geoff Ball <[EMAIL PROTECTED]> writes:
Geoff> I have a very basic question. At webmonkey.com I found a CGI Tutorial,
I'd stay away fr
At 12:03 PM 09/29/2001 -0700, Geoff Ball wrote:
>I have a very basic question. At webmonkey.com I found a CGI Tutorial, and
>am trying to implement CGI on my own site. I tried using the script on my
>website, but it doesn't seem to work. I've worked with Perl for about 4
>months now, but am jus
> "Geoff" == Geoff Ball <[EMAIL PROTECTED]> writes:
Geoff> I have a very basic question. At webmonkey.com I found a CGI Tutorial,
I'd stay away from that tutorial. You're writing code that doesn't
start "use CGI". That's making you do a lot of things the very hard
way.
Can you described
condition" can be determined by the CGI have the
script do it while generating the form/screen ...
Hope this give you some ideas ...
-Original Message-
From: Rahul Garg [mailto:[EMAIL PROTECTED]]
Sent: August 01, 2001 00:26
To: Alessandro Lenzen; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sub
39 matches
Mail list logo