<?php
if  ($_GET['token']<>""){
  header('Location: https://e1.pcloud.link/publink/show?code=' & $_GET['token']);
    exit();
}else{
  ?>
  <html>
    <h1>Impossible de trouver le code</h1>
    <form action="">
      <div>CODE: 
        <input name="token" type="text">
        <button type="submit">VALIDER</button>
      </div>
    </form>


  </html>
  <?php
}