🏖️ Summer Update: Retro cleanup, QOL, optimized JPEG output
This commit is contained in:
parent
7c6a3f7bc4
commit
cb3ccd80c0
6 changed files with 421 additions and 392 deletions
28
loading.php
Normal file
28
loading.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
// loading.php
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Generating Image...</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
<body onload="document.forms[0].submit();">
|
||||
<h1>Generating Your Image...</h1>
|
||||
<p>Please wait. This may take up to 30 seconds depending on prompt complexity.</p>
|
||||
|
||||
<form method="post" action="generate.php">
|
||||
<?php
|
||||
foreach ($_POST as $key => $value):
|
||||
$safeKey = htmlspecialchars($key, ENT_QUOTES);
|
||||
$safeValue = htmlspecialchars($value, ENT_QUOTES);
|
||||
?>
|
||||
<input type="hidden" name="<?php echo $safeKey; ?>" value="<?php echo $safeValue; ?>">
|
||||
<?php endforeach; ?>
|
||||
<noscript>
|
||||
<p><input type="submit" value="Click here if not redirected."></p>
|
||||
</noscript>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue