Reply to connecting to a DB

Your name:

Reply:


Posted by Kevin Raleigh on 05/27/07 04:11

I have this DB connection code from the book

<?php
$connection = mysql_connect("localhost", "raleigh", "1111") or die
("Couldn't connect to the server.");
$db = mysql_select_db("secretDB", $connection) or die ("couldn't selcet
database.");

?>

When I run it I get the following errors

CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:


PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_oci8.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_pdo_oci.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_pdo_oci8.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php

I was missing one of the .dll libraries so I reran the PHP setup and loaded
everything that it came with.
The above is the end result

Would appreciate any insight that you can provide
Kevin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация