Search found 2 matches

by handro1104
Tue Jan 13, 2015 12:20 pm
Forum: Miscellaneous
Topic: Problem validating XML
Replies: 1
Views: 19243

Problem validating XML

$xml = new DOMDocument (); $xml->load ( $xmlFilePatht ); if (! $xml->schemaValidate ( $xmlSchema )) { echo basename($xmlFilePath) . " is invalid according to " . basename($xmlSchema) . " the errors are:" . PHP_EOL; $errors = libxml_get_errors (); foreach ( $errors as $error ) { ...
by handro1104
Tue Feb 26, 2013 2:06 pm
Forum: Databases
Topic: Can't access a DB2 database
Replies: 1
Views: 2305

Can't access a DB2 database

I am trying a DSN-less connection
$DBNAME = 'DRIVER={IBM DB2 ODBC DRIVER};SERVER=sluggo.draper.com:5030;DATABASE=xxxx;';
$CONNECTION = odbc_connect ($DBNAME, $DBUSER, $DBPASSWD);
but I am getting a FALSE value.

Your help will be greatly appreciated.