Hello list,
I am able to send a JOB to z/OS usinf Net::FTP. But I would like to
receive the job output of the submitted job too.
Do you know how should be used Net::FTP to achieve this ?
Best regards
Mariusz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I know perl CGI is a server side, but maybe someone can suggest how to show a progress
window on the client's machine while a file is being uploaded?
thank you,
Mariusz
What type of field should I use for storing the path; just VARCHAR I guess?
And as far as the filenames - make up some random file name for each
submitted file?
thanks,
Mariusz
ps. If storing files in the DB is not common, what exactly is the BLOB type
for?
- Original Message -
From
database?
I'll also greatly appreciate any pointers to some articles on the net.
thank you,
Mariusz
My cgi outputs an html page. Is there any way to open it as a new window and also
specify the size? Or is javascript the only solution? And if so, what do I do in case
someone doesn't support JavaScript?
thanks
M
ives me OK).
Basically instead of this:
my( $varaible1, $variable2, $variableA, $varaibleB);
I wanted to type this:
my( $varaible1, $variable2,
$variableA, $varaibleB
);
Any reason why it shouldn't work?
Thanks,
Mariusz
I'm outputting lots of text into an email message. I would like to have some basic
control over the way how it is presented, but the only command I know is "\n" - new
line. What about tab, spaces, etc..?
Mariusz
I included the following in my script in order to display a text field:
but when the box gets displayed in the browser and the user types in 40 characters the
box still looks like there is more space to type in?? Is there any way to make sure
that the box "appears" 40 characters only?
Does i
Thank you for a reply.
I did as you advised, my printed statement after executing the script looked
like this:
SELECT ad_id FROM help_wanted WHERE ad_id in(".join(',', 24 23 22).")
but it didn't select any records. I got the result as 0E0 for number of
found ones??
I sent the following mysql query and got an error:(
SELECT ad_id, text_extra, life FROM help_wanted WHERE ad_id in(@id_set)
It prints correctly as:
SELECT ad_id, text_extra, life FROM help_wanted WHERE ad_id in(20 19 14)
but the whole idea doesn't work; what am I missing?
Mariusz
A while ago I asked for help on the following:
> I would like to be able to select records from the a table where record_id
> and $record_id from my @record_ids matches. I know I could go through a
loop
> and send a SELECT query for each element in the array but is there a
better
> way? How can I
#x27;t find anything?
(www.perldoc.com right?)
Mariusz
- Original Message -
From: "John W. Krahn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 2:50 AM
Subject: Re: removing white space
> Mariusz K wrote:
> >
> > Hi,
>
&
Thank you for your response. I went to perldoc on the net and couldn't find
any examples or more info on "-q space"
Mariusz
- Original Message -
From: "Sudarshan Raghavan" <[EMAIL PROTECTED]>
To: "Perl beginners" <[EMAIL PROTECTED]>
Sent
Hi,
One part of my script ads several strings into one:
$text = $part1.$part2.$part3.(...etc)
However, if the part3 through part10 were empty I get that many white spaces
at the end of $text. I thought the best thing would be just to remove the
spaces at the end, but how? (maybe search and r
?
thanks,
Mariusz
I'm quite new as well...
As far as your solution; You would still have to first send it to the cookie
I think, so my problem still stays the same: "How do I collect the values if
the name for the checkbox was the same throughout the whole page (see
source)"?
Thanks KJ,
Mariusz
"print $checkbox;"
can someone help?
Thanks,
Mariusz
in order to printout output directly to the browser, try including this in
your code:
print "Content-type:text/html\n\n";
print $result;
and put this at the beginning of your script:
use CGI ':standard';
let me know if it helped;)
M
- Original Message -
From: "Gajo Csaba" <[EMA
depend on the choice from the first one? E.g.
pull-down1 "category"(choices: A,B,C..)
pull-down2 "subcategory" (if choice A was selected in 1, then choices in 2 are for
example A1, A2, etc..)
any help greatly appreciated
Mariusz
- Original Message -
From: "Mariusz K" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 10:33 AM
Subject: Search Results - Resent
> >>Hi,
> >>How can I display certain number of search matches per page? I was
> >&g
Hi,
How can I display certain number of search matches per page? I was
thinking to pass the record ID as a hidden field from page to page and
then repeat the search on each page, but is there a better way?
thanks,
M
_
Choose an
Hi,
How can I display certain number of search matches per page? I was thinking to pass
the record ID as a hidden field from page to page and then repeat the search on each
page, but is there a better way?
thanks,
M
Not really perl related but maybe someone did the research..
Programmers spend lots of hours in front of those text editors. What colors
(background and font) are the best for the eyes (vision)?
thanks,
Mariusz
- Original Message -
From: "Mariusz" <[EMAIL PROTECTED]>
To: "perl" <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 6:58 PM
Subject: good text editor
(My OS is Win98)
Can someone recommend a good text editor for perl cgi scripting? I've been
usin
mbers.
Thanks,
Mariusz
ps. Nice if it doesn't use too much resources.
Hi,
I know this is not a question about perl cgi but I don't know where to turn. I do most
of my stuff using Macromedia's Dream and Fireworks. Does any of you use Fireworks? If
so, how can I limit a hotspot to only one frame on a multiframe graphic?
Thank you for any suggestions as to where I c
Thanks for the idea. Thanks to it I found another solution that works well:
Instead of creating special table you can also just use SHOW COLUMNS, feed
it into an array and then use it as you mentioned. Hopefully you'll find it
useful...
Thanks again
Mariusz
- Original Message -
number of
characters allowed.
thanks,
Mariusz
(or tries to make up a discount code) he will get an error, because there is
no such field in my MySQL table. How can I catch that error (such discount doesn't
exist) and have perl do something?
thanks,
Mariusz
ps. My Select query looks up bunch of other stuff at the same time, but I g
t;
> DBI->connect("DBI:mysql:database=mydatabase;host=localhost",
> > "user", "password", {'RaiseError' => 1});
> >
> > $sth = $dbh->prepare("LOAD DATA INFILE
> > '/home/me/file'
> > INTO TABLE mytable FIELDS TE
I need to upload a file to a database. Could someone tell me how to do it? I know how
to insert values into a table and upload files to a directory but how to combine the
two correctly so the file gets uploaded to my MySql DB and I don't get any errors. A
part of a script that does that would b
How can I get that id into a scalar? Will this work?
$lastid = $dbh->{'mysql_insertid'};
sorry for such basic question.
M
t the same time, for later comparison - I guess?)
Thank you
Mariusz
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
maybe I should use cookies somehow? But then I have to create a unique cookie so
another user in the meantime doesn't have the same one - and how do I go about that??
Using large enough random number?
I heard something about session ID Is that something I should look into?
thanks for any help,
Mariusz
How can I check if a user accepts cookies before he starts using my
shoppingcart? I know I could set a cookie on page nr1 and then check if it
exists on page nr2; but how do I know on which page he arrives first?
thank you,
Mariusz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
How can I check if a user accepts cookies before he starts using my shoppingcart? I
know I could set a cookie on page nr1 and then check if it exists on page nr2; but how
do I know on which page he arrives first (which one would be then the page nr1)?
thank you,
Mariusz
M first?
I also tried to install DB from .rpm and as perl modules (cpan) as well but
it didn't change anything.
Could you please help me with that?
Thank you
Mariusz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When I submit any form that points to a certain cgi script a new page gets loaded:
www.domain.com/cgi-bin/myscript.cgi
Is it possible to execute the script and do not have the next page loading? I guess I
could use redirect and read what page person came from and redirect them back, or put
some
the browser asking for the rest of the data (name, phone, etc..) and
email everything on submit.
Thanks for any suggestions. This mlist is great and I'm amazed by everyone's
altruistic help.
Mariusz
How can I execute the cgi and print the HTML text into a new window? In other words,
can I open new browser window using perl?
thank you,
M
Can I set it and then check if it was created within the same script?
M
> You just set one on one page and test whether it's set on the next
> one.
>
> Jenda
> === [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
> There is a reason for living. There must be. I've seen it somewh
Is there a way to check if the person accepts cookies?
thanks.
M
e there could
be an instance where 2 people get the same random name for the cookie but the
probability is very small.
thanks,
Mariusz
t back when the person decides to check
out (their ip address?)
2. Keep adding items to that file till the person decides to check out
3. On "check out" email the file.
Thanks for any advice,
Mariusz
uot;#include <",$line);
@plik1=split(">",$plik[1]);
open(HAND, '<' , "$plik1[0]");
@nagl=;
foreach $linia (@nagl){
print $linia;
}
close(HAND);
}
close(HANDLE);
---
But I suppose there is faster method to do this.
So The Question
nt is to change lines
#include
to their entry.
Please help!
Thanks in advance!
Written by Mariusz Wyrozebski
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.mat.uni.torun.pl/~moon
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi,
I'm creating a html page on which I would like the viewers to be able to download my
pdf file. I know how to upload a file using perl but what about downloading? Or maybe
I should use something else? Could someone tell me how it is usually done on peoples
websites (downloading files)?
Big
;s rather the
question for the logic solution I guess not the script itself.
thanks,
Mariusz
- Original Message -
From: "Mariusz" <[EMAIL PROTECTED]>
To: "perl" <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 12:56 AM
Subject: time calculation
What's
es in this script)
Thanks
Mariusz
html tags are not the problem. I included another print statement before the loop and
that outputs "text 1 here" to the web. However, "text 2 here" doesn't get printed?? I
feel stupid since it's only few lines and it looks very simple and ok to me...Can
anyone think of a reason why would the sc
I know this foreach loop works (I included print statement within it and it printed
out results perfectly). However, for some reason the script doesn't continue after the
loop. Am I missing something really obvious?(the print "text here" just doesn't
happen?)
Thanks.
Mariu
ld_from_my_form" that I could refer to later in my script. However,
I need all of the pairs.
Thanks for help.
Mariusz
PS. By the way, this is a great list, you guys are very helpful and newbies like me
really appreciate what you do.
tml") || Error();
my ($data,$length,$chunk);
while ($chunk = read ($file, $data, 1024)){
print UPLOAD $data;
}
close(UPLOAD);
sub Error { print "Couldn't open temporary file: $!"; exit;}
- Original Message -
From: "Timothy Johnson" <[EMAIL PROTECTE
s the file.html and "knows" already where to look for
it.
Mariusz
- Original Message -
From: "Matthew Harrison" <[EMAIL PROTECTED]>
To: "Mariusz" <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 8:04 PM
Subject: Re: uploading without using forms
>
at opens a location www.domainname.com/upload.cgi but the problem is that I
don't know how to include the location of the file being uploaded in the script (since
the location of the file will always be the same) so the user is not asked to provide
it.
Thank you,
Mariusz
ou want to take this to the beginners cgi list"; isn't this
the beginner's mailing-list? ([EMAIL PROTECTED])
>Subject: Re: uploading files
>Date: Mon, 11 Mar 2002 09:17:24 -0800
>
>At 12:36 AM 3/11/02 -0600, Mariusz wrote:
>>Hi,
>>
>>I wrote th
ow). Can anyone help?
my $file = param('uploadfile');
open(UPLOAD, ">../employees/schedule.html") || Error();
my ($data,$length,$chunk);
while ($chunk = read ($file, $data, 1024)){
print UPLOAD $data;
}
close(UPLOAD);
Thanks,
Mariusz
57 matches
Mail list logo