internetprogrammierung/php/generateLink.php

12 lines
240 B
PHP
Raw Normal View History

2018-05-26 14:33:15 +02:00
<?php
$uniqueID = uniqid();
$resultStr = "Neuer eintrag über: http://localhost/github/ipr-projekt/entry.php?tan=";
$resultStr = $resultStr . uniqid();
$HTMLJSON = array('html' => $resultStr);
echo json_encode($HTMLJSON);
?>