PHP Classes

File: conn.php

Recommend this page to a friend!
  Classes of Anirban Nath   Secure Image Uploading and Resizing   conn.php   Download  
File: conn.php
Role: Configuration script
Content type: text/plain
Description: DB connection file
Class: Secure Image Uploading and Resizing
Validate and resize uploaded image files
Author: By
Last change:
Date: 13 years ago
Size: 272 bytes
 

Contents

Class file image Download
<?php
$dbhost
= 'localhost'; /*your host*/
$dbuser = 'root'; /*your username*/
$dbpass = ''; /*db password*/
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'ani_aus_alumni'; /*db name*/
mysql_select_db($dbname);
?>