Check out the perl path(usually /usr/bin/perl) provided to the perl program (#!/usr/bin/perl)
Also check out the correctness of syntax
using : perl -c perlprogram.pl
Hope this may work for U
Its better to have qmail MTA for MailServer
it will serve the best you need
Also sendmail is another alternative which by default gets
installed on the Linux box..
I was explaining keeping in mind you donot have perl
but any way
you have perl
so no need to write c-programs, and compile agian & again
simply interpreter PERL will do better
i am giving this snippet of a program first.pl
#!PATH_TO_PERL
print "content-type: text/html \n\n";
print...
Yup, u can have the domain of your own(registered at NIC) running
on your PC
but these are the steps you have to follow...
1) should have fixed IP assigned to connect to net which is done through ISP's
2) configure your machine by the domain name you have chosen..
else you can have virtual...
Simple go to the CGI-BIN directory
usually in the root DIR(C:\Program Files\Apache Group\Apache\cgi-bin)
You can copy the following code in a file(first.c) a execute the program...
Step 1:
-------
#include <stdio.h>
main(){
printf("content-type: text/html\n\r\n\r")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.