Skip to content

dbgarlisch/GlyphClientPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlyphClientPHP

PHP implementation of a client which communicates with the Pointwise Glyph Server.

Example usage:

<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');

require_once 'GlyphClient.php';
use Pointwise as pw; // make pw an alias for the Pointwise namespace

$glf = new pw\GlyphClient(); // Pointwise\GlyphClient() also works
if ($glf->connect()) {
    $result = $glf->cmd("pw::Application getVersion");
    print "Pointwise version is " . $result . "\n";
}
else if ($glf->is_busy()) {
    print "Pointwise is busy\n";
}
else if ($glf->auth_failed()) {
    print "Pointwise connection not authenticated\n";
}
else {
    print "Pointwise connection failed\n";
}
?>

About

PHP Glyph Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published