P
Paul E. Schoen
This is my first post here and I have never used Perl, so please bear with
me. I am mostly a hardware guy but I have done a lot of programming since
the punchcard days of the IBM 7094 in 1967, and MSDOS and Windows apps
using BASIC, Pascal, C, and assembly, and embedded Z80 and PIC projects
using assembly and C. More recently I have done some scripting in
JavaScript and VB, and I have done some simple HTML for my website.
I have been with the same dialup ISP, smart.net, since 1996, and I have
been happy enough with the default performance and tools I have used,
particularly a hit counter and the ability to view a directory that does
not have an index.htm. But now I have switched to Verizon FIOS, and their
10M of web space has a broken web counter tool, and viewing of the files in
a directory is forbidden. Also it seems that they do not allow a CGI-BIN
for their residential service.
So I am looking elsewhere for a website host. I could stay with Smart.net
but their web space seems rather expensive. The domain registrar I use,
MyDomain.com, has 10G webspace for about $6/month, and they say they have a
full line of tools like a hit counter and they allow CGI-BIN, but they have
permanantly disabled directory listing of files.
It seems that JavaScript does not provide access to server-side file
directories, and on one forum it was advised to look at
http://us.php.net/manual/en/function.opendir.php. It looks like PHP is
composed of elements of C, Java, and Perl. So I decided to look at Perl,
and I have scanned much of the FAQ. It is rather overwhelming to analyze
and compare the features of so many similar languages and attempt to become
proficient in one or more, especially when I only need to accomplish a few
rather simple things that have probably been done many times before.
I plan to use Borland Delphi for all my local applications, and perhaps use
JScript or VBScript with the WSH for simple local tasks. I also need to use
JavaScript for programming PDF documents using Nitro Pro or Adobe Pro. And
of course some applications such as Access require VBA. And I have also
written some more complex apps in Delphi that use the automation interface
to utilize methods, properties, and events of objects in other programs.
Thus I am just trying to determine if I should attempt to use Perl, or
perhaps PHP or some other language, to do what I want to do. Mostly, I
would like to make a simple index.htm that can display a list of files in
its directory so that users can simply click on any one for download.
Mostly these will be JPG or TXT, but possibly also XLS, DOC, ZIP, or other
common types.
And I would also like to be able to implement a simple form that would have
its results emailed to me, which of course is a common task, but I assume I
would need a CGI application to do that.
Thanks for any advice you may be able to provide.
Paul E. Schoen
www.pstech-inc.com
me. I am mostly a hardware guy but I have done a lot of programming since
the punchcard days of the IBM 7094 in 1967, and MSDOS and Windows apps
using BASIC, Pascal, C, and assembly, and embedded Z80 and PIC projects
using assembly and C. More recently I have done some scripting in
JavaScript and VB, and I have done some simple HTML for my website.
I have been with the same dialup ISP, smart.net, since 1996, and I have
been happy enough with the default performance and tools I have used,
particularly a hit counter and the ability to view a directory that does
not have an index.htm. But now I have switched to Verizon FIOS, and their
10M of web space has a broken web counter tool, and viewing of the files in
a directory is forbidden. Also it seems that they do not allow a CGI-BIN
for their residential service.
So I am looking elsewhere for a website host. I could stay with Smart.net
but their web space seems rather expensive. The domain registrar I use,
MyDomain.com, has 10G webspace for about $6/month, and they say they have a
full line of tools like a hit counter and they allow CGI-BIN, but they have
permanantly disabled directory listing of files.
It seems that JavaScript does not provide access to server-side file
directories, and on one forum it was advised to look at
http://us.php.net/manual/en/function.opendir.php. It looks like PHP is
composed of elements of C, Java, and Perl. So I decided to look at Perl,
and I have scanned much of the FAQ. It is rather overwhelming to analyze
and compare the features of so many similar languages and attempt to become
proficient in one or more, especially when I only need to accomplish a few
rather simple things that have probably been done many times before.
I plan to use Borland Delphi for all my local applications, and perhaps use
JScript or VBScript with the WSH for simple local tasks. I also need to use
JavaScript for programming PDF documents using Nitro Pro or Adobe Pro. And
of course some applications such as Access require VBA. And I have also
written some more complex apps in Delphi that use the automation interface
to utilize methods, properties, and events of objects in other programs.
Thus I am just trying to determine if I should attempt to use Perl, or
perhaps PHP or some other language, to do what I want to do. Mostly, I
would like to make a simple index.htm that can display a list of files in
its directory so that users can simply click on any one for download.
Mostly these will be JPG or TXT, but possibly also XLS, DOC, ZIP, or other
common types.
And I would also like to be able to implement a simple form that would have
its results emailed to me, which of course is a common task, but I assume I
would need a CGI application to do that.
Thanks for any advice you may be able to provide.
Paul E. Schoen
www.pstech-inc.com