PHP Classes

File: connect.php

Recommend this page to a friend!
  Classes of José Augusto Ferreira Franco   myYouYube   connect.php   Download  
File: connect.php
Role: Application script
Content type: text/plain
Description: resource connection builder file
Class: myYouYube
Manage and display videos from YouTube
Author: By
Last change: rename of file
Date: 16 years ago
Size: 292 bytes
 

Contents

Class file image Download
<?php

require_once("Host_conf.php");
require_once(
"mysql_conn.php");

$Conn = new MySQL_Conn();
$Conn->host = __HOST;
$Conn->user = __USER;
$Conn->pwd = __PASS;
$conn = $Conn->open_conn(); // we must save mysql resource connection on the var $conn
$Conn->select_db(__DB);


?>