; > I work with module Apache::ASP and not found documentation for method
> > CreateObject("Scripting.FileSystemObject").
> > For sample the next script in ASP
> >
> > <%
> > Set filesystem = CreateObject("Scripting.FileSystemObject")
> > Se
CreateObject("Scripting.FileSystemObject")
Set folder = filesystem.GetFolder(server.mappath(mypath))
Set subfolders = folder.SubFolders
Set filecollection = folder.Files
%>
what methods support Apache::ASP ?
GetFolder, SubFolders, Files ?
regards
-
mypath))
Set subfolders = folder.SubFolders
Set filecollection = folder.Files
%>
what methods support Apache::ASP ?
GetFolder, SubFolders, Files ?
regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> I believe this should be done as an Apache configuration, for example:
>
>
> Order allow,deny
> Deny from all
>
Good point, and much more configurable. That way you can do stuff like
limiting certain request methods to authenticated users, etc.
Ross Thomas wrote:
>
> > I wrote an ASP page that returned an excel table based on POST parameters.
>
> You should really use GET to get data, but then I'm hyper-critical ;)
>
> > My scripts now always have on start:
> >
> > if ($Request->{Method} !~ /GET|POST/) {
> > $Response->{Status} =
> David is correct, Apache::ASP does no special handling of non-GET/POST
> requests. So you could put similar code to the above in your global.asa
> Script_OnStart event to handle the PUT/DELETE as you see fit.
I was thinking more about automatic handling of PUT data. It would probably
be a good
> I wrote an ASP page that returned an excel table based on POST parameters.
You should really use GET to get data, but then I'm hyper-critical ;)
> My scripts now always have on start:
>
> if ($Request->{Method} !~ /GET|POST/) {
> $Response->{Status} = 500;
> $Response->End();
> }
Perh
"Kulp, David" wrote:
>
> On a related note, Apache::ASP doesn't actually check the request method.
> This can cause a nasty problem.
>
> I wrote an ASP page that returned an excel table based on POST parameters.
> Internet Explorer will then send several different URL requests to the
> server in
e on start:
if ($Request->{Method} !~ /GET|POST/) {
$Response->{Status} = 500;
$Response->End();
}
-d
-Original Message-
From: Ross Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 5:55 PM
To: [EMAIL PROTECTED]
Subject: Methods other than GET and
Does Apache::ASP directly support request methods other than GET and POST?
>From a quick grep of the module I'd say it doesn't, but it's worth asking.
I'm interested in using at least the PUT and DELETE methods in a project I'm
working
10 matches
Mail list logo