Re: problems with CGI.pm upload feature

2005-09-16 Thread Wiggins d'Anconia
Scott R. Godin wrote: > script is at http://phpfi.com/78748 > > I followed the instructions in CGI.pm as best I could, and from what I > read the upload() function is supposed to return a filehandle ? (it > doesn't say whether this is a direct FH to the tempfile or not) > > I had dome some prelim

Re: Yet another package problem

2005-09-16 Thread Ovid
--- Luinrandir <[EMAIL PROTECTED]> wrote: > Ok.. as asked for..the code and I hate to do this cause i'm gonna > get > told how everything i'm doing is wrong.. > from the way I lay out the code to the way I write code to the way I > don't > use every damn modual under the sun With all due r

problems with CGI.pm upload feature

2005-09-16 Thread Scott R. Godin
script is at http://phpfi.com/78748 I followed the instructions in CGI.pm as best I could, and from what I read the upload() function is supposed to return a filehandle ? (it doesn't say whether this is a direct FH to the tempfile or not) I had dome some preliminary testing with one-liners an

Re: Yet another package problem

2005-09-16 Thread Bob Showalter
Luinrandir wrote: ### Inn.pl # ## package Inn; Buy {} Sell {} Talk {} Sleep {} Delivery {} Work { # GameTime(.1); # SendOff(); print qq|"Well afraid I do all my own work Try another business"|; } ... Did

Yet another package problem

2005-09-16 Thread Luinrandir
Ok.. as asked for..the code and I hate to do this cause i'm gonna get told how everything i'm doing is wrong.. from the way I lay out the code to the way I write code to the way I don't use every damn modual under the sun But after 4 hours of not getting it to work I give up. I have commen

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
I've spent the morning trying to reproduce it on my machine and my brothers, and can't seem to do it. It must have been some kind of coincidence or fluke. Thanks for your help everyone. I'll let you know if I ever figure it out. Denzil --- Bob Showalter <[EMAIL PROTECTED]> wrote: > Whatever p

Re: cookies as hidden files

2005-09-16 Thread Bob Showalter
Denzil Kruse wrote: Well, this is what I witnessed. I'm using a windows computer at home. It is configured to display hidden files. I have a red hat linux server off who knows where that hosts my site. I set up a perl script to set and fetch cookies, and it does so correctly on my computer.

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
--- Sara <[EMAIL PROTECTED]> wrote: > 1. Are we setting up the proper headers? > > use CGI; > my $q = new CGI; > > print $q->header(-cookie=>$cookie); I think so. I did it this way: my $cookie = new CGI::Cookie(-name=>'name', -value=>"$name",

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
Well, this is what I witnessed. I'm using a windows computer at home. It is configured to display hidden files. I have a red hat linux server off who knows where that hosts my site. I set up a perl script to set and fetch cookies, and it does so correctly on my computer. But, I went over to a

Re: cookies as hidden files

2005-09-16 Thread Sara
1. Are we setting up the proper headers? use CGI; my $q = new CGI; print $q->header(-cookie=>$cookie); 2. I am unable to see the -domain => 'foo.com'; 3. On which machine, you are testing? Your Windows (localhost) or a real web server?. I have always experienced problems locating cookies for

Re: cookies as hidden files

2005-09-16 Thread Sean Davis
On 9/16/05 12:08 AM, "Denzil Kruse" <[EMAIL PROTECTED]> wrote: > Hi all, > > I read through the docs for CGI::Cookie and learned > how to set a cookie. I do it with line: > > my $cookie = new CGI::Cookie(-name=>'name', >-value=>"$name", >

Re: Perl DBI / SQL Question

2005-09-16 Thread Scott R. Godin
Vance M. Allen wrote: Sorry if the cross-posting wasn't appropriate, but I need help with this and am not sure if it's more appropriate to post under CGI or DBI since it involves both...I want to be sure that I can get help from the best source. My question is probably a simple answer, but I a