XCP Fractal Checksum (REST Services API) v1.0.7 -- VCF5 Project

This API utilises the XCP Fractal Checksum libraries; it allows you to specify via a form, any number of options to do with the XCP checksum and will return a result in: PHP, Serial, JSON + XML!

Code API Documentation

You can find the phpDocumentor code API documentation at the following path :: https://vcf5.sourceforge.io/xcp/docs/. These should outline the source code core functions and classes for the API to function!

CALC Document Output

This is done with the calc.api extension at the end of the url, you replace the example address with either a domain!

    

 

 

 
 

This the HTML Code surrounding the api call

    <form name='calc-xcp' method="POST" enctype="multipart/form-data" action="https://vcf5.sourceforge.io/xcp/calc.php">
	<table class='calc-xcp' id='calc-xcp' style='vertical-align: top !important; min-width: 98%;'>
		<tr>
			<td style='width: 320px;'>
				<label for='precision'>Decimal Precision:&nbsp;<font style='color: rgb(250,0,0); font-size: 139%; font-weight: bold'>*</font></label>
			</td>
			<td>
				<input type='textbox' name='precision' id='precision' size='6' maxlen='4' value='14'/>&nbsp;&nbsp;
			</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td style='width: 320px;'>
				<label for='seed'>XCP Seed (0-255):&nbsp;<font style='color: rgb(250,0,0); font-size: 139%; font-weight: bold'>*</font></label>
			</td>
			<td>
				<input type='textbox' name='seed' id='seed'  size='6' maxlen='3' value='251'/><br/>
			</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td style='width: 320px;'>
				<label for='limit'>XCP Limit (1-xxxxxx):&nbsp;<font style='color: rgb(250,0,0); font-size: 139%; font-weight: bold'>*</font></label>
			</td>
			<td>
				<input type='textbox' name='limit' id='limit' size='8' maxlen='6' value='24'/><br/>
			</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td style='width: 320px;'>
				<label for='value'>Data to Checksum:&nbsp;<font style='color: rgb(250,0,0); font-size: 139%; font-weight: bold'>*</font></label>
			</td>
			<td>
				<textarea name='value' id='value' value='' rows='11' cols='32'></textarea><br/>
			</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
				<label for='format'>Output Format:&nbsp;<font style='color: rgb(250,0,0); font-size: 139%; font-weight: bold'>*</font></label>
			</td>
			<td style='width: 320px;'>
				<select name='format' id='format'/>
					<option value='raw'>RAW PHP Output</option>
					<option value='json' selected='selected'>JSON Output</option>
					<option value='serial'>Serialisation Output</option>
					<option value='xml'>XML Output</option>
				</select>
			</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td colspan='3' style='padding-left:64px;'>
				<input type='hidden' value='calc' name='mode'>
				<input type='submit' value='Get XCP Checksum' name='submit' style='padding:11px; font-size:122%;'>
			</td>
		</tr>
		<tr>
	</table>
</form>    

CALC Document Output

Source code example of the XCP Fractal Checksum for the calc.api extension at the end of the url, can be found in two locations they are:~ XCP Fractal Checksum (On Github.com) or XCP Fractal Checksum (On Sourceforge.net); if you have any queries please forward them on to the author Dr. Simon A. Roberts at: wishcraft@users.sourceforge.net !