当前位置: 首页>>代码示例>>PHP>>正文


PHP Logging::lfile方法代码示例

本文整理汇总了PHP中Logging::lfile方法的典型用法代码示例。如果您正苦于以下问题:PHP Logging::lfile方法的具体用法?PHP Logging::lfile怎么用?PHP Logging::lfile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Logging的用法示例。


在下文中一共展示了Logging::lfile方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: processAPI

 public function processAPI()
 {
     if ($this->sqlInjection($_SERVER['REQUEST_URI'])) {
         $log = new Logging();
         $log->lfile('/var/www/web1162/html/tankUp/log_error.txt');
         $log->lwrite("SQL_Injection?: " . $_SERVER['REQUEST_URI']);
         $log->lclose();
         return $this->_response("Unexpected Parameters", 400);
     }
     if ((int) method_exists($this, $this->endpoint) > 0) {
         return $this->_response($this->{$this->endpoint}($this->args));
     }
     return $this->_response("No Endpoint: {$this->endpoint}", 404);
 }
开发者ID:robertlange81,项目名称:Website,代码行数:14,代码来源:AbstractApi.php

示例2: GetDataByCoords

 public function GetDataByCoords($article, $distance, $sortBy, location $coords)
 {
     try {
         $log = new Logging();
         $log->lfile('/var/www/web1162/html/tankUp/log_debug.txt');
         $log->lwrite($article . $distance . $sortBy . $coords->latitude . $coords->longitude);
         $log->lclose();
         $param = new GetDataByCoordsRequest($article, $distance, $coords, $sortBy);
         $response = $this->__construct()->__soapCall("getDataByCoords", array($param));
         return $response->petrolStation;
     } catch (Exception $e) {
         // Umwandlung Soap-Exception zu HTTP
         return $e;
     }
 }
开发者ID:robertlange81,项目名称:Website,代码行数:15,代码来源:soapclient.php

示例3: run

 public function run()
 {
     $log = new Logging();
     //        $parenClass = new ParentClass();
     // set path and name of log file (optional)
     $log->lfile('log.txt');
     $json = file_get_contents('php://input');
     $log->lwrite("post: " . $json);
     $update = new Update($json);
     $message = $update->getMessage();
     $chat = $message->getChat();
     $chat_id = $chat->getId();
     $text = $message->getText();
     $client = new Client();
     $client->sendMessage($chat_id, $text, null, null, null);
     $client->sendLocation($chat_id, 53.480759, -2.242631, null, null);
     $client->sendPhoto($chat_id, 'pic.jpg', 'sweety', null, null);
     $log->lclose();
 }
开发者ID:raniongolu,项目名称:Telegram-Bot-Client,代码行数:19,代码来源:index.php

示例4: Logging

<?php

require "logclass.php";
// Logging class initialization
$log = new Logging();
// set path and name of log file (optional)
$log->lfile('mylog.txt');
// write message to the log file
$log->lwrite('cron executed');
// close log file
$log->lclose();
mail("thenitaum@gmail.com", "testing cron", date("y-m-d h:i:s"));
开发者ID:alexkaufman06,项目名称:siteassets,代码行数:12,代码来源:test.php

示例5: DateTimeZone

