navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

CGI-BIN

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> CGI-BIN
Page: [1]
 
scalp

 

Posts: 9
From: None
Status: offline

 
CGI-BIN - 8/9/2001 21:28:00   
I've tried

<form method="POST" action="../scripts/test.bat">

and

<form method="POST" action="../scripts/test.exe">

I'm using IIS, I've set all the permissions I can find to read - execute....it still thinks I want to download the file or says page cannot be displayed.

I just want the server to execute the thing.

I've tried, permissions on the server, folder, file....how can something so simple be so dificult?


Thanks....I need help ASAP...like yesterday.

Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:15:00   
quote:
Originally posted by scalp:
I've tried

<form method="POST" action="../scripts/test.bat">

and

<form method="POST" action="../scripts/test.exe">



What are test.bat and test.exe ? Scripts? Written in what? Perl? PHP? ASP?

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"


(in reply to scalp)
scalp

 

Posts: 9
From: None
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:26:00   
test.exe is a sample program I wrote in C/C++

Test.bat is just a .bat file that will copy test.exe to yes.exe

test.bat :
copy test.exe yes.exe

I'm just trying to resolve the permissions issue.

The final .EXE program I intend to use will be a C/C++ program that will create a .WAV file and enter the URL address in the users browser so the users browser will be directed to download the created .WAV file

I'm in panic mode...'cause I thought this was the simple part...spent most of my time developing the .EXE file and the whole project is toast without the user being able to execute a program on the server....this is my first project of this nature. But very C/C++ qualified.

Thanks for any help or suggestions.
Do you think we can fix this tonight?


(in reply to scalp)
scalp

 

Posts: 9
From: None
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:27:00   
Can't I use a compiled program...or do I have to use a interpretive language like PERL?

(in reply to scalp)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:30:00   
I've never seen a .exe or .bat file executed via a browser session. I'm sure you could use C++, but I'm not sure how to call it. It would be much simpler to use Perl - IMHO

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"


(in reply to scalp)
scalp

 

Posts: 9
From: None
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:32:00   
Can I use a PERL script to execute or 'call' my program.

If so how?


(in reply to scalp)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:42:00   
quote:
Originally posted by scalp:
Can I use a PERL script to execute or 'call' my program.

If so how?


Never tried that - The nature of the WWW pretty much prohibits executables from being called through a HTTP protocol. You would be much better off using Perl, PHP or ASP to do it. Question though - Why not just link to a download page?

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"


(in reply to scalp)
scalp

 

Posts: 9
From: None
Status: offline

 
RE: CGI-BIN - 8/9/2001 22:45:00   
The .WAV file create by my program will be downloaded that way. But I need the POWER of C/C++ and the complexity is high that creates the .WAV file.

This is SPEACH RECOGNITION software and TEXT to SPEECH...I have to have my program in C/C++.

I just want user to be able to execute my program.....

Thanks for your input.


(in reply to scalp)
Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: CGI-BIN - 8/14/2001 14:50:00   
Just a thought here. I had real problems one time trying to access an executable that controlled the login to my hosts control panel. Like you, ever time I opened the page it tried to download the executable instead of executing it. The reason turned out to be that I had Netscape Smartdownload installed, and this was interfering. Uninstalled it and never had the problem again.

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to scalp)
Page:   [1]

All Forums >> Web Development >> Server Issues >> CGI-BIN
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts