View Single Post
  #2 (permalink)  
Old 11-14-09, 10:53
mtravel13 mtravel13 is offline
Registered User
 
Join Date: Nov 2009
Posts: 5
perlmysqlconnect.pl:

#!/usr/bin/perl

# PERL MODULE
use Mysql;

# HTTP HEADER
print "Content-type: text/html \n\n";

# CONFIG VARIABLES
$host = "localhost";
$database = "store";
$tablename = "inventory";
$user = "username";
$pw = "password";

# PERL MYSQL CONNECT
$connect = Mysql->connect($host, $database, $user, $pw);

that was on the tutorial , just google for more info
Reply With Quote