The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 PostgreSQL
Author: Ajaya Ghosh 
Date:   23-02-05 17:27

Hi All
I am Using Windows2000 professional, Apache HTTP Server Version 1.3, php-4.3.10, postgresql-8.0
I want to Connect Postgresql from my CGI-script written in perl

while trying to run the code I found some problams--> " Can't locate DBI.pm in @INC (@INC contains: E:\PROGRA~1\APACHE~1\Apache\cgi-bin d:/Program Files/perl/lib d:/Program Files/perl/site/lib .) at dbtest.pl line 6."

I tried to Install utilities from DBD-Pg-1.40.tar and DBI-1.47.tar
But unfortunatly I cant Complete it , Now Im stuck up there Any body Plz help me

With Lov and Rgds
Ajaya Ghosh. S

Reply To This Message
 
 Re: PostgreSQL
Author: Erin 
Date:   24-02-05 01:59

#!/usr/bin/perl

use strict;
use CGI;

my $co = new CGI;

if ($question =~ /windows/) {
print $co->header({-location=>"http://www.google.com/"});
}

exit(0);

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org