PHP Classes

File: proto.php

Recommend this page to a friend!
  Classes of Karl Holz   Proto Rewired   proto.php   Download  
File: proto.php
Role: Example script
Content type: text/plain
Description: shell script
Class: Proto Rewired
Fix Adobe Proto's malformed XHTML 5 documents
Author: By
Last change: Update of proto.php
Date: 1 year ago
Size: 481 bytes


Class file image Download
require_once 'ProtoFixer.php';

if (
$argc != 2 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) {

This is a command line PHP script with one option.

  <?php echo $argv[0].' <file>'; ?>

  <?php echo '<file>'; ?> is a file you emailed from Proto.
  With the --help, -help, -h, or -? options, you can get this help.
} else {
$p = new ProtoRewired($file);