473,562 Members | 3,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to write CGI-Perl to drive A:\

Cle
Hi the CGI-Perl experts.

I known how to write to a file from within CGI, and I could access
Drive A:\ from HTML codes , such as:

file://A:

My question for your help: PLease show me how to do this from a CGI
Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
?
I followed instruction from a book, but it did not help as you would,
I wish!

Thank
Jul 19 '05 #1
2 2215
Hey, from Russia.

To run PL script, u must install Perl Interpritator (Active Perl 5...) and
Internet Server (may be Apache) and configurate it.
Download last version for this aplications! When restart your comp, and read
in your boot how to configurate Apache to working this Perl.

P.S.: Your will must to change CGI-BIN directory, and i'm strongli not
recomend A: or same on it )

Aleksei N. LOVUSHKIN
Moscow City, 06/12/2003
lo*******@comtv .ru



"Cle" <ca***@lecan.co m> ???????/???????? ? ???????? ?????????:
news:8a******** *************** ***@posting.goo gle.com...
Hi the CGI-Perl experts.

I known how to write to a file from within CGI, and I could access
Drive A:\ from HTML codes , such as:

file://A:

My question for your help: PLease show me how to do this from a CGI
Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
?
I followed instruction from a book, but it did not help as you would,
I wish!

Thank

Jul 19 '05 #2
Tom
I'm not sure where you are having the problem:
1. Accessing the A:\ drive from within your CGI Perl program? It's the
same as any other Perl program -- can you get that working?
2. Writing CGI programs in general? Are you able to run any CGI programs on
your server (do you have the webserver, Perl interpreter and CGI directory
properly defined)?
3. Are you trying to map the "/MyName/" to your A:\ drive? Set up an alias
in Apache or IIS.
Tom

"Cle" <ca***@lecan.co m> wrote in message
news:8a******** *************** ***@posting.goo gle.com...
Hi the CGI-Perl experts.

I known how to write to a file from within CGI, and I could access
Drive A:\ from HTML codes , such as:

file://A:

My question for your help: PLease show me how to do this from a CGI
Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
?
I followed instruction from a book, but it did not help as you would,
I wish!

Thank

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
41613
by: Lad | last post by:
How can I set up Apache web server to use Python for CGI processing( for file *.py). Thanks for help Lad
7
1860
by: ckb2102 | last post by:
Hi there, I am new to this so I apologize in advance if I am not following the right etiquette or something... I am working on a project for school. My partner has written a short program in Python which takes 2 arguments - the name of a .mov file and a number which represents the number of seconds into that movie. The program then...
19
7503
by: gabor | last post by:
hi, what i want to achieve: i have a cgi file, that writes an entry to a text-file.. like a log entry (when was it invoked, when did his worke end). it's one line of text. the problem is: what happens if 2 users invoke the cgi at the same time?
1
4382
by: Mike S. Nowostawsky | last post by:
I am getting this error when I try to run a program in my cgi-bin directory (don't know what I'm still missing to make it work): *** Authentication required! This server could not verify that you are authorized to access the URL "/~group3/cgi-bin/ack.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser...
2
5786
by: David | last post by:
I've looked all over the place for an answer, and the only one I can find doesn't mean anything to me. The end of line issue with writting it in Windows and then uploading it doesn't help me since I'm doing this all from Linux. I've been trying to get python cgi scripts to work, and I always end up with a "Premature end of script headers" in...
2
3266
by: Patricia Hartman | last post by:
I implemented an asp script to create a guestbook in the cgi-bin directory of my website. The script is supposed to append to a text file (it is there) and then display it using include. When I try to run it, the form appears, but when I click the submit button, the browser goes out to lunch forever. Netscape says it is getting data from...
11
1878
by: Cecil Westerhof | last post by:
I have a cgi-script dat uses the modules cgi, os, sys and time. Offcourse I can not time the time used to import time, but os and sys do not take more as a millisecond. My script itself takes 3 or 4 milliseconds. But importing cgi takes 95 milliseconds. (This is on my test system a PII 300 MHz. Is there a way to make this more fast? The import...
4
1690
breagan1
by: breagan1 | last post by:
I have created the following form (layout not tweaked yet). It sends out to email but I haven't figured out how to also have it write the form results to a tab deliniated text file. I've tried several codes. This is for a nonprofit site I work on. Here's the link to it: http://www.nysboc.com/cgi-bin/conference.cgi Any help would be greatly...
8
1712
by: Mike Silva | last post by:
Hello all, I'm a longtime programmer (embedded with a smattering of desktop stuff as well) who knows very little about web programming. Right now I am developing the prototype of a multi-user application in MSVC++, but I think it would make more sense to redo the app as a web application (which I know almost nothing about, remember). From...
0
1427
by: d0353101 | last post by:
I am having login.cgi. user enter id and password. if ok it redirects to main.cgi with user_id as main_page.cgi?user_id=$user_id. main.cgi is having left menu and right part is for doing some action. in all the CGI files including main.cgi I am writing this code before start_html to manage the session: ...
0
7576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7625
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7934
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6219
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5476
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5193
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3621
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2073
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
901
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.