require_once "GpsFix.php";
require_once "Staypoint.php";
require_once "request_tools.php";
require_once "Logging.php";
if (isset($_POST['createTrajectory'])) {
    $min_time = $_POST["minTime"];
    // In milliseconds
    $max_time = $_POST["maxTime"];
    // In milliseconds
    $min_distance = $_POST["minDistance"];
    // In meters
    $time_zone = new DateTimeZone("America/Mexico_City");
    $date_now = new DateTime("now", $time_zone);
    $converted_date = $date_now->format('Y-m-d H:i:s');
    $log = new Logging();
    $log->lfile('logs/mylogTrajectory.txt');
    $log->lwrite("fecha es: " . $converted_date);
    insert_new_trajectory($converted_date, $converted_date, $min_distance, $min_time, $max_time);
    echo "trajOk";
} else {
    $last_trajectory = get_last_trajectory();
    $min_time = $last_trajectory["minTime"];
    $max_time = $last_trajectory["maxTime"];
    $min_distance = $last_trajectory["minDistance"];
    $ml = new MontoliouLive($min_time, $max_time, $min_distance);
    if (!isset($_POST['lastPart'])) {
        if (validate_fix_input()) {
            $fix = GpsFix::create_fix_from_parameters();
            $stay_point = $ml->process_fix($fix);
            if ($stay_point != null) {
                echo $stay_point;
开发者ID:s0lver,项目名称:ServerSide-LocalPOI-Experiment,代码行数:31,代码来源:uploadFixMontoliou.php

示例6: zway_dump

	1. Read a configuration from file
	2. Store a configuration to file
	3. List the skin files in config
	
NOTE:
	Start initiating the database by executing: http://localhost/kaku/backend_sql.php?init=1
	this will initialize the MySQL database as defined below in init_dbase()
	
	======================================================================================	*/
$debug = 1;
$time_now = time();
// Time NOW at this moment of calling
$time_start = $time_now - 24 * 60 * 60;
// Time a day ago
$log = new Logging();
$log->lfile($log_dir . '/zway_daemon.log');
$log->lwrite("\n\n---------------------------------- STARTING ZWAVE DAEMON -----------------------------------");
$apperr = "";
$appmsg = "";
// ----------------------------------------------------------------------------------------
// ZWAY_DUMP
//
// Default is to dump all devices. $dev is for later optional use
function zway_dump($ch, $dev)
{
    global $time_start;
    global $debug;
    curl_setopt_array($ch, array(CURLOPT_URL => 'http://192.168.2.52:8083/ZWaveAPI/Data/' . $time_start, CURLOPT_RETURNTRANSFER => true));
    $output = curl_exec($ch);
    if ($output === false) {
        if ($debug >= 2) {
开发者ID:RobQuistNL,项目名称:LamPI-2.0,代码行数:31,代码来源:test_zwave.php

示例7: time

    $setTo = "leancode+" . time() . "@gmail.com";
    echo $setSubject . "<br>";
    //	$setReturnPath = "bounce@oktick-beta.co.uk";
    //	$setFrom = $setReplyTo = $setSender = array('info@oktick-beta.co.uk' => 'OKTicK Search Ltd');
    //	foreach ( $setFrom as $fromAddress => $fromName);
}
// initialise the dkim
$privateKey = get_private_key();
// Generated one as the paired public key is set in DNS
$selector = 'default';
//$signer = Swift_Signers_DKIMSigner::newInstance($privateKey, $domain, $selector)
$signer = new Swift_Signers_DKIMSigner($privateKey, MAILHOST, $selector);
$signer->setBodyCanon('relaxed')->ignoreHeader('Return-Path')->setHeaderCanon('relaxed')->setHashAlgorithm('rsa-sha1');
// make sure we are on the right domain for the links in the message
$log = new Logging();
$log->lfile('/home/oktick-beta/email.log');
// set path and name of log file (optional)
/*
$log->lwrite("setReturnPath($setReturnPath)");
$log->lwrite("setSubject($setSubject)");
$log->lwrite("setFrom($fromAddress, $fromName)");
$log->lwrite("setTo($setTo)");
//$log->lwrite("setBody($html)");
//$log->lwrite("addPart($text)");
$log->lwrite("setId($setId)");
$log->lwrite("setReplyTo($setReplyTo)");
$log->lwrite("setSender($setSender)");
*/
//	Create the message
$message = Swift_Message::newInstance()->setDate(time())->setReturnPath($setReturnPath)->setSubject($setSubject)->setFrom($setFrom)->setTo($setTo)->setBody($html, 'text/html')->addPart($text, 'text/plain')->setId($setId)->setReplyTo($setReplyTo)->setSender($setSender)->setPriority(3)->attachSigner($signer);
$mxs = get_mx_records_sorted($setTo);
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:api.php

示例8: ucfirst

    $content .= '"Day ' . $arr['day'] . ': ' . ucfirst($arr['read']) . '",';
    $content .= date_format($date, "m/d/Y") . ',';
    $content .= 'true,';
    $content .= '"READ: ' . ucfirst($arr['read']) . ' PRAY: ' . ucfirst($arr['meditation']);
    if (array_key_exists('video', $arr)) {
        $content .= ' WATCH: ' . ucfirst($arr['video']);
    }
    $content .= ' http://bible.sograce.org/#/' . $arr['day'] . '/1"';
    return $content;
}
$jsonLocation = "../js/plan_tbp.json";
$milliseconds = round(microtime(true) * 1000);
$fileName = 'calendar_' . $milliseconds . '.csv';
//we'll just use the logging class, since i have it handy
$log = new Logging();
$log->lfile($fileName);
//read in the json
$string = file_get_contents($jsonLocation);
$json_a = json_decode($string, true);
//lets create th initial start date
$seedDate = date_create("2016-01-01");
//create the initial header file
$log->lwrite('Subject,Start Date,All Day Event,Description');
foreach ($json_a as $v) {
    if (!empty($v)) {
        $cLine = createCalendarLine($v, $seedDate);
        $log->lwrite($cLine, false);
        //increase date
        date_add($seedDate, date_interval_create_from_date_string("1 day"));
    }
}
开发者ID:macgngsta,项目名称:biblehelper,代码行数:31,代码来源:generateCal.php

示例9: die

if (!$con) {
    die('Could not connect: ' . mysql_error());
}
$db = mysql_select_db("magento", $con);
if (!$db) {
    echo "cant select database";
}
//************************ SET STATUS for API ***********************************//
// $apiMode = "live" or "test"
$apiMode = "test";
//******************************************************************************//
$config_info = parse_ini_file('/var/www/html/magento/paGateway/paGateway.ini', true);
include "/var/etl/bin/includes/logging.php";
// Logging class initialization
$log = new Logging();
$log->lfile('/var/log/paGateway/paGateway_test.log');
$log->lwrite("Script STARTED.\r\n");
//External script - Load magento framework
require_once "/var/www/html/magento/app/Mage.php";
Mage::app();
//construct paAPI class
require_once '/var/www/html/magento/paGateway/paAPI.php';
$paOrder = new paAPI();
$myOrder = Mage::getModel('sales/order');
// print_r($myOrder);
$orders = Mage::getModel('sales/mysql4_order_collection');
// print_r($orders);
$now = date('Y.m.d \\: h:m:s');
$to = $config_info['email']['to'];
$uid = $config_info['login']['uid'];
$pass = $config_info['login']['pass'];
开发者ID:naz-ahmed,项目名称:ndap-magento-mirror,代码行数:31,代码来源:paGateway_test_20120418.php

示例10: Logging

//
//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.
//
//    You should have received a copy of the GNU General Public License
//    along with LamPI.  If not, see <http://www.gnu.org/licenses/>.
//
//
$log = new Logging();
$logfile = '/home/pi/log/EnerPI.log';
$log->lfile($logfile);
$log->lwrite("Starting energy.php script. __ROOT__ is " . __ROOT__);
$apperr = "";
// Global Error. Just append something and it will be sent back
$appmsg = "";
// Application Message (returned from backend to Client)
$graphAction = "";
// Must be "graph" only initially
$graphType = "";
// T emperature, H umidity, P airPressure
$graphPeriod = "";
// 1d 1w 1m 1y
$graphSensors = array();
// List of sensor values we like to graph
// ----------------------------------------------------------------------------
// MAKE GRAPH
开发者ID:RobQuistNL,项目名称:LamPI-2.0,代码行数:31,代码来源:energy.php

示例11: getDataByCoordsRPC

function getDataByCoordsRPC(GetDataByCoordsRequest $reqt)
{
    $response = null;
    $lat;
    $lon;
    $art;
    $umkreis;
    $sortieren;
    try {
        $loc = $reqt->location;
        $lat = $loc->latitude;
        $lon = $loc->longitude;
        $art = $reqt->article;
        $umkreis = $reqt->distance;
        $sortieren = $reqt->sortBy;
    } catch (SoapFault $fault) {
        return new SoapFault("Server", "Error converting GetDataByCoordsRequest : " . $fault);
    }
    if ($log == null) {
        $log = new Logging();
    }
    $log->lfile('/var/www/web1162/html/tankUp/log_debug.txt');
    $log->lwrite("Aufruf getDataByCoord mit Artikel " . $reqt->article . " , Umkreis: " . $reqt->distance . " , Sortieren nach: " . $reqt->sortBy . " , Long: " . $lon . " , Lat: " . $lat . ".");
    $log->lclose();
    $db_id = mysql_connect("localhost", "web1162", "bX2KARTc");
    if (!$db_id) {
        die("Verbindungsaufbau ist gescheitert");
    }
    // mysql_query("use usr_web_1162_3");
    $db_sel = mysql_select_db("usr_web1162_3", $db_id);
    if (!$db_sel) {
        // close log file
        $log->lclose();
        die('Kann Datenbank nicht benutzen : ' . mysql_error());
    }
    mysql_query("SET names 'utf8'");
    mysql_query("SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'", $db_id);
    try {
        $priceRecords = null;
        $basequery = "select distinct TIME_FORMAT(ot.startTimeOfPeriod,'%H:%i') as ab, TIME_FORMAT(ot.endTimeOfPeriod,'%H:%i') as bis,\n    \t\t\t\t\t\t\t\t\t\t\t\t\t(select CASE WHEN CURRENT_TIME BETWEEN ot.startTimeOfPeriod\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAND ot.endTimeOfPeriod\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthen 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\telse 0\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tend\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) as open,\n    \t\t\t\t\t\t\t\t\t\t\t\t\t" . $art . " , a.id, a.petrolStationBrand, a.petrolStationStreet, a.petrolStationHouseNumber, a.petrolStationPostcode, a.petrolStationPlace, a.petrolStationVersionTime, a.longitude as AnbietGPSLaenge, a.latitude as AnbietGPSBreite, ACOS( SIN( RADIANS( a.latitude ) ) * SIN( RADIANS( '{$lat}' ) ) + COS( RADIANS( a.latitude ) ) * COS( RADIANS( '{$lat}' ) ) * COS( RADIANS( a.longitude ) - RADIANS( '{$lon}' ) ) ) *6380 AS 'distance'\n\t\t\t\t\t\t\t\t\t\t \n\t \t\t\t\t\t\t\t\t\t\t\t\t\tfrom ( select Max(`version`) as newest \n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom `fuelPrice` \n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgroup by `id` ) plNewest, \n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t`fuelPrice` pl, `petrolStation` a, `openingTimes` ot\n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\twhere a.latitude > '{$lat}' - 0.4\n\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\tAND a.latitude < '{$lat}' + 0.4\n\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\tAND a.longitude > '{$lon}' - 0.4\n\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\tAND a.longitude < '{$lon}' + 0.4\n\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\tand pl.`version` = plNewest.newest\n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tand a.`id` = pl.`id` \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tand ot.applicableDay = (SELECT DAYNAME( CURDATE( ) ) )\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tand ot.fid = a.id\n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tand " . $art . " > 0 \t\n\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\thaving distance < '{$umkreis}' ";
        if (strpos($sortieren, 'preis') !== false) {
            $priceRecords = mysql_query($basequery . " order by {$art}, distance limit 7");
        } else {
            if (strpos($sortieren, 'distanz') !== false) {
                $priceRecords = mysql_query($basequery . " order by distance limit 7");
            } else {
                $priceRecords = mysql_query($basequery . " order by distance limit 7");
            }
        }
        $petrolStationList = array();
        if (mysql_num_rows($priceRecords) >= 1) {
            /* Tankstelle ermitteln */
            while ($aktZeile = mysql_fetch_assoc($priceRecords)) {
                $location = new location($aktZeile['AnbietGPSBreite'], $aktZeile['AnbietGPSLaenge']);
                $address = new address($aktZeile['petrolStationStreet'], $aktZeile['petrolStationHouseNumber'], $aktZeile['petrolStationPostcode'], $aktZeile['petrolStationPlace']);
                $petrolStation = new petrolStation($aktZeile['id'], $aktZeile['petrolStationBrand'], $aktZeile['open'], $aktZeile['ab'], $aktZeile['bis'], $location, $aktZeile[$art], $address, $aktZeile['petrolStationVersionTime'], $aktZeile['distance']);
                array_push($petrolStationList, $petrolStation);
            }
        }
    } catch (SoapFault $fault) {
        return new SoapFault("Server", "Error reading town by coord. " . $fault);
    }
    return new GetDataByCoordsResponse($petrolStationList);
}
开发者ID:robertlange81,项目名称:Website,代码行数:64,代码来源:soapserverRPC.php

示例12: Logging

$ret = 0;
set_time_limit(0);
// NO execution time limit imposed
ob_implicit_flush();
$log = new Logging();
// Logging class initialization, maybe init at declaration
$sensor = new Sensor();
// Weather Log
$queue = new Queue();
$sock = new Sock();
$dlist = new Device();
// Class for handling of device specific commands
$wthr = new Weather();
// Class for Weather handling in database
// set path and name of log file (optional)
$log->lfile($log_dir . '/LamPI-daemon.log');
$log->lwrite("-------------- STARTING DAEMON ----------------------");
sleep(2);
// Open the SQL handler to the mysql daemon
$pisql = new mysqli($dbhost, $dbuser, $dbpass, $dbname);
if ($pisql->connect_errno) {
    $log->lwrite("LamPI-daemon:: Failed to connect to MySQL: (" . $pisql->connect_errno . ") " . $pisql->connect_error, 1);
    exit(1);
}
// Some variables that are probably (re)set by get_parse();
$doinit = false;
$doreset = false;
$dofile = "";
// Parse the comamndline (starting) for commandparameters
// 1. Parse the URL sent by client (not working, but could restart itself later version)
// XXX Need to adapt get_parse to also read URL-like (should that be necessary)
开发者ID:RobQuistNL,项目名称:LamPI-2.0,代码行数:31,代码来源:LamPI-daemon.php

示例13: Logging

<?php

ini_set('display_errors', 1);
error_reporting(E_ALL);
include "/var/etl/bin/includes/logging.php";
include "/var/etl/bin/includes/functions.php";
// Logging class initialization
$log = new Logging();
$log->lfile('test.txt');
$log->lwrite("Script STARTED.\r\n");
$unwanted_array = array('Š' => 'S', 'š' => 's', 'Ş' => 'S', 'ş' => 's', 'Ž' => 'Z', 'ž' => 'z', 'À' => 'A', 'Á' => 'A', 'Â' => 'A', 'Ã' => 'A', 'Ä' => 'A', 'Å' => 'A', 'Å' => 'A', 'Æ' => 'A', 'Ç' => 'C', 'È' => 'E', 'É' => 'E', 'Ê' => 'E', 'Ë' => 'E', 'Ì' => 'I', 'Í' => 'I', 'Î' => 'I', 'Ï' => 'I', 'Ñ' => 'N', 'Ò' => 'O', 'Ó' => 'O', 'Ô' => 'O', 'Õ' => 'O', 'Ö' => 'O', 'Ø' => 'O', 'Ù' => 'U', 'Ú' => 'U', 'Û' => 'U', 'Ü' => 'U', 'Ű' => 'U', 'Ý' => 'Y', 'Þ' => 'B', 'ß' => 'Ss', 'à' => 'a', 'á' => 'a', 'â' => 'a', 'ã' => 'a', 'ä' => 'a', 'å' => 'a', 'æ' => 'a', 'ç' => 'c', 'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e', 'ì' => 'i', 'í' => 'i', 'î' => 'i', 'ï' => 'i', 'ı' => 'i', 'ð' => 'o', 'ñ' => 'n', 'ò' => 'o', 'ó' => 'o', 'ô' => 'o', 'õ' => 'o', 'ö' => 'o', 'ø' => 'o', 'ù' => 'u', 'ú' => 'u', 'û' => 'u', 'ű' => 'u', 'ü' => 'u', 'ý' => 'y', 'ý' => 'y', 'þ' => 'b', 'ÿ' => 'y', 'º' => '*', 'ż' => 'z');
$log->lwrite(print_r($unwanted_array));
// comment
开发者ID:naz-ahmed,项目名称:ndap-magento-mirror,代码行数:13,代码来源:test.php

示例14: zway_dump

$daemonIP = "192.168.2.53";
// XXX We should make this dynamic. IP of our LamPI-daemon
$noError = true;
$curl_errs = 0;
// Count the number of curl errors
$curl_msgs = 0;
$time_now = time();
// Time NOW at this moment of calling
// ----------------------------------------------------------------------------------------
//  ZWAY CONFIGURATIONS
//
$zway_dev = array();
$zway_rules = array('id' => 1, 'dev' => 9, 'gui_inValid' => 3, 'rules' => "");
$zway_val = "";
$log = new Logging();
$log->lfile($log_dir . '/LamPI-gate.log');
$log->lwrite("\n\n---------------------------------- STARTING ZWAVE DAEMON -----------------------------------");
$apperr = "";
// Global Error. Just append something and it will be sent back
$appmsg = "";
// Application Message (from backend to Client)
// ----------------------------------------------------------------------------------------
// ZWAY_DUMP
//
// Default is to dump all devices. $tim is for later optional use
//
function zway_dump($ch, $tim)
{
    // global $time_start;
    global $razberry;
    global $debug;
开发者ID:RobQuistNL,项目名称:LamPI-2.0,代码行数:31,代码来源:LamPI-gate.php

示例15: getStatus

<?php

//Error reporting
ini_set('display_errors', 1);
error_reporting(E_ALL);
include "/var/www/html/magento/paGateway/includes/conn.php";
include "/var/etl/bin/includes/logging.php";
include "/var/etl/bin/includes/database_functions.php";
include "/var/etl/bin/includes/functions.php";
// Logging class initialization
$log = new Logging();
$log->lfile('/var/log/paGateway/pag_update_shipping.log');
$log->lwrite("starting file. \r\n");
// **************************************** SCRIPT MODE ***************************************************************/
// set to test so that magento status is not set to complete. no way to move from complete back to processing         */
$scriptMode = "live";
$config_info = parse_ini_file('/var/www/html/magento/paGateway/paGateway.ini', true);
$now = date('Y.m.d \\: h:m:s');
$to = $config_info['email']['to'];
$db = mysql_select_db($config_info['db_info']['db_selected'], $con);
if (!$db) {
    echo "cant select database";
}
//load paAPI
require_once "/var/www/html/magento/paGateway/paOrder.php";
function getStatus($orderId)
{
    $config_info = parse_ini_file('/var/www/html/magento/paGateway/paGateway.ini', true);
    $uid = $config_info['login']['uid'];
    $pass = $config_info['login']['pass'];
    // PO Number entered via API. Use Magento Invoice ID.
开发者ID:naz-ahmed,项目名称:ndap-magento-mirror,代码行数:31,代码来源:pag_update_shipping.php


注:本文中的Logging::lfile方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。