This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $url = "http://common1.frankeni.com:58700/cgi-bin/xmlcgi.pgm"; | |
$uid = ''; | |
$pwd = ''; | |
$url = 'http://10.230.18.10/cgi-bin/xmlcgi.pgm'; | |
$ixml = "<?xml version='1.0' encoding='UTF-8' ?>\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$UID = ''; | |
$PWD = ''; | |
$dsn = "odbc:Driver={IBM i Access ODBC Driver 64-bit};SYSTEM={IP_ADDRESS};PORT=50000;UID=$UID;PWD=$PWD;"; | |
$pdo = new \PDO($dsn); | |
$sql = 'SELECT * FROM XXXX LIMIT 10'; | |
foreach ($pdo->query($sql) as $row) { | |
print_r($row); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Zend Framework | |
* | |
* LICENSE | |
* | |
* This source file is subject to the new BSD license that is bundled | |
* with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: |