PHP Classes

File: conn.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 4 years ago
Size: 272 bytes


Class file image Download
= '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*/