Click to See Complete Forum and Search --> : CGI Transition to ASP Scripts
adalby
01-11-2006, 09:31 AM
I'm very new to asp so please be patient. For years now I have been using cgi/perl scripts to do most everything I've needed to do. I need/want to start using ASP for everything. In the meantime while I learn asp is it possible to use or Include cgi/perl scripts within my asp pages? At least this way I could start using the asp extension with my pages with my current cgi scripts and transition that way.
Thanks,
aaron
Bullschmidt
01-15-2006, 10:56 PM
Well if you can do it with a regular .htm page then you can do it with an .asp page.
And for getting started with databases on the Web using ASP:
Web Database Concept
http://www.bullschmidt.com/concept.asp
And www.asp101.com/samples has some good, short database examples.
adalby
01-17-2006, 05:51 PM
Thanks for the reply. I have actually started taking some samples from asp101 and am trying to learn that way. you said the includes would work on asp pages. what type of tag would I use? I've tried both
<!--#exec cgi="/cgi-bin/xxx.pl"--> &
<!--#include virtual="/cgi-bin/xxx.pl"-->
Any ideas?
Bullschmidt
01-17-2006, 08:31 PM
I actually don't think that including CGI scripts on ASP pages are possible but never really did anything with CGI scripts. All I was saying was that you mentioned having previously used .htm pages presumably with CGI scripts, and I was just pointing out that .asp scripts can do everything that .htm pages can do and more...
adalby
01-18-2006, 10:20 AM
Ok, thanks alot. Hopefully in the next couple months I can grasp the concepts of ASP.
Cheers!
sirpelidor
01-18-2006, 12:41 PM
what type of tag would I use? I've tried both
<!--#exec cgi="/cgi-bin/xxx.pl"--> &
<!--#include virtual="/cgi-bin/xxx.pl"-->
even though the IIS understands CGI script, it is a actually using a different engine to run asp script (and asp.net files) then CGI script.
include mix between CGI script and ASP script will not work. (same thing goes to asp and asp.net)