ASP File Upload

2001-04-10 Thread Josh Reynolds
d.asp, line 16 The line $fu->directory = $Server->MapPath("."); causes the error.  It seems to me that I'm doing something wrong with the assignment, that you can't use the = operator to assign something from perlscript to a property of an activex component?  Is

Re: ASP File Upload

2001-04-11 Thread Josh Reynolds
of a $Request->querystring('whatever') expression :) Data::Dumper is *great* thanx, josh - Original Message - From: "Ron Grabowski" <[EMAIL PROTECTED]> To: "Josh Reynolds" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 10,

Re: ASP File Upload

2001-04-11 Thread Josh Reynolds
>write("Length: " . $item->size . "\n"); $item->Save; } } else { $Response->write("File upload failed RC: " . $rc . "\n"); } } else { %> ... ... <% } %> - Original Message - From: &qu

Re: (no subject)

2001-04-19 Thread Josh Reynolds
I just saw an announcement on freshmeat about a pdf module http://freshmeat.net/projects/text-pdf-api/ There's the link. I think it's still in the early stages though. Hope it helps you out. Josh - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

Re: Uploading File

2001-05-21 Thread Josh Reynolds
First you must use this in the form declaration: ENCTYPE="multipart/form-data" like so the method must also be post. Then you need something on the server to process the uploaded file, which is submitted with the post data for the form. Because of the multipart/form-data enctype, you can't acc

Re: effiency in string formatting???

2001-06-26 Thread Josh Reynolds
I remember reading something about the way output is handled in ASP that said it's best not to use something like $html = "\n" $html = "" while (!$rs->EOF) { $html .= "" . $rs->Fields("whatever")->Value $rs->MoveNext } $Response->Write($html) Because repeatedly contatinating large